NSF Unidata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #DPN-329691]: extract ascii data from netcdf file

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Hi Ratna,

One tool for extracting data from netCDF files is the ncks program that
is part of the NCO (netCDF Operators) software:

  http://nco.sourceforge.net/

Another software package with this capability is CDO (Climate Data Operators),
which has a set orf selection operators, including selname for selecting
variables by name:

  http://www.mpimet.mpg.de/fileadmin/software/cdo/

Also there is a prototype netCDF subset service, which would require a server
for
the data:

  
http://www.unidata.ucar.edu/projects/THREDDS/tech/interfaceSpec/NetcdfSubsetService.html

Other alternatives include use of scripting languages, such as Python, Perl, or
Ruby, to
select variables using scripts and the appropriate netCDF interfaces.

--Russ



Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: DPN-329691
Department: Support netCDF
Priority: Normal
Status: Closed