Re: [thredds] controlling WMS colorbar scale

... and just to add to this, there is more information about how to configure 
the wmsConfig.xml file here:

http://www.resc.rdg.ac.uk/trac/myocean-tools/wiki/WmsDetailedConfiguration

This describes how colour scale ranges can be defined at the level of a server, 
a dataset, a variable or even a standard_name (so you could define a default 
colour scale range for all sea_water_potential_temperature variables in all 
datasets).

Hope this helps,
Jon


----------------------------------------------------------------------

Message: 1
Date: Wed, 29 Aug 2012 07:59:10 -1000
From: John Maurer <jmaurer@xxxxxxxxxx>
To: tom cook <tcook@xxxxxxxxxxxx>
Cc: thredds@xxxxxxxxxxxxxxxx
Subject: Re: [thredds] controlling WMS colorbar scale
Message-ID:
        <CAEoEVr=HcuM3T2mJRQcdKoXJVgxbMjj2MxjkuWLfCARxD0U6Yw@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

The WMSExtensions link that Marcos provides spills the beans, but sometimes a 
quick example helps... note the use of COLORSCALERANGE:

http://oos.soest.hawaii.edu/thredds/wms/pacioos/ncom/global/NCOM_Global_Ocean_Model_best.ncd?service=WMS&version=1.3.0&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=water_temp&CRS=EPSG:4326&BBOX=0,-75.32002523220802,360,75.32002523220804&WIDTH=1225&HEIGHT=668&TIME=2012-08-29T15:00:00Z&ELEVATION=0&STYLES=boxfill/rainbow&NUMCOLORBANDS=256&COLORSCALERANGE=-2.716001,35.148003&OPACITY=75

Cheers,
John Maurer
Pacific Islands Ocean Observing System (PacIOOS) University of Hawaii at Manoa

On Wed, Aug 29, 2012 at 7:54 AM, Marcos Hermida
<mhermida@xxxxxxxxxxxxxxxx>wrote:

>
> actually, when you specify a colorbar scale for a variable you have 
> also to set the datasetPath and that properties only apply to the 
> dataset or datasets in the pathSpec attribute of the datasetPath tag.
>
> Cheers!
>
> On 08/29/2012 11:41 AM, tom cook wrote:
>
> Thanks, I was trying to avoid setting a hard limit for the colorscale 
> in the wmsConfig file, but it might come to that. Is there a way to 
> specify a colorbar scale for a specific variable in a specific 
> dataset, or is it only possible to set this for a specific variable?
> Thanks for the help and I'll check on your WMS links.
>
> Tom
>
> On Wed, Aug 29, 2012 at 10:38 AM, Marcos Hermida < 
> mhermida@xxxxxxxxxxxxxxxx> wrote:
>
>>  Hi Tom,
>>
>> ncWMS provides some styling capabilities through some non-standard 
>> WMS
>> parameters: colorscalerange, numcolorbands...
>> You can find more information about those parameters here:
>> http://www.resc.rdg.ac.uk/trac/ncWMS/wiki/WmsExtensions
>> Besides, in TDS, you can set the values for those parameters or 
>> displaying properties in the wmsConfig.xml configuration file.
>> Here is the documentation about it:
>>
>> http://www.resc.reading.ac.uk/trac/myocean-tools/wiki/WmsDetailedConf
>> iguration
>>
>> Hope it helps,
>> Cheers!
>>
>>
>>
>> On 08/29/2012 10:53 AM, tom cook wrote:
>>
>>  HI,
>> I really don't have any idea about the functionality of WMS, other 
>> than using the Godiva2. We had a user complain that the portions of 
>> the gridded data they were receiving through TDS/WMS query were 
>> blacked out due to exceeding the colorbar scale. My question, is 
>> there a way to set the colorbar limits for WMS through TDS query?
>> Sorry for my ignorance, thanks in advance.
>> Tom
>>
>>
>>  _______________________________________________
>> thredds mailing listthredds@xxxxxxxxxxxxxxxx For list information or 
>> to unsubscribe,  visit: http://www.unidata.ucar.edu/mailing_lists/
>>
>>
>>
>> _______________________________________________
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mailman.unidata.ucar.edu/mailing_lists/archives/thredds/attachments/20120829/68b3534d/attachment.html>

End of thredds Digest, Vol 43, Issue 16
***************************************