[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #PNU-748333]: ncgen 4.4.0 fails to parse in.cdl...

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.


  • Subject: [netCDF #PNU-748333]: ncgen 4.4.0 fails to parse in.cdl...
  • Date: Fri, 13 Nov 2015 09:47:55 -0700

Hi Charlie,

Thanks for the bug report, and the sample file.  With the scope of changes made 
for 4.4.0 with the new file format support, this is the sort of thing I was 
worried might happen.  Thank you very much for testing the release candidates 
out, I will open a JIRA issue shortly and work on getting this resolved ASAP.

Thanks again, have a great day!

-Ward


> ncgen 4.3.3.1 works but 4.4.0 (today) fails to parse in.cdl.
> i think this has been broken for many weeks in 4.4.0.
> it seems possible that ncgen barfs when it encounters
> values affixed with "l" for long when generating netcdf3 files.
> however, i thought that bug had been fixed long ago and it
> was decided that "l" means int when referring to netCDF3 files
> for backwards compatibility to days when NC_LONG was the norm.
> or maybe it's a different issue entirely.
> file is attached.
> chokes on line 705...
> 
> zender@givre:~/nco/data$ ncgen -b -o in.nc in.cdl
> ncgen: cdl line 705; NetCDF: Not a valid data type or _FillValue type
> mismatch
> (genbin.c:508)
> zender@givre:~/nco/data$ ncgen --version
> ncgen: invalid option -- '-'
> Usage: ncgen [-1] [-3] [-4] [-5] [-6] [-7] [-b] [-B buffersize] [-d] [-D
> debuglevel] [-h] [-k kind ] [-l language=b|c|f77|java] [-M <name>] [-n]
> [-o outfile] [-P] [-x] [file ... ]
> netcdf library version 4.4.0-development of Nov 12 2015 14:22:53 $
> 
> --
> Charlie Zender, Earth System Sci. & Computer Sci.
> University of California, Irvine 949-891-2429 )'(
> 
> 


Ticket Details
===================
Ticket ID: PNU-748333
Department: Support netCDF
Priority: Normal
Status: Closed