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

[netCDF #ECA-828008]: Reading netcdf

Hi Silva,

> Could you please let me know the fortran format to read very large netcdf
> files.

The netCDF format is not associated with particular programming languages, so
a netCDF file written from a Fortran, C, Python, or Java program can be read by
a program written in Fortran, C, Python, or Java, as long as its linked against
the right library for that language.

To read small or large netCDF files from Fortran requires several steps:

  1. Install the netCDF C library, either from a package management system
     or by building it from source.  See

  2. Install the netCDF Fortran library, either from a package management
     system or by building it from source.  The netCDF Fortran library uses
     and requires the netCDF C library, so you have to do step 1 first. See

  3. Write your Fortran program to call functions from the netCDF Fortran
     library, and link to the netCDF Fortran library installed in step 2.

There are no limits on the size of the netCDF file you can read from Fortran.


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

Ticket Details
Ticket ID: ECA-828008
Department: Support netCDF
Priority: High
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.