ESST, METARs and weather in DCS
Posted: Wed Oct 03, 2018 11:49 am
Hey guys !
As some of you may know already, I'm guilty for the Discord bot that's been pestering people about for the last few weeks.
It's been a project of mine for a little while, the ultimate goal being able to remotely manage a DCS server on a computer somewhere in the cloud.
It's far from finished but there are already a few features implemented.
One of those feature is allowing users to set weather, time and dates for a given mission.
The weather can be specified, from parameters like wind, pressure, or clouds, or from a METAR string. It can also be "pulled" from real life METAR station, by giving it the ICAO code of a given station e.g. KLAS).
In its current state, my weather library is very confused by the North American METAR format.
I've been working on that in the past weeks, and I revamped the whole thing so it can chew and spew all kinds of units and formats.
A few of the current use cases:
Here is a link to a (huge) text file, containing many thousands real-life METARs that have been converted using both my library and a third party one (for comparison):
If one of you has a few minutes to help me debug the darn thing, I'm interested in any & all feedback you might have, regarding all aspects of the current implementation.
Thanks guys =)
As some of you may know already, I'm guilty for the Discord bot that's been pestering people about for the last few weeks.
It's been a project of mine for a little while, the ultimate goal being able to remotely manage a DCS server on a computer somewhere in the cloud.
It's far from finished but there are already a few features implemented.
One of those feature is allowing users to set weather, time and dates for a given mission.
The weather can be specified, from parameters like wind, pressure, or clouds, or from a METAR string. It can also be "pulled" from real life METAR station, by giving it the ICAO code of a given station e.g. KLAS).
In its current state, my weather library is very confused by the North American METAR format.
I've been working on that in the past weeks, and I revamped the whole thing so it can chew and spew all kinds of units and formats.
A few of the current use cases:
- Extract the weather from a MIZ file, and create a METAR out of it
- Given a METAR string, extract a weather profile and apply it to a MIZ file (following different, weird DCS constraints such as min/max temp, "forced" cloud coverage depending on the precipitations, etc.).
- Given a weather (either from METAR or from MIZ file), make a text that will be fed to a TTS engine in order to create an MP3 that will serve as an ATIS (currently only working for UniversRadio, SRS implementation is in the works but no ETA as of now).
Here is a link to a (huge) text file, containing many thousands real-life METARs that have been converted using both my library and a third party one (for comparison):
If one of you has a few minutes to help me debug the darn thing, I'm interested in any & all feedback you might have, regarding all aspects of the current implementation.
Thanks guys =)