-
Notifications
You must be signed in to change notification settings - Fork 2
/
wmsConfig.xml
64 lines (56 loc) · 2.73 KB
/
wmsConfig.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wmsConfig SYSTEM "http://www.unidata.ucar.edu/schemas/thredds/dtd/ncwms/wmsConfig.dtd">
<!--
Detailed configuration of the WMS service. This config file can be used to
set default styling parameters for each dataset/variable, and to enable or disable
the GetFeatureInfo operation.
See http://www.resc.reading.ac.uk/trac/myocean-tools/wiki/WmsDetailedConfiguration
for more information.
-->
<wmsConfig>
<global>
<!-- These settings apply to all datasets unless overridden below -->
<defaults>
<!-- The global defaults. All elements are mandatory -->
<allowFeatureInfo>true</allowFeatureInfo>
<defaultColorScaleRange>-50 50</defaultColorScaleRange>
<defaultPaletteName>rainbow</defaultPaletteName>
<defaultNumColorBands>20</defaultNumColorBands>
<logScaling>false</logScaling>
<intervalTime>false</intervalTime>
</defaults>
<standardNames>
<!-- Use this section to set defaults per standard name -->
<!-- Units must come from the UDUNITS vocabulary -->
<standardName name="sea_water_potential_temperature" units="K">
<defaultColorScaleRange>268 308</defaultColorScaleRange>
</standardName>
<standardName name="sea_water_temperature" units="K">
<defaultColorScaleRange>268 308</defaultColorScaleRange>
</standardName>
<standardName name="mass_concentration_of_chlorophyll_in_sea_water" units="kg m-3">
<logScaling>true</logScaling>
</standardName>
<!-- TODO: how about allowing "*fraction" to map to 0:1? -->
<!-- TODO: how about allowing multiple standard names to map to the same settings,
either through a glob expression or through a list? -->
</standardNames>
</global>
<overrides>
<datasetPath pathSpec="testAll/*eta_211.nc">
<!-- Will apply to all paths that match the path spec above -->
<pathDefaults>
<!-- These will apply to all variables in this path unless overridden below -->
<allowFeatureInfo>false</allowFeatureInfo>
<defaultPaletteName>occam</defaultPaletteName>
</pathDefaults>
<variables>
<!-- Configure variables individually according to their internal ID.
This is the most specific setting and will override any others -->
<variable id="Z_sfc">
<defaultColorScaleRange>10 20</defaultColorScaleRange>
</variable>
</variables>
</datasetPath>
</overrides>
</wmsConfig>