I had to force some weather for testing, and it turns out manual weather is completely broken, at least on next.
Issue 1. Detailed weather does not completely go away and breaks Rain and Snow sliders until restart.
Issue 2. --metar no longer respected, neither if also setting --disable-weather-fetch or even forcing --prop:/environment/weather-scenario="Manual input". For example try this METAR: --metar="XXXX 000000Z 00000MPS 1000 +SHSN OVC010 M10/M11 Q1013" it will not work unless you open the dialog and type it each time.
Is this about 2020.3 or next or both? And how about 2018? Basically I'm trying to understand when this changed/broke.
next as of 2020-12-22. I will check other versions to see if they are broken
Please cherry-pick 39d616a0 (building fix for Boost >=1.75) because they won't build unless I locally cherry-pick
Both issues exist on all 2020.x branches. I can not test 2018.3 because it won't build anymore because of Boost 1.75, and the fix is not cherry-pickable to there.
Diff:
Thanks for the update, that helps somewhat.
Looks like I managed to make 2018.3 build: while cherry-picking that commit does not work, manually changing
PathSplitIterator itrtoauto itrworks.Strange, but 2018.3 is broken too. But I remember it working in at least 2020.2...
Diff:
That sounds really weird, 2020.2 and 2020.3 should be the same, at least no changes were made in this area on purpose. We should ask some more people to test and confirm, becuase we might be chasing this issue from a mixed-up direction.
Issue 2 might well be simply the launcher not considering a manual METAR case passed through "additional settings". You can also pass manual METAR through the Environment tab --> manual input. But it probably should respect the additional settings tab selection (detect it and override the selection on the environment tab perhaps, just like it does for locations)?
But I was launching FG from command line?
Both issues are there on 2020.3 and 2020.2 as well.
In case of Issue 2, the only thing that works is putting METAR string in the launcher. It never works from command line. So there is absolutely no way to spawn FG from command-line with predefined weather for quick weather testing.
Last edit: Anonymous 2021-08-19
I have just fixed Issue 1, it turned out to be not Local Weather itself but the dialog repeatedly cleaning up Local Weather outputs that it has already cleaned up. So only Issue 2 remains now.
Issue 2 is not present in the launcher is because it is setting many more arguments than just
--metarin order for it to work:Basic Weather:
Advanced Weather:
To make things weirder, it only works when I paste them to
~/.fgfsrc, and simply putting them on command line (with necessary quotation of metar and scenario strings) does not.Would it be possible instead of requiring so many properties to be set, to:
--{enable,disable}-local-weatherthat selects the weather engine and updates the weather dialog properties;--metaralso setManual inputweather scenario and in case of Local Weather also set tile properties?Last edit: Anonymous 2021-08-19
James forwarded me a ML thread which is likely related to Issue 2 here, saving it here for completeness.