Hi Pauline,
Could you try this in our latest TDS snapshot and/or send an example
dataset?
The latest TDS snapshot is 4.2.20100707.0012. It is available from our
FTP server at
ftp://ftp.unidata.ucar.edu/pub/thredds/4.2/snapshot/
Thanks,
Ethan
On 7/16/2010 11:13 PM, Pauline Mak wrote:
> Hi all,
>
> I've just downloaded the latest version of TDS and tried out WMS on some
> datasets. It looks like the TDS implementation of the WMS server is
> ignoring the _FillValue attribute...?
>
> I've tried this on ncWMS-1.0RC2 and it was able to generate a correct
> image.
>
> I used the same KVP (except for LAYERS!) for both ncWMS and TDS:
>
> http://localhost:8080/ncWMS-1.0RC2/wms?LAYERS=bomTest%2Ftemp&ELEVATION=-5&TIME=2010-07-07T12%3A00%3A00.000Z&TRANSPARENT=true&STYLES=boxfill%2Frainbow&CRS=EPSG%3A4326&NUMCOLORBANDS=254&LOGSCALE=false&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&EXCEPTIONS=XML&FORMAT=image%2Fpng&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256
>
>
> http://localhost:8080/thredds/wms/testAll/ocean_an_20100707_temp.nc?LAYERS=temp&ELEVATION=-5&TIME=2010-07-07T12%3A00%3A00.000Z&TRANSPARENT=true&STYLES=boxfill%2Frainbow&CRS=EPSG%3A4326&NUMCOLORBANDS=254&LOGSCALE=false&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&EXCEPTIONS=XML&FORMAT=image%2Fpng&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256
>
>
> And got the attached images (tds.png is generated from TDS,
> wms_ncwms.png is generated by ncWMS).
>
> I am currently using:
>
> Version 4.2.20100607.1833 - 20100607.1833
>
> With Java version:
>
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
>
> We had observe the same behaviour on another TDS server too, although,
> I'm not sure what OS it's running on, or what the version of Java it's
> using.
>
> I think at some point in time, I had a version of 4.2 that worked with
> _FillValues correctly, but I no longer have access to that version
> anymore to do a comparison...
>
> Cheers,
>
> -Pauline.