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.


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

Re: 960820: CDF-files



>To: address@hidden
>From: Jens Fickert <address@hidden>
>Subject: CDF-files
>Organization: .
>Keywords: 199608201101.AA26483

Hi Jens,

> Excuse, how I could read (or convert
> to ASCII-format) only a cdf-formatted file,
> I have an file, which begins like ..
> 
> CDF^A^@^@^@^@^@^@^@
> ^@......
> 
> already downloaded and installed the 
> netcdf-software.

Use the "ncdump" program that is installed as part of the netCDF
software.  ncdump reads a netCDF file and outputs an ASCII version of
it.  The ncgen program can do the opposite, converting the ASCII version
back into a binary netCDF file.

Documentation for ncdump and ncgen is included in the netCDF User's
Guide, in the chapter entitled "NetCDF Utilities".  An on-line version
is available from 

 http://www.unidata.ucar.edu/packages/netcdf/guide_12.html#SEC89

_____________________________________________________________________

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