[gradsusr] multiple variables in one netCDF

Don.VanDyke at noaa.gov Don.VanDyke at noaa.gov
Fri Sep 3 18:36:21 EDT 2010


Thanks Jennifer!  That particular utility seems to work well for me.

Don Van Dyke
NWS Tallahassee, FL

-------------------------------------
From: Jennifer Adams <jma at cola.iges.org>
To: GrADS Users Forum <gradsusr at gradsusr.org>
Sent: Fri, September 3, 2010 12:59:48 PM
Subject: Re: [gradsusr] multiple variables in one netCDF

The netcdf operator 'ncks' can do this with a simple one-line command: 
ncks -h -A file1.nc file2.nc

The -h option does not modify the global attribute 'history', the -A options means the variables in file1 are appended to file2. There is no need for me to write a whole lot of code in GrADS to do this when it is so easy with ncks. 
--Jennifer



More information about the gradsusr mailing list