[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20000928: Testing for exisiting dimensions (fwd)
- Subject: Re: 20000928: Testing for exisiting dimensions (fwd)
- Date: Thu, 28 Sep 2000 15:37:11 -0600
Matt,
Steve wrote:
> Your program halts because the default error-handling action of the
> netCDF library is to abort on error. ...
Actually aborting on error was the default error-handling action of
the old netCDF-2 interface, on which netCDFPerl is based. The default
error-handling action of the current netCDF-3 interface is to silently
return an error indication.
> ... To override, call the following
> first:
>
> NetCDF::ncopts(NetCDF::VERBOSE);
>
> This will cause the netCDF library to print a message to standard error
> and then continue.
... or, since you probably don't want to have a message printed, call
it with a zero argument to suppress both the printing of messages and
the fatality of errors.
--Russ
_____________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu