Saving your data in netCDF

A C program that saves realistic ASCII input data in netCDF format. The program, sample files and a Visual C++ project are available for download.

FileDescription
DataProject.zipC programs that save netCDF and HDF5 files

North Atlantic topography

The C program omex2netcdf.c reads ASCII files with topography of the North Atlantic Ocean and saves them as netCDF. The grid has variable dimension scales.

The image shows HDF Explorer's map of the grid. Fill values appear in grey, and the variable grid spacing is drawn with the Show Grid option in the map options. The output file is omex.nc.

OMEX topography in HDF Explorer
Click for a larger image.