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

[netCDF #TWZ-216539]: ncdump



Hi Alan,

The last dimensions varies fastest, as is described in the "NetCDF Utilities"
chapter of the netCDF Users Guide:

  The optional data section of a CDL description is where netCDF
  variables may be initialized. The syntax of an initialization is
  simple:

       variable = value_1, value_2, ...;

  The comma-delimited list of constants may be separated by spaces,
  tabs, and newlines. For multidimensional arrays, the last dimension
  varies fastest. Thus, row-order rather than column order is used for
  matrices. ...
  http://www.unidata.ucar.edu/software/netcdf/docs/netcdf.html#NetCDF-Utilities

You can always use the annotation arguments [-b lang] or [-f lang] for
brief or full annotation in comments relative to C or Fortran
index order to see what the values correspond to, as in

  ncdump -f fortran foo.nc

--Russ

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



Ticket Details
===================
Ticket ID: TWZ-216539
Department: Support netCDF
Priority: Normal
Status: Closed