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

[netCDF #MUE-775681]: ncdump fails to open wrf output after switch



Hi Lukas,

It sounds like your ncdump and nco are more than 3 years old, and you need to
get
and build a newer version of netCDF to get an ncdump that understands the
64-bit
offset variant of netCDF that WRFV3 requires.  Then you need to build nco based
on
that netCDF so it also understands the 64-bit offset variant format.

If you update ncdump, you'll also find it prints the version below the usage
message,
as here's what I now get with ncdump --version:

$ ncdump --version
ncdump: illegal option -- version
ncdump [-c|-h] [-v ...] [[-b|-f] [c|f]] [-l len] [-n name] [-p n[,n]] [-x] [-k]
[-t] file
  [-c]             Coordinate variable data and header information
  [-h]             Header information only, no data
  [-v var1[,...]]  Data for variable(s) <var1>,... only
  [-b [c|f]]       Brief annotations for C or Fortran indices in data
  [-f [c|f]]       Full annotations for C or Fortran indices in data
  [-l len]         Line length maximum in data section (default 80)
  [-n name]        Name for netCDF (default derived from file name)
  [-p n[,n]]       Display floating-point values with less precision
  [-x]             Output XML (NcML) instead of CDL
  [-k]             Output kind of netCDF file
  [-t]             Output time data as ISO date-time strings
  file             Name of netCDF file
netcdf library version 4.0 of Oct 13 2008 15:18:32 $

Likewise, ncgen will print the version below its usage message with any option
it
doesn't understand.

The earliest version of netCDF that understands the 64-bit offset format
variant is
3.6.0-p1 that was released in February 2005.  The most recent versions of
netCDF,
released in June 2008, were 3.6.3 and 4.0.  They are available from this
directory:

    ftp://ftp.unidata.ucar.edu/pub/netcdf/

and you can use either version for WRFV3.

The netCDF-4.x releases will only build with the netCDF-4 enhanced features if
"--enable-netcdf-4" is provided as a configure option. By default the
distribution
will build the classic netCDF-3 library, so both 4.0 and 3.6.3 will build
essentially
the same library and utilities by default.  Most users will not need the
enhanced
netCDF-4 features at this time.

--Russ


Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: MUE-775681
Department: Support netCDF
Priority: Normal
Status: Closed