Main

|

My data in HDF5 | My data in HDF | My data in netCDF | Online help |

Home

Saving my data in netCDF format

This page presents a C program example of how to save data in the netCDF format using as input ASCII realistic data. The program, together with sample files and a Visual C++ project file are available for download.

 
file description
DataProject.zip C programs that save netCDF and HDF5 files

 

The C program, omex2netcdf.c reads ASCII files with topography information relative to the North Atlantic Ocean and saves it in netCDF format. The grid used has variable dimension scales.

This image shows the HDF Explorer generated map of the grid. The fill values are showed in grey color in the image. The variable grid size is shown in the image using the Show Grid option in the Map options. The generated omex.nc netCDF file can be opened online with HDF Explorer. 

click for a larger image

 


©2000-2005  Space Research Software | Contact Information | Home