[GRASS5] new GRASS module: r.out.netcdf

Alessandro Frigeri geoalf at libero.it
Tue Feb 11 10:43:58 EST 2003


Hello,

I worte a GRASS module to export raster data in netcdf format, readable
by a wide range of post-processing/visualization packages.

The module exports raster with data models suitable to be read directly
by Generic Mapping Tools as .grd file (-g flag) and IBM Data
Explorer-OpenDX (-d flag).  This should give extra opportunities for
high-quality output from GRASS GIS processed data.

The module has been compiled in a grass-5.0.1 env and tested on the spearfish dataset.  Obviously it requires netcdf library (available on most GNU/Linux distributions, or dowloadable from http://www.unidata.ucar.edu/packages/netcdf/). 

The spearfish sample outputs, and the code together with the manpage can
be found at this URL:

http://www.unipg.it/~afrigeri/r.out.netcdf

Some work has to be done in order to align grass raster and netcdf data
types (TODO), but the module currently is up and working.

I hope this module will be useful to the GRASS GIS community. 

I look forward for feedback on this module and testing.  After some
feedback it could be posted to the GRASS-user ml.

Thanks to all the developers encouraging newbies.


Alessandro Frigeri







More information about the grass-dev mailing list