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

20010123: nc-3.5 Fortran 90: nf90_get_var() on 2D character variable



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.

Robert Pincus, the creator of the Fortran-90 API, has agreed to help
you.  He emailed me the following:

> I'd need to know more about why this isn't working to be able to be much
> help. He should be able to us a call like
>
>   status = nf90_put_var(ncid, varid, values)
>
> where the declaration for values should be 
>   character (len = SomeConstant), dimension(:, :) :: values
>
> or, if he trying to read a bunch of lines, 
>     character (len = LineLength), dimension(:) :: values
>
> That's the most I can offer without more info.  

If the above is insufficient to solve your problem, then feel free to
contact Robert directly at <address@hidden>.  He's on personal
time at the moment, so adjust your expectations accordingly.

Please CC me on any correspondence so that I can enter it into our
support-email archive.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>