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

[netCDF #NXD-306525]: netCdf Question.



Hi Bo,

Yes, it is possible to read netCDF data into a Fortran program.  There are both
Fortran-77 and Fortran-90 programming interfaces to access data in netCDF
files, documented in these two reference manuals:

  http://www.unidata.ucar.edu/netcdf/docs/netcdf-f77.html
  http://www.unidata.ucar.edu/netcdf/docs/netcdf-f90.html

The NCEP/NCAR Reanalysis data used netCDF-3, so you can ignore all the
references to netCDF-4 interfaces and features.

Here are some example programs, including Fortran-77 and Fortran-90 programs,
that access netCDF data from very simple files:

  http://www.unidata.ucar.edu/netcdf/examples/programs/

Here is an online workshop that was the basis of a two-day netCDF class:

  http://www.unidata.ucar.edu/netcdf/docs/workshop/

Here is a tutorial docuent that includes Fortran examples:

  http://www.unidata.ucar.edu/netcdf/docs/netcdf-tutorial.html

To extract an ASCII version of netCDF data, you can use the "ncdump" utility.
See this description of ncdump and its options:

  http://www.unidata.ucar.edu/netcdf/docs/netcdf/ncdump.html#ncdump

--Russ


--Russ




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



Ticket Details
===================
Ticket ID: NXD-306525
Department: Support netCDF
Priority: Normal
Status: Closed