NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: ncdigest V1 #922

Hi Waylon,

There are multiple ways to do this with NCO, though none appear
to be quite as elegant as nc_eqn for this job. For example,

http://nco.sf.net/nco.html#ncatted

can do this by creating a missing_value attribute, changing it,
then deleting it:

ncatted -a missing_value,X,o,f,32 -a missing_value,X,o,f,45 \
        -a missing_value,X,d,, F.nc G.nc

If needed, this command can be extended to backup and restore any
original missing_value attribute (e.g., temporarily change its name).
An ncap solution would torture the rounding functions in a manner
unbefitting to our society.

Charlie
--
Charlie Zender, surname@xxxxxxx, Department of Earth System Science
3228 Croul Hall, UC Irvine, Irvine CA 92697-3100. (949) 824-2987 :)


  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: