NetCDF

Frank Warmerdam fwarmerdam at GMAIL.COM
Fri Dec 10 10:41:18 EST 2004


On Thu, 9 Dec 2004 15:09:16 -0500, Aaron D. Hunt <hunt at zedxinc.com> wrote:
> Does anyone have an example of how to use and display a NetCDF file in
> mapserver.

Aaron,

NetCDF files should work like any other raster file within the limits
of the NetCDF
driver.  In GDAL 1.2.5 there is a GMT driver which supports GMT generated
NetCDF files well.  There is also a more generic NetCDF driver but it often
fails depending on the organization of the netcdf file.  Make sure that a
gdalinfo report of your file looks sensible before trying to use it in
MapServer.

As Tony notes, you could also setup an OPeNDAP server for the netCDF
file,but that is quite a bit of complication just to get data into MapServer.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list