[gradsusr] combining netcdf files as single file

Jayakrishnan P.R prjayakrishnan at gmail.com
Tue Dec 9 23:54:43 EST 2014


If you use linux, then using CDO or NCO you can combine these files easily.

https://www.unidata.ucar.edu/software/netcdf/workshops/2012/third_party/CDO.html

http://nco.sourceforge.net/


Sincerely
***********************************************
Jayakrishnan.P.R
Project Scientist-C
National Centre for Medium Range Weather Forecasting
Earth System Science Organisation
Ministry of Earth Sciences
A-50, Sector 62, NOIDA -201 309, INDIA
Mob: 09496026547
Alternate Email: jkrishna at ncmrwf.gov.in

***********************************************

On Wed, Dec 10, 2014 at 10:10 AM, PHILBERT LUHUNGA <philuhunga at yahoo.com>
wrote:

>  Hi every one. I have 10 netcdf files, with data having different time
> span. Example file A have data from 1970-1975, file B have data for
> 1976-1980, file C 1981-1986, ...., to file Z  with 2000-2005
> I would like to have single file with time span 1970-2005, and display the
> variables from 1970-2005.
> I have tried one trick but failed
> I wrote
> 'sdfopen A.nc'
> 'sdfopen B.nc'
> 'sdfopen C.nc'
> 'set t 1 last'
> 'd precip'
> the script display precipitation data for file A only. I there any method
> where I can combine the files and display the variable for the entire time
> span???
> I am using windows,
>
> AS EVER
> LUHUNGA
>
> --------------------
> Philbert Modest Luhunga
> University of Pretoria
> Department of Geography,Geoinformatics and Meteorology
> Private Bag X20 Hatfield 0028 South Africa
> Tel +27 (0) 12 420 5164
> Fax +27 (0) 12 420 6385
> Mobile:+ 27826228060
> Email address: philuhunga at yahoo.com
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141210/8de158b3/attachment.html 


More information about the gradsusr mailing list