>  Docs Center  >  IDL Reference  >  I/O - NetCDF  >  NCDF_OPEN

NCDF_OPEN

NCDF_OPEN

The NCDF_OPEN function opens an existing NetCDF file.

Syntax


Result = NCDF_OPEN( Filename [, /NOWRITE | , /WRITE] )

Return Value


If successful, the NetCDF ID for the file is returned.

Arguments


Filename

A scalar string containing the name of the file to be opened.

Keywords


NOWRITE

Set this keyword to open an existing NetCDF file as read only. This is the default.

WRITE

Set this keyword to open an existing NetCDF file for both writing and reading.

Version History


Pre 4.0

Introduced

See Also


NCDF_ATTINQ



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us