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

Re: Manipulating netCDF files

<shameless plug>
Matlab with the mexnc interface, http://mexcdf.sourceforge.net.
</shameless plug>

If your budget == $0, you might try the python/netcdf interface.
It's been a few years since I've looked at it, though.  




On Friday 11 November 2005 08:32 am, Waylon.Collins wrote:
> Dear group members,
>
> After reviewed the Unidata list of software that manipulates netCDF
> files, I have yet to find one that can perform the following task -- I
> need command-line software (that can run in a Redhat Enterprise Linux
> environment) that will allow me to replace data values, associated with
> a particular variable, with values that I can specify. It needs to allow
> for a logical operation. For example, the software needs to be able to
> perform the following -- "Any datum of variable X, within netCDF file
> with filename F.nc, that equals 32, change it to the value 45. Thus, the
> original file F.nc is now altered, or the altered file is now named
> G.nc". Any help will be greatly appreciated.
>
> Sincerely,
>
> Waylon

-- 
John Evans: IMCS Rutgers University 
71 Dudley Rd, New Brunswick, NJ 08901-8521
ph: 732-932-3435




 
 
  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