Background: I use the X-Plane flightsimulator for flying and gliding. In the program we have real weather (clouds, winds, etc...) but thermals are not well implemented, they don't have any connection with clouds or weather, they are just blue thermals. We can control its altitude, climb rate and coverage (percentage). I am thinking about writing a small plugin to control these preferences based on the real weather.
Can you give a simple formula to roughly calculate thermal parameters based on data in METARs (temperature, drew point, cloud coverage/type, wind). Thanks!