[ncl-talk] Reading variable from large NetCDF file

Alan Brammer abrammer at albany.edu
Fri May 15 18:58:29 MDT 2015


​Hi Dave,

This "fatal" error ​popped up quite a bit on some of the archives I
created.  Worked out it's due to variables having attributes the same name
as dimensions (time) in your case.

  float v ( time, lev, lat, lon )
         _ChunkSize : ( 1, 1, 256, 512 )
         forecast_time_units : hours
         forecast_time : 0
         parameter_number : 132
         parameter_table_version : 128
         gds_grid_type : 4
         level_indicator : 100
         units : m s**-1
         long_name : V velocity
         center : European Center for Medium-Range Weather Forecasts (RSMC)
        * time : 1664748*
         _FillValue : 1e+20

When you read in S, because you only read 1 time, ncl attached that time as
an attribute.

I'd either go through and delete v at time from the new netcdf or delete S at time
early on in your creation snippet.


~Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150515/4d1cb202/attachment.html 


More information about the ncl-talk mailing list