[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20000121: NcFile from handle
- Subject: Re: 20000121: NcFile from handle
- Date: Fri, 21 Jan 2000 16:26:50 -0700
>From: Mark Mihelic <address@hidden>
>Subject: NcFile from handle
>Organization: Litton/PRC
>Keywords: 200001212240.PAA23851 netCDF C C++
Hi Mark,
> A question about interchanging the information gathered using the C
> interface, with the C++ interface.
>
> Is there a method to get the NcFile, when all that one has is the handle
> (int) from the C interface?
No, to get an NcFile you need to use the NcFile constructor, which
currently requires a file name. What you want could probably be added
by writing another constructor; the C handle is stored as a protected
member NcFile::the_id.
--Russ
_____________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu