I still cannot understand how other add-ons always get the correct outside temp but GSX doesnt. Either read the outside temp from where they (for example PMDG) get it or lets have a chat with the owners of simconnect about what the issue is.
I think I already explained it so many times: there are TWO ways of getting the outside temperature:
- Reading JUST the variable, which won't give us the Dew point, since there's NO variable for it
OR
- Asking Simconnect for a Metar report, which will give us BOTH the Temperature AND the Dew point.
Other addons might just read the variable, and that's it but, of course, GSX trying to be as real as possible, use the Dew point to detect possible icing even when the temperature is slightly above 0 (but 7°C or less anyway), so it asks for a Metar report.
As I've said, so many times already, sometimes the Metar report either doesn't arrive, or it's an illegal string or, it simply doesn't match what the temperature outside. The Metar report requires providing with a time/date/timezone and, of course, GSX correctly sends the current local time/date/timezone which it also get from Simconnect so, it's *possible* this might be somewhat related to an issue with either the time/date or the timezone, which sometimes can be wrong as well, as very well known by the existence of several utilities that "fix" the timezone. It's likely that, when a 3rd party weather engine changes the weather, it might not be reported correct in time, so the Metar report we ask might be outdated.
So, in order to stop users from assuming this is a GSX "bug" (it clearly isn't), we'll do this for the next update:
TWO icing detection strategies will be used:
1) The realistic one, reading Metar data from Simconnect, which will allow us to use the Dew point
2) The simpler one, reading only the Ambient Temperature variable.
The Ambient Temperature variable will be read anyway and, the "realistic" strategy will be used ONLY when BOTH temperature readouts (the one from the Metar and the variable itself) agrees the temperature is 7°C or less. This will take into account both the Temperature and Dew point to detect possible icing.
If the standard temperature variable disagree with the temperature reported in the Metar OR if the Metar cannot be read for any reason (illegal string, not getting any report, etc.), the "simpler" strategy will be used instead, which will use only the temperature (the variable) to detect icing so, it would be basically allow deicing only when the temperature is below 0 OR when it's between 0 and 7°C if it's raining/snowing.