Re: [thredds] controlling WMS colorbar scale

That does help a lot!
Thanks,
Tom

On Wed, Aug 29, 2012 at 10:59 AM, John Maurer <jmaurer@xxxxxxxxxx> wrote:

> 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/WmsDetailedConfiguration
>>>
>>> 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/
>>
>>
>