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

Home » Public Forums » archive » Re: How to set Missing Data Values when writing NETCDF?
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: How to set Missing Data Values when writing NETCDF? [message #68359] Mon, 19 October 2009 07:58
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Likun writes:

> I am trying to use the IDL functions to write a netcdf file. However,
> I cannot find how to set a missing value or a valid range for a given
> variable. Anyone can help me with that?

These will be attributes of your variable. You can assign
them with NCDF_ATTPUT. Just a warning: be ABSOLUTELY sure
your missing value (normally the attribute _FillValue)
is the same data type as your variable.

http://www.dfanning.com/fileio_tips/definemode.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Previous Topic: How to set Missing Data Values when writing NETCDF?
Next Topic: Use of IDL_MemAllocPerm() to prevent memory fragmentation?

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

Current Time: Wed Oct 08 18:18:31 PDT 2025

Total time taken to generate the page: 0.00241 seconds