So, I tried to make a “tech spec” for a new module. It’s very briefly and dirty, but we can start with that.
displaying of the METAR:
- Symbol for the “Flight-Rules”: VFR/IFR/etc. You can take samples from MMM-aviationwx.css file of the MMM-aviationwx module.
- IATA/ICAO Airport code. IATA - three symbols “Station”, ICAO - four. Best way to make that configurable (to show IATA/ICAO/Both). I think that the best way to put this conversion table inside new module.
- Time of METAR observation. Be carefull, “Time” field is in Zulu time (GMT+0). Need to be cofigurable: to keep initial (Zulu time) or convert that to the local time based on timezone.
For the datafields below I propose to make a possibility to see a “brief format” or “full data” . It must be done via config.
For a brief format:
4.1) “Wind-Direction”,“Wind-Gust”,“Wind-Speed”,“Wind-Variable-Dir”: Best way to show that like “Wind-Direction”/“Wind-Speed"G"Wind-Gust” “Wind-Variable-Dir"V"Wind-Variable-Dir”…
Display of “Units”/“Wind-Speed” in current case is mandatory due to different units in different countries.
4.2) “Visibility” (with “Units”/“Visibility”)
4.3) “Cloud-List”: display all (or just first? make configurable?) layer of clouds. You can keep that “as is”, for example BKN030 means BroKeN clouds at 3000 ft.
4.4) “Temperature”/“Dewpoint” (with “Units”/“Temperature”)
4.5) “Altimeter” (with “Units”/“Altimeter”). Make that field configurable (show/do not show).
4.6) “Remarks”. Make that field configurable (show/do not show).
For a full data format - it must be done using “Raw-Report” fiels. In that case you just need to clean up ICAO 4 letter code and Time from “Raw-Report” and display the rest part of this field.
displaying of the TAF:
- Showing of TAF must be configurable (show/do not show).
- I propose to display TAF one line below METAR, without repeating of “Flight-Rules” and “Station”.
And here we can make a “brief format” or “full data” like it was above.
For a brief format:
3.1) Each time group of “Forecast” array must be displayed in the new string (tbd).
3.2) “Start-Time”/“End-Time”, “Type” (in case of BECMG or TEMPO);
3.3) “Wind-Direction”, “Wind-Gust”, “Wind-Shear”,“Wind-Speed”, so like it was above for METAR.
3.4) “Visibility” the same
3.5) “Cloud-List” the same
3.6) “Icing-List”,“Turb-List”, “Other-List”;
3.7) “Probability”
For a full data format - it must be done using “Raw-Report” field same as above.