Home »
Public Forums »
archive »
Re: How to set Missing Data Values when writing NETCDF?
Re: How to set Missing Data Values when writing NETCDF? [message #68359] |
Mon, 19 October 2009 07:58 |
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.")
|
|
|
Current Time: Fri Oct 10 00:34:08 PDT 2025
Total time taken to generate the page: 1.36060 seconds