Magnus Wolffelt 4c51b4b822
Seasonal weather types per theater.
Adjusts the weather conditions per theater and  per season.
2021-07-31 03:57:23 -07:00

38 lines
1.1 KiB
Python

from .seasonalconditions import SeasonalConditions, Season, WeatherTypeChances
CONDITIONS = SeasonalConditions(
summer_avg_pressure=29.98, # TODO: Find real-world data
winter_avg_pressure=29.80, # TODO: Find real-world data
summer_avg_temperature=32.5,
winter_avg_temperature=15.0,
temperature_day_night_difference=2.0,
weather_type_chances={
# TODO: Find real-world data for all these values
Season.Winter: WeatherTypeChances(
# Winter there is some rain in PG (Dubai)
thunderstorm=1,
raining=15,
cloudy=35,
clear_skies=50,
),
Season.Spring: WeatherTypeChances(
thunderstorm=1,
raining=2,
cloudy=18,
clear_skies=80,
),
Season.Summer: WeatherTypeChances(
thunderstorm=1,
raining=1,
cloudy=8,
clear_skies=90,
),
Season.Fall: WeatherTypeChances(
thunderstorm=1,
raining=2,
cloudy=18,
clear_skies=80,
),
},
)