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

Re: c/c++-Interface

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.


  • Subject: Re: c/c++-Interface
  • Date: Wed, 01 Mar 1995 10:13:18 -0700

> Organization: .
> Keywords: 199503011503.AA09164

Hi Mechthild,

> I have a question concerning the retrieval of netCDF data.
> I  want to use the C++-Interface for writing data, but the
> visualization system I want to use (Vis5D) provides only a
> C-Interface.
> 
> Can I use the C++-Interface for writing netCDF-files and 
> the C-Interface for reading these files in order to convert 
> them to a file for visualization?? How can I manage this
> problem?

Yes, it doesn't matter whether you use the C++, C, or Fortran interface to
write a netCDF file.  The file format is independent of the language
interface used to write it or the machine on which it was written.  You can
read a netCDF file using any of the three language interfaces that was
written using any of the three language interfaces.

______________________________________________________________________________

Russ Rew                                                UCAR Unidata Program
address@hidden                                          P.O. Box 3000
http://www.unidata.ucar.edu/                          Boulder, CO 80307-3000
______________________________________________________________________________