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

Re: reading netcdf files with fortran



Susana Mendes wrote:
<snip>.....I am a new user in this fortran environment and I don't know how to use the ncdump information to read my netcdf data files.

This leads to a broader question for the netcdfgroup.

The utility ncgen can generate fortran code to create
a netcdf file from a CDL description.

 ncdump  -h susana.q.1000.7808.nc  | ncgen -f


Is there a similar utility that would read a CDL
description and emit code to read the associated
netcdf file?  So one could do something like


 ncdump  -h susana.q.1000.7808.nc  | nc_reader_gen -f


It would be nice if such a utility could emit f90 code
in addition to f77 and c.




 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community 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