/usr/share/metview/etc/StationRules 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 | ! these 3 to fix a temporary bad solution
%if STATION_TYPE = LOCATION %then
%set SEARCH_STATIONS_DATABASE = NO
%if STATION_TYPE = WMO_STATION %then
%set SEARCH_STATIONS_DATABASE = WMO
%if SEARCH_STATIONS_DATABASE = NO %then
%unset WMO_BLOCK
%unset THRESHOLD
%unset AREA
%unset IDENT
%unset SEARCH_KEY
%if SEARCH_KEY = NAME %then
! %unset NAME
%unset IDENT
%unset WMO_BLOCK
%unset POSITION
%unset THRESHOLD
%unset AREA
%unset HEIGHT
%if SEARCH_KEY = IDENT %then
%unset NAME
! %unset IDENT
%unset WMO_BLOCK
%unset POSITION
%unset THRESHOLD
%unset AREA
%unset HEIGHT
%if SEARCH_KEY = WMO_BLOCK %then
%unset NAME
%unset IDENT
! %unset WMO_BLOCK
%unset POSITION
%unset THRESHOLD
%unset AREA
%unset HEIGHT
%if SEARCH_KEY = POSITION %then
%unset NAME
%unset IDENT
%unset WMO_BLOCK
! %unset POSITION
! %unset THRESHOLD
%unset AREA
%unset HEIGHT
%if SEARCH_KEY = AREA %then
%unset NAME
%unset IDENT
%unset WMO_BLOCK
%unset POSITION
%unset THRESHOLD
! %unset AREA
%unset HEIGHT
|