[gradsusr] combine

Andrew Friedman andfried at berkeley.edu
Sat Dec 21 14:11:37 EST 2013


Hi Fereshte,

The NCO command ncks can extract variables:
http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink

Andrew

On Dec 21, 2013, at 2:32 AM, fereshteh komijani <fereshtehkomijani at gmail.com> wrote:

> 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




More information about the gradsusr mailing list