[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20040816: netCDF exiting when att not found
- Subject: Re: 20040816: netCDF exiting when att not found
- Date: Fri, 20 Aug 2004 15:11:53 -0600
>To: address@hidden
>From: Chris Webster <address@hidden>
>Subject: netCDF exiting when att not found
>Organization: NCAR/ACD
>Keywords: 200408162316.i7GNGsaW014607 netCDF
You wrote:
> > You must be using a netCDF version 2 interface if it's exiting on
> > error. The default for netCDF-3 interfaces is to just return an error
> > code for any error, not to exit.
>
> It is using the C++ interface.....
>
> The ncopts fixes the problem.
OK, but the official C++ way to do this is by using the auxiliary
class NcError:
http://my.unidata.ucar.edu/content/software/netcdf/cxxdoc.html#SEC18
--Russ