SETNCOPTS Procedure

Sets the value of the ncopts variable and defines the level of error reporting for the NetCDF functions as discussed in the error section of the NetCDF User’s Guide.

Usage

SETNCOPTS, new_ncopts 

Input Parameters

new_ncopts—The new value for the ncopts variable. Valid values for the ncopts variable are:

0 (zero)—No error messages will be reported.

NC_FATAL—No error messages will be reported and all errors will be fatal.

NC_VERBOSE—Error messages will be reported.

NC_FATAL+NC_VERBOSE—Error messages will be reported and all errors will be fatal.

NC_VERBOSE and NC_FATAL are defined in HDF_COMMON and HDF_INIT.

Keywords

Help—List the usage for this function.

Usage—List the usage for this function. Same as the Help keyword.

Discussion

SETNCOPTS sets the value of the “ncopts” variable thus defining the level of error reporting by the netCDF functions as discussed in the Error Handling section of the NetCDF User’s Guide.

SETNCOPTS is only valid for the netCDF functionality included in the optional PV‑WAVE HDF interface.

Fatal errors will cause PV‑WAVE to exit.

See Also

GETNCERR, GETNCOPTS 

Also refer to the NetCDF User’s Guide.

For more information on using the HDF interface and the calling sequence for the entire suite of HDF base functions, refer to PV-WAVE HDF Interface.

For a complete list of the HDF convenience routines, refer to Functional Summary of Routines.