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

[netCDFDecoders #MHV-467373]: metar2nc.new1 error

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: [netCDFDecoders #MHV-467373]: metar2nc.new1 error
  • Date: Mon, 20 Dec 2010 15:57:49 -0700

Hi Art,

The decoder worked using the netcdf-4.1.1 library, but your error is with ncgen:

ncgen: NetCDF: Not a valid data type or _FillValue type mismatch
        (genbin.c:121)
 Usually the ncgen and the ncdump utilities are copied into the ~ldm/util 
directory, that's where the perl decoders look first. Also the cdl is not 
correct, int64 gives an error, replace it with the long data type. You can test 
ncgen from the command line:
% ~ldm/util/ncgen -o test.nc metar.cdl.new1

Then use ncdump

% ~ldm/util/ncdump test.nc

The other errors are from the ncgen bad file creation. I'm going to try the cdl 
with ncgen version 4.1.2-beta2-snapshot2010101820 and see if the error can be 
reproduced here.

RObb...

Ticket Details
===================
Ticket ID: MHV-467373
Department: Support netCDF Decoders
Priority: Normal
Status: Open