Re: [thredds] _FillValue ignored in WMS

Hi Ethan,

I've just tried this, but didn't seem to have worked...

I am using TDS Version 4.2.20100707.0012, downloaded from:

The standalone ncWMS is still displaying the image correctly, but using TDS (and the GoDiva2 link), I'm still getting a lot of black areas. I had to copy the wmsConfig.xml file across to $TOMCAT_HOME/content/thredds.

I've changed the config to use the same colour scale as what's shown in the standalone ncWMS:

        <datasetPath pathSpec="testAll/20010101*.nc">
                <variable id="sea_surface_temperature">
<defaultColorScaleRange>272 306.3</defaultColorScaleRange>

I think this setting should be OK - because when I clicked on the GoDiva link at the bottom, the colour scales (on the right hand side) was shown as 272 to 306.3.

And now, for the comparison:



And have attached the resulting images. There were generated using the file located here:



On 20/07/10 1:53 AM, Ethan Davis wrote:
Hi Pauline,

Could you try this in our latest TDS snapshot and/or send an example

The latest TDS snapshot is 4.2.20100707.0012. It is available from our
FTP server at



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

I used the same KVP (except for LAYERS!) for both ncWMS and TDS:



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

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...



thredds mailing list
For list information or to unsubscribe,  visit:

Pauline Mak
Ph: (03) 6226 8586
Mob: 0411 638 196
Email: pauline.mak@xxxxxxxxxxx

Attachment: TDS.png
Description: PNG image

Attachment: ncWMS.png
Description: PNG image

  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: