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

Re: netCDF no attr



Chris,

The above message contained the following:

> To: address@hidden
> From: Chris Webster <address@hidden>
> Subject: netCDF no attr
> Organization: NCAR Research Aviation Facility
> Keywords: 200211081512.gA8FCmX18905

>  > ncattinq: ncid 4: Attribute not found
> 
> This drives me nuts, a core dump would be much faster to debug.
> 
> Can the error message also dump the variable name and failed attribute 
> to the screen?  Adding 30 printf's to my program to figure out which 
> get_attr() failed gets old fast.

Good idea.  Done.  It'll be in the next release.

If you can't wait, then apply the attached patch to file libsrc/v2i.c.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>

Attachment: t.t
Description: t.t