[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
       http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html

  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
       http://www.unidata.ucar.edu/netcdf/docs/building_netcdf_fortran.html

  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

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