comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Can't exit DEFINE mode in netCDF File
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Can't exit DEFINE mode in netCDF File [message #68262 is a reply to message #68119] Wed, 07 October 2009 08:12 Go to previous messageGo to previous message
dcleon@gmail.com is currently offline  dcleon@gmail.com
Messages: 12
Registered: November 2007
Junior Member
> Where is it written, though, that the _FillValue attribute has
> to be the same data type as the variable it is an attribute of?
> And why doesn't *that* cause an error, instead of this action at
> a distance thing?

I've run into this problem several times. I think with the ncdf_
routines that if the type on any attribute or variable fails to match
the declared type, that you're going to get an error when you close
the file. Seems like the ncdf routines should give you the error when
you define the attribute/variable not down the road when you go to
close the file. Anyway, the bottom line is check types very carefully
when writing NetCDF files.

Cheers,
dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: interpolation of irregular satellite data
Next Topic: Re: IDLDE and java crashes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:20:54 PDT 2025

Total time taken to generate the page: 0.00480 seconds