-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Description
Consider the following METAR report:
METAR EBBR 040220Z VRB01KT 0150 R25L/1200N R25R/0600N R02/P1500N FG BKN001 07/06 Q1017 NOSIG=
It says, that RVR for runways 25L is 1200 m, for 25R is 600 m, and for 02 is 1500 m, respectively.
However, the output of the following code gives the same values but with unit feet, which is wrong, since the METAR report gives meters.
from metar import Metar
m = Metar.Metar('METAR EBBR 040220Z VRB01KT 0150 R25L/1200N R25R/0600N R02/P1500N FG BKN001 07/06 Q1017 NOSIG')
print(m.runway_visual_range())
on runway 25L, 1200 feet; on runway 25R, 600 feet; on runway 02, greater than 1500 feet
Similarly, requesting RVR in unit meters explicitly give wrong values:
for name, low, high, unit in m.runway:
print(f"RVR for runway {name}: {low.value(units='M')} m")
RVR for runway 25L: 365.7599882956804 m
RVR for runway 25R: 182.8799941478402 m
RVR for runway 02: 457.1999853696005 m
Metadata
Metadata
Assignees
Labels
No labels