netCDF in a mapfile

Frank Warmerdam fwarmerdam at GMAIL.COM
Fri Jan 28 09:42:23 EST 2005


On Fri, 28 Jan 2005 14:41:40 -0000, Lowe, D (Dominic) <D.Lowe at rl.ac.uk> wrote:
> Hi,
>
> Finally got round to checking this out.
> The gdalinfo -mm flag returns nan, nan. However if I do an ncdump on the
> file I can see that there are  values in there too.
>
> Are NaN values likely to cause any problems?

Dominic,

Yes, NaNs will confuse the min/max computations in GDAL.  This
means you will need to explicitly control the scaling in your mapfile
with the scaling processing directive.

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