1
0
Fork 0

Added environment/realwx/metar-url

Code will still default to the hardcoded URL if present.

[station] in the URL will be replaced with the actual required station; so the URL is now https://tgftp.nws.noaa.gov/data/observations/metar/stations/[station].TXT
This commit is contained in:
Richard Harrison 2019-03-17 00:43:24 +01:00
parent dce80cbf83
commit b8bed54099

View file

@ -301,6 +301,7 @@
<cloudlayers include="cloudlayers.xml"/> <cloudlayers include="cloudlayers.xml"/>
<realwx> <realwx>
<metar-url>https://tgftp.nws.noaa.gov/data/observations/metar/stations/[station].TXT</metar-url>
<!-- Spawn a metar loader for each metar node <!-- Spawn a metar loader for each metar node
index 0..9 are reserved for internal (hardcoded) loaders index 0..9 are reserved for internal (hardcoded) loaders
and will be set from FlightGear's subsystems. and will be set from FlightGear's subsystems.