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, I'm taking a look at this while Russ works on the other issue you submitted, and I have a quick question. Was there a version where this test worked for you? I've been stepping back through releases and am encountering the same issue you've observed. Assuming that there is a version where it worked, I should be able to narrow down what changed and why. If this is a new test, or a test that has never worked, it leads me to believe there is something specific to this file causing the problem. In either case, I'll have a clear avenue of investigation to follow :). Thanks! -Ward > Hi, > > ncgen cannot generate a netCDF4-classic output from our standard > testfile in.cdl (attached). In summary: > > ncgen -k hdf5-nc3 -b -o in_4c.nc in.cdl # broken > ncgen -b -o in.nc in.cdl # works > ncks -O -7 in.nc in_4c.nc # works > > Wondering if this is an ncgen bug or am I doing something wrong? > > Thanks! > c > > zender@roulee:~$ /usr/local/bin/ncgen -k hdf5-nc3 -b -o > ${HOME}/nco/data/in_4c.nc ${HOME}/nco/data/in.cdl > ncgen: NetCDF: Attempting netcdf-4 operation on strict nc3 netcdf-4 file > (genbin.c:502) > zender@roulee:~$ /usr/local/bin/ncgen -b -o ${HOME}/nco/data/in.nc > ${HOME}/nco/data/in.cdl > zender@roulee:~$ ncks -O -7 ${HOME}/nco/data/in.nc ${HOME}/nco/data/in_4c.nc > zender@roulee:~$ > > -- > Charlie Zender, Earth System Sci. & Computer Sci. > University of California, Irvine 949-891-2429 )'( > > Ticket Details =================== Ticket ID: WAM-997986 Department: Support netCDF Priority: Normal Status: Closed