NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] dim sizes with ncgen

Hi Guys,
I'm guessing you are already aware of this bug.
Basically the problem is that when using "ngen" to create ntecdf4 files. ( ncgen -k hdf5 )
The  maximum value  for a  dimension   is   NC_MAX_UINT  (2^32-1).

See file below I've been experimenting with


Regards Henry


netcdf sct {
dimensions:
lat=2;
lon=2;

big_max_uint=4294967295;  //works
big_max_flt=4e9;          //works

//big_max_uint33=8589934591; //big_max_int60=1152921504606846976;
//big_max_int64=9223372036854775807;

variables:

float wbl_pwr(lat, lon) ;

data:

wbl_pwr= 2.,3.,4.,5.;
}



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: