This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Charlie, Last November, you wrote: > Thank you for your quick response, Dennis. > Following your suggestion does not work for me > with the latest ncgen snapshots, yet does work > with some earlier versions of ncgen. > Error with today's snapshot: > > zender@givre:~$ ncgen -v > netcdf library version 4.3.1-rc4 of Nov 18 2013 12:40:08 $ > > zender@givre:~$ ncgen -k netCDF-4 -b -o ~/bug.nc ~/bug.cdl > Bad octal constant: \1g Using your example file, this seems to be fixed in netCDF C versions after 4.3.1, including 4.3.1.1 released in Feb 2014 and 4.3.2 released in April 2014. So I'll close this ticket unless I hear otherwise from you. Thanks! --Russ > On 11/18/2013 12:29 PM, Unidata netCDF Support wrote: > > An identifier with a leading digit > > is allowed, but the leading digit > > must be escaped. So in your example > > change 1g -> \1g > > > > > > =Dennis Heimbigner > > Unidata > > > > > > Ticket Details > > =================== > > Ticket ID: TLO-836022 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > -- > Charlie Zender, Earth System Sci. & Computer Sci. > University of California, Irvine 949-891-2429 )'( > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: TLO-836022 Department: Support netCDF Priority: Critical Status: Closed