[ncl-talk] reading in netCDF4Classic data where time is UNLIMITED but not leading dimension
Mark.Collier at csiro.au
Mark.Collier at csiro.au
Wed Jan 20 20:15:38 MST 2016
Hi
I have a set of netCDF files that I would like to process using the addfiles function, however, when time is UNLIMITED but not the leading dimension NCL wants to create a data object with a concatenated leading dimension. I have tried various setfileoption approaches without success. Of course I could rewrite the data with time first, but I am sharing the data with someone who needs it written this way.
I’m using ncl/6.3.0 and
uname -a
Linux raijin4 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
A ncdump on the first input file gives:
netcdf ocean_daily_sst_070101-070112_e1-5 {
dimensions:
time = UNLIMITED ; // (365 currently)
yt_ocean = 300 ;
xt_ocean = 360 ;
ensemble = 5 ;
nv = 2 ;
variables:
float sst(ensemble, time, yt_ocean, xt_ocean) ;
...
Thanks for any advice/solutions,
Mark.
More information about the ncl-talk
mailing list