This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
David, > To: "'address@hidden'" <address@hidden> > From: "Bennett, David A" <address@hidden> > Subject: nc-3.5 Fortran 90 question > Organization: Lockheed Martin Space Systems > Keywords: 200101162001.f0GK1ue07435 The above message contained the following: > I was wondering if someone could give me a short description of > how to read in a two dimensional array of character data from a > netCDF file using the nc-3.5 Fortran 90 interface. I am using the > nf90_get_var( ....) function to do this but an not having much luck. > I have been using the f90 interface for quite some time now and > really like it. I have not had a problem like this before since most > of my data is numeric (byte, short, float ...). Thanks if you can help... > > Dave > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > David A. Bennett mailto:address@hidden > > Meteorologist > Center for Remote Environmental Sensing Technology > Lockheed Martin Space Systems > Remote Sensing and Space Science Operations > Sunnyvale, CA > > voice: 408-756-2335 fax: 408-743-1795 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I'm afraid that I've never actually used the F90 interface to read character data and, unfortunately, a colleague who might have is away at a convention this week. May I suggest posting a query to the netCDF mailing-list? Perhaps someone there has done what you want. Regards, Steve Emmerson <http://www.unidata.ucar.edu>