Project

General

Profile

StandardNames » History » Version 5

Maarten Plieger, 09/19/2016 12:55 PM

1 5 Maarten Plieger
h1. StandardNames (standard_name,variable_name, units)
2 1 Maarten Plieger
3 5 Maarten Plieger
Apply this style to all layers if requirements match.
4 5 Maarten Plieger
5 5 Maarten Plieger
* standard_name - Optional, comma separated list of standard_names to match, or a * (default) or a regular expression starting with ^. 
6 5 Maarten Plieger
* variable_name - Optional, the variable name to match, or a * (default) or a regular expression starting with ^. 
7 5 Maarten Plieger
* units - Optional, units to match or a regular expression starting with ^
8 5 Maarten Plieger
9 5 Maarten Plieger
Default or not configured is considered as a "*". If all three properties match the style will be added to all layers.
10 2 Maarten Plieger
11 2 Maarten Plieger
Styles can be assigned automatically to a Layer by configuring one or more StandardNames element(s). When the Layers standard_name matches with one of the names configured in a Style, this Style will also be assigned to that Layer. Optionally the units attribute can also be used to discriminate in for example temperature layers with units in Kelvin and units in Celsius
12 2 Maarten Plieger
13 2 Maarten Plieger
<pre>
14 3 Maarten Plieger
<Style name="air_temp_celsius">
15 3 Maarten Plieger
  <StandardNames standard_name="air_temperature,temperature" units="Celsius"/>
16 2 Maarten Plieger
 ...
17 2 Maarten Plieger
</Style>
18 2 Maarten Plieger
19 3 Maarten Plieger
<Style name="air_temp_kelvin">
20 3 Maarten Plieger
  <StandardNames standard_name="air_temperature,temperature" units="Kelvin"/>
21 2 Maarten Plieger
 ...
22 2 Maarten Plieger
</Style>
23 2 Maarten Plieger
  
24 2 Maarten Plieger
</pre>