[gradsusr] combine

fereshteh komijani fereshtehkomijani at gmail.com
Sun Dec 22 02:47:34 EST 2013


dear
also i have one netcdf with 3 dimension variables (x,y,time).
i want to remove some time step from that netcdf file (for example first
time).
would you please if there is any command guide me
many many thanks in advance for your reply
all the best
fereshte


On Sun, Dec 22, 2013 at 10:54 AM, fereshteh komijani <
fereshtehkomijani at gmail.com> wrote:

> thank you so much
> cheers
> fereshte
>
>
>
> On Sun, Dec 22, 2013 at 6:39 AM, Renalda El-Samra (Student) <
> rse28 at mail.aub.edu> wrote:
>
>>  Hi
>> you can use
>>
>>  cdo selvar,<variable_name>  <input_file> <output_file>
>>
>>  Regards,
>>
>>  *Renalda *
>>
>>
>>
>>
>>   ------------------------------
>> *From:* gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] on
>> behalf of fereshteh komijani [fereshtehkomijani at gmail.com]
>> *Sent:* Saturday, December 21, 2013 12:32 PM
>> *To:* GrADS Users Forum
>> *Subject:* Re: [gradsusr] combine
>>
>>     Dear friends
>>  would you please guide me again to how i can remove one variable form
>> one netcdf files (which contains several variables).
>>  be come appreciate to receive commands appropriate for  CDO.
>>  cheers
>>  fereshte
>>
>>
>> On Sun, Dec 15, 2013 at 11:54 PM, Andrew Friedman <andfried at berkeley.edu>wrote:
>>
>>> You can also use the NCO command ncrcat , as described in the GrADS
>>> documentation of sdfwrite:
>>>
>>> http://www.iges.org/grads/gadoc/gadocindex.html
>>> http://nco.sourceforge.net/nco.html#ncrcat
>>>
>>> Andrew
>>>
>>> On Dec 15, 2013, at 6:20 AM, Roger Rodrigues Torres <
>>> roger.torres at cptec.inpe.br> wrote:
>>>
>>> > Dear Fereshte, great!
>>> > Mergetime is to combine different time-slices of the same variable.
>>> > Cheers,
>>> > Roger Torres
>>> >
>>> > Roger Rodrigues Torres
>>> > Professor Auxiliar I
>>> > Universidade Federal de Itajubá - Unifei
>>> > Instituto de Recursos Naturais - IRN
>>> > Curriculum Lattes: http://lattes.cnpq.br/5641165392004404
>>> > Webpage: http://rtorres.webnode.com.br
>>> >
>>> > 2013/12/15 fereshteh komijani <fereshtehkomijani at gmail.com>
>>> >
>>> > dear Roger
>>> > many many thanks. i was on wrong , i was used mergetime instead of
>>> merge command.
>>> > you help me so much
>>> > all the best
>>> > fereshte
>>> >
>>> >
>>> > On Sun, Dec 15, 2013 at 5:26 PM, Roger Rodrigues Torres <
>>> roger.torres at cptec.inpe.br> wrote:
>>> > Dear Fereshte,
>>> > one simple way to do this is using CDO (Climate Data Operators). It is
>>> a free package that you can find in the linux repositories.
>>> > Once CDO installed, just type in the terminal:
>>> > > cdo merge salinity.nc temperature.nc uwnd.nc vwnd.nc output-file.nc
>>> > Regards,
>>> > Roger Torres
>>> >
>>> > Roger Rodrigues Torres
>>> > Professor Auxiliar I
>>> > Universidade Federal de Itajubá - Unifei
>>> > Instituto de Recursos Naturais - IRN
>>> > Curriculum Lattes: http://lattes.cnpq.br/5641165392004404
>>> > Webpage: http://rtorres.webnode.com.br
>>> >
>>> >
>>> > 2013/12/15 fereshteh komijani <fereshtehkomijani at gmail.com>
>>> >
>>> > dear
>>> > i am a newbie. i have 4 netcdf files which all of them have same time
>>> steps (1460). but every one is for different variables (one for salinity,
>>> one for temperature and two of them for wind speed components). i should
>>> combine them in one netcdf file. it means that i should create one netcdf
>>> file for 1460 time step which has salinity, temperature and wind speed
>>> component. would you please guide me how i can do that. i have installed
>>> OCD and NCL.
>>> > cheers
>>> > fereshte
>>> > --
>>> > **Angel**
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > gradsusr mailing list
>>> > gradsusr at gradsusr.org
>>> > http://gradsusr.org/mailman/listinfo/gradsusr
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > gradsusr mailing list
>>> > gradsusr at gradsusr.org
>>> > http://gradsusr.org/mailman/listinfo/gradsusr
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > **Angel**
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > gradsusr mailing list
>>> > gradsusr at gradsusr.org
>>> > http://gradsusr.org/mailman/listinfo/gradsusr
>>> >
>>> >
>>> > _______________________________________________
>>> > gradsusr mailing list
>>> > gradsusr at gradsusr.org
>>> > http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>
>>
>>
>> --
>> ***Angel***
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> ***Angel***
>
>
>



-- 
***Angel***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131222/8048360a/attachment-0001.html 


More information about the gradsusr mailing list