NetCDF in Mapserver...
Frank Warmerdam
warmerdam at POBOX.COM
Wed Nov 16 06:23:40 PST 2005
On 11/16/05, Andrea Marelli <maro.jam at tiscali.it> wrote:
> Hi all,
>
> I can't see anything (only a white image) when I try to use mapserver with
> NetCDF files.
> I need some suggestions...
>
> The server has installed Mapservser 4.6.1 (with support for
> Proj/Geos/Gdal/Postgis/Wfs/Wcs), Gdal 1.3.1 (support for
> Postgres/Geos/Proj4/Netcd) and NetCDF 3.6.0-p1, ...
>
> The NetCDF file's Header is:
Andrea,
I would suggest you "inspect" the netcdf file with "gdalinfo".
If GDAL is correctly identifying the image section, then this
will tell you something about the georeferencing, data type, etc.
Since the data is floating point you will likely want to apply some
sort of scaling for display purposes. This could be accomplished
with a set of CLASSes or you could use a scaling directive on
the LAYER.
eg.
PROCESSING "SCALE=AUTO"
There are issues with the GDAL netCDF reading with some
datasets.
Good luck,
--
---------------------------------------+--------------------------------------
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