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

Re: [netcdfgroup] Building netcdf-4 programs with F90


Well, I can't make working on fortran easy. I'll be happy to make it
possible. ;-)

Basically you have to create the same byte layout as would be created
by the C compiler on your platform, using structs. This is platform
dependent.



Hi Ed:

But what would make this easier is an example of greater complexity than the one given. In the one given, all that is being written is a 1-dimension array of fixed length, for which a Vlen is needed. A more realistic example of how to use the Fortran interface would help greatly. The C is more complex, and something along hose lines in Fortran would help.

We are having some data service issues that we are trying to resolve so I may not be able to dig up the other other things I found for a few days (and the reason I mention the explicitly linking of -lz and -lsz is that is not what the docs say).

Thanks,

-Roy


**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division 
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."





 
 
  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