Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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 :)


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690