/usr/share/metview/etc/ContRules is in metview-data 5.0.0~beta.1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 | ! This is the magics check file
!
! Each request is checked again each rule
! The rules have the following syntax:
!
! RULE ---> if TEST then ACTION
!
!
! TEST ---> PARAMETER = VALUE
! ---> PARAMETER > VALUE
! ---> PARAMETER < VALUE
! ---> PARAMETER >= VALUE
! ---> PARAMETER <= VALUE
! ---> PARAMETER <> VALUE
! ---> PARAMETER in LIST_OF_VALUES
! ---> not TEST
! ---> TEST and TEST
! ---> TEST or TEST
! ---> ( TEST )
!
!
! ACTION ---> error MESSAGE
! ---> warning MESSAGE
! ---> set PARAMETER = VALUE
! ---> unset PARAMETER
!
! B.Raoult
! Wed Feb 13 15:07:49 GMT 1991
!
! J.Daabeck
! Thu Nov 3
!
%if LEGEND = OFF %then
%unset LEGEND_USER_TEXT
%unset LEGEND_ENTRY
%if CONTOUR = OFF %then
%unset CONTOUR_HIGHLIGHT
%unset CONTOUR_LINE_PLOTTING
# %unset CONTOUR_LABEL
%if CONTOUR = OFF %or CONTOUR_LINE_PLOTTING = SPLIT %then
%unset CONTOUR_LINE_STYLE
%unset CONTOUR_LINE_THICKNESS
%unset CONTOUR_LINE_COLOUR
%if CONTOUR = OFF %or CONTOUR_LINE_PLOTTING = NOT_SPLIT %or CONTOUR_SPLIT_LINE_PLOT = OFF %then
%unset CONTOUR_SPLIT_LINE_STYLE
%unset CONTOUR_SPLIT_LINE_THICKNESS
%unset CONTOUR_SPLIT_LINE_COLOUR
%if CONTOUR = OFF %or CONTOUR_LINE_PLOTTING = NOT_SPLIT %then
%unset CONTOUR_SPLIT_LEVEL
%unset CONTOUR_BELOW_LINE_STYLE
%unset CONTOUR_BELOW_LINE_THICKNESS
%unset CONTOUR_BELOW_LINE_COLOUR
%unset CONTOUR_SPLIT_LINE_PLOT
%unset CONTOUR_ABOVE_LINE_STYLE
%unset CONTOUR_ABOVE_LINE_THICKNESS
%unset CONTOUR_ABOVE_LINE_COLOUR
%if CONTOUR = OFF %or CONTOUR_HIGHLIGHT = OFF %then
%unset CONTOUR_HIGHLIGHT_FREQUENCY
%if CONTOUR = OFF %or CONTOUR_HIGHLIGHT = OFF %or CONTOUR_LINE_PLOTTING = SPLIT %then
%unset CONTOUR_HIGHLIGHT_STYLE
%unset CONTOUR_HIGHLIGHT_THICKNESS
%unset CONTOUR_HIGHLIGHT_COLOUR
%if CONTOUR = OFF %or CONTOUR_HIGHLIGHT = OFF %or CONTOUR_LINE_PLOTTING = NOT_SPLIT %then
%unset CONTOUR_BELOW_HIGHLIGHT_STYLE
%unset CONTOUR_BELOW_HIGHLIGHT_THICKNESS
%unset CONTOUR_BELOW_HIGHLIGHT_COLOUR
%unset CONTOUR_ABOVE_HIGHLIGHT_STYLE
%unset CONTOUR_ABOVE_HIGHLIGHT_THICKNESS
%unset CONTOUR_ABOVE_HIGHLIGHT_COLOUR
# %if CONTOUR = OFF %or CONTOUR_LABEL = OFF %then
%if CONTOUR_LABEL = OFF %then
%unset CONTOUR_LABEL_FREQUENCY
%unset CONTOUR_LABEL_QUALITY
%unset CONTOUR_LABEL_HEIGHT
%unset CONTOUR_LABEL_COLOUR
%unset CONTOUR_LABEL_TYPE
# %if CONTOUR = ON %and CONTOUR_LABEL = ON %and CONTOUR_LABEL_TYPE = NUMBER %then
%if CONTOUR_LABEL = ON %and CONTOUR_LABEL_TYPE = NUMBER %then
%unset CONTOUR_LABEL_TEXT
# %if CONTOUR = ON %and CONTOUR_LABEL = ON %and CONTOUR_LABEL_TYPE = TEXT %then
%if CONTOUR_LABEL = ON %and CONTOUR_LABEL_TYPE = TEXT %then
%unset CONTOUR_LABEL_FORMAT
#%if CONTOUR = OFF %or CONTOUR_LABEL = OFF %then
%if CONTOUR_LABEL = OFF %then
%unset CONTOUR_LABEL_TEXT
%unset CONTOUR_LABEL_FORMAT
%if CONTOUR_LEVEL_SELECTION_TYPE = COUNT %then
%unset CONTOUR_LEVEL_LIST
%unset CONTOUR_INTERVAL
%if CONTOUR_LEVEL_SELECTION_TYPE = LEVEL_LIST %then
%unset CONTOUR_LEVEL_COUNT
%unset CONTOUR_INTERVAL
%if CONTOUR_LEVEL_SELECTION_TYPE = INTERVAL %then
%unset CONTOUR_LEVEL_COUNT
%unset CONTOUR_LEVEL_LIST
%if CONTOUR_METHOD = LINEAR %then
# %unset CONTOUR_SHADE
%unset INPUT_FIELD_GRADIENT_CONTROL
%unset INPUT_FIELD_GRADIENT_LIMITATION
%if CONTOUR_SHADE = OFF %then
%unset CONTOUR_SHADE_TECHNIQUE
%unset CONTOUR_SHADE_METHOD
%unset CONTOUR_SHADE_MAX_LEVEL
%unset CONTOUR_SHADE_MIN_LEVEL
%unset CONTOUR_SHADE_COLOUR_DIRECTION
%unset CONTOUR_SHADE_LABEL_BLANKING
%unset CONTOUR_SHADE_COLOUR_METHOD
%unset CONTOUR_SHADE_CELL_METHOD
%unset CONTOUR_SHADE_CELL_RESOLUTION
%if CONTOUR_SHADE = OFF %or CONTOUR_SHADE_TECHNIQUE <> MARKER %then
%unset CONTOUR_SHADE_COLOUR_TABLE
%unset CONTOUR_SHADE_HEIGHT_TABLE
%unset CONTOUR_SHADE_MARKER_TABLE
%if CONTOUR_SHADE = ON %and CONTOUR_SHADE_TECHNIQUE = MARKER %then
%unset CONTOUR_SHADE_REDUCTION_METHOD
%unset CONTOUR_SHADE_COLOUR_METHOD
%unset CONTOUR_SHADE_MAX_LEVEL_COLOUR
%unset CONTOUR_SHADE_MIN_LEVEL_COLOUR
%unset CONTOUR_SHADE_COLOUR_LIST
%unset CONTOUR_SHADE_METHOD
%unset CONTOUR_SHADE_DOT_METHOD
%unset CONTOUR_SHADE_COLOUR_DIRECTION
%unset CONTOUR_SHADE_DOT_SIZE
%unset CONTOUR_SHADE_ANGLE
%unset CONTOUR_SHADE_MAX_LEVEL_DENSITY
%unset CONTOUR_SHADE_MIN_LEVEL_DENSITY
%unset CONTOUR_SHADE_HATCH_THICKNESS
%unset CONTOUR_SHADE_HATCH_DENSITY
%if CONTOUR_SHADE = ON %and CONTOUR_SHADE_TECHNIQUE <> CELL_SHADING %then
%unset CONTOUR_SHADE_CELL_METHOD
%unset CONTOUR_SHADE_CELL_RESOLUTION
%if CONTOUR_SHADE = OFF %or CONTOUR_SHADE_COLOUR_METHOD = CALCULATE %then
%unset CONTOUR_SHADE_COLOUR_LIST
%if CONTOUR_SHADE = OFF %or CONTOUR_SHADE_COLOUR_METHOD = LIST %then
%unset CONTOUR_SHADE_MAX_LEVEL_COLOUR
%unset CONTOUR_SHADE_MIN_LEVEL_COLOUR
%unset CONTOUR_SHADE_COLOUR_DIRECTION
%if CONTOUR_SHADE = OFF %or CONTOUR_SHADE_TECHNIQUE = CELL_SHADING %then
%unset CONTOUR_SHADE_REDUCTION_METHOD
%unset CONTOUR_SHADE_METHOD
%unset CONTOUR_SHADE_DOT_METHOD
%unset CONTOUR_SHADE_DOT_SIZE
%unset CONTOUR_SHADE_ANGLE
%unset CONTOUR_SHADE_MAX_LEVEL_DENSITY
%unset CONTOUR_SHADE_MIN_LEVEL_DENSITY
%unset CONTOUR_SHADE_HATCH_THICKNESS
%unset CONTOUR_SHADE_HATCH_DENSITY
%if CONTOUR_SHADE = OFF %or CONTOUR_SHADE_METHOD <> DOT %then
%unset CONTOUR_SHADE_DOT_METHOD
%unset CONTOUR_SHADE_DOT_SIZE
%unset CONTOUR_SHADE_MAX_LEVEL_DENSITY
%unset CONTOUR_SHADE_MIN_LEVEL_DENSITY
%if CONTOUR_SHADE = OFF %or CONTOUR_SHADE_METHOD <> DOT %or CONTOUR_SHADE_DOT_METHOD = NEW %then
%unset CONTOUR_SHADE_ANGLE
%if CONTOUR_SHADE = OFF %or CONTOUR_SHADE_METHOD <> HATCH %then
%unset CONTOUR_SHADE_HATCH_THICKNESS
%unset CONTOUR_SHADE_HATCH_DENSITY
%if CONTOUR_HILO = LO %then
%unset CONTOUR_HI_COLOUR
%unset CONTOUR_HI_MIN_LEVEL
%unset CONTOUR_HI_MAX_LEVEL
%unset CONTOUR_HI_TEXT
%if CONTOUR_HILO = HI %then
%unset CONTOUR_LO_COLOUR
%unset CONTOUR_LO_MIN_LEVEL
%unset CONTOUR_LO_MAX_LEVEL
%unset CONTOUR_LO_TEXT
%if CONTOUR_HILO = OFF %then
%unset CONTOUR_LO_COLOUR
%unset CONTOUR_HI_COLOUR
%unset CONTOUR_LO_MIN_LEVEL
%unset CONTOUR_LO_MAX_LEVEL
%unset CONTOUR_HI_MIN_LEVEL
%unset CONTOUR_HI_MAX_LEVEL
%unset CONTOUR_HILO_QUALITY
%unset CONTOUR_HILO_HEIGHT
%unset CONTOUR_HILO_TYPE
%unset CONTOUR_HILO_FORMAT
%unset CONTOUR_LO_TEXT
%unset CONTOUR_HI_TEXT
%unset CONTOUR_HILO_MARKER
%unset CONTOUR_HILO_MAX_VALUE
%unset CONTOUR_HILO_MIN_VALUE
%unset CONTOUR_HILO_SUPPRESS_RADIUS
%unset CONTOUR_HILO_REDUCTION_RADIUS
%unset CONTOUR_HILO_POSITION_WRITE
%unset CONTOUR_HILO_POSITION_FILE_NAME
%if CONTOUR_HILO <> OFF %and CONTOUR_HILO_TYPE = NUMBER %then
%unset CONTOUR_LO_TEXT
%unset CONTOUR_HI_TEXT
%if CONTOUR_HILO = HI %and CONTOUR_HILO_TYPE = TEXT %then
%unset CONTOUR_HILO_FORMAT
%unset CONTOUR_LO_TEXT
%if CONTOUR_HILO = LO %and CONTOUR_HILO_TYPE = TEXT %then
%unset CONTOUR_HILO_FORMAT
%unset CONTOUR_HI_TEXT
%if CONTOUR_HILO = ON %and CONTOUR_HILO_TYPE = TEXT %then
%unset CONTOUR_HILO_FORMAT
%if CONTOUR_HILO = HI %and CONTOUR_HILO_TYPE = BOTH %then
%unset CONTOUR_LO_TEXT
%if CONTOUR_HILO = LO %and CONTOUR_HILO_TYPE = BOTH %then
%unset CONTOUR_HI_TEXT
%if CONTOUR_HILO = OFF %or CONTOUR_HILO_MARKER = OFF %then
%unset CONTOUR_HILO_MARKER_INDEX
%unset CONTOUR_HILO_MARKER_HEIGHT
%if CONTOUR_HILO_POSITION_WRITE = OFF %then
%unset CONTOUR_HILO_POSITION_FILE_NAME
# for old icons that may still use this obsolete param
%if CONTOUR_GRID_VALUE_MARKER_PLOT = ON %then
%set CONTOUR_GRID_VALUE_MARKER_PLOT = OFF
%if CONTOUR_GRID_VALUE_PLOT = OFF %then
%unset CONTOUR_GRID_VALUE_PLOT_TYPE
%unset CONTOUR_GRID_VALUE_TYPE
%unset CONTOUR_GRID_VALUE_COLOUR
%unset CONTOUR_GRID_VALUE_FORMAT
%unset CONTOUR_GRID_VALUE_HEIGHT
%unset CONTOUR_GRID_VALUE_QUALITY
# %unset CONTOUR_GRID_VALUE_MARKER_PLOT
%unset CONTOUR_GRID_VALUE_MARKER_INDEX
%unset CONTOUR_GRID_VALUE_MARKER_COLOUR
%unset CONTOUR_GRID_VALUE_MARKER_HEIGHT
%unset CONTOUR_GRID_VALUE_MARKER_QUAL
%unset CONTOUR_GRID_VALUE_MIN
%unset CONTOUR_GRID_VALUE_MAX
%unset CONTOUR_GRID_VALUE_LAT_FREQUENCY
%unset CONTOUR_GRID_VALUE_LON_FREQUENCY
%if CONTOUR_GRID_VALUE_PLOT_TYPE = VALUE %then
%unset CONTOUR_GRID_VALUE_MARKER_INDEX
%unset CONTOUR_GRID_VALUE_MARKER_COLOUR
%unset CONTOUR_GRID_VALUE_MARKER_HEIGHT
%unset CONTOUR_GRID_VALUE_MARKER_QUAL
%if CONTOUR_GRID_VALUE_PLOT_TYPE = MARKER %then
%unset CONTOUR_GRID_VALUE_TYPE
%unset CONTOUR_GRID_VALUE_COLOUR
%unset CONTOUR_GRID_VALUE_FORMAT
%unset CONTOUR_GRID_VALUE_HEIGHT
%unset CONTOUR_GRID_VALUE_QUALITY
%if GRIB_TEXT = OFF %then
%unset GRIB_TEXT_UNITS
%unset GRIB_TEXT_EXPERIMENT
%unset GRIB_TEXT_PLOT_TYPE
%unset GRIB_TEXT_SPLIT
%if CONTOUR_SHADE = ON %and CONTOUR_SHADE_TECHNIQUE = GRID_SHADING %then
%unset CONTOUR_METHOD
|