The LL suffix means that the value should be interpreted as a signed long long integer (e.g. 64 bits). I cannot speak to the python interface, but ncgen should be able to handle the LL suffixes. My concern is that I gather you want the inferred type of these attributes to be a 32 bit signed integer rather than a 64 bit signed integer. I suspect this requires python-foo. > Hello netCDF and Python folks - > > Iâm trying to use the netCDF4 python module to write an empty but heavily > formatted set of netCDF files for submission as part of CMIP6. The script > Iâm using is on Github > (https://github.com/RobertPincus/RFMIP-IRF-Scripts/blob/master/generate-output-file-templates.py); > it requires a file you can find at > https://owncloud.gwdg.de/index.php/s/qzfgrHxgnIsNAMv. > > If you run the script youâll see that integer global attributes have a > trailing LL designation, e.g. > (CMOR) bash-3.2$ ncdump -h rld.nc | grep LL > :physics_index = 1LL ; > :realization_index = 1LL ; > :initialization_index = 1LL ; > :forcing_index = 1LL ; > > Iâm not sure what this means but I do not that if I ncdump the file, ncgen > will not create a valid netcdf file. Thatâs a worry. > > Youâll not that Iâve tried explicitly setting the type of the attribute > ("realization_index" :int(1). > > Can you tell me what it means for these attributes to be labeled âLLâ? Is > there a way to ensure that these values are recorded as straight ints? > --- > Robert Pincus > University of Colorado/NOAA Earth System Research Lab > http://cires.colorado.edu/researcher/robert-pincus > > =Dennis Heimbigner Unidata Ticket Details =================== Ticket ID: TQX-377690 Department: Support netCDF Priority: Normal Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.