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

Re: C++ interface and inq_var



Matt,

> Thanks, but the problem is that I am using the default NcError. 
> verbose_fatal,  Now with that set to something else like nonfatal it works
> 
> void main() {
> 
>    NcError::Behavior bb= (NcError::Behavior) 0;
>    NcError nce(bb );
>    NcFile *ncf =new NcFile("density.nc",NcFile::ReadOnly);
>    ncf->get_var("TisdfmeCents");
>    printf("asdf\n");
> }

Oops, I forgot about that.  We'll consider changing the default of
NcError to be silent_nonfatal or verbose_nonfatal.  

Thanks for the feedback!

--Russ