Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[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
russ@xxxxxxxxxxxxxxxx                     http://www.unidata.ucar.edu



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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690