Weather Utils

weather_app.utils.weather_utils.get_weekly_weather_data(input_data)[source]

Method used accross views to acces WeatherData

Parameters:

input_data – dict with latitude and longitude

Returns:

Data from meto Api

weather_app.utils.weather_utils.summarize_weather(codes)[source]

Utils method for generating weather summary

Parameters:

code – list of WMO weather codes

Returns:

String summarazing weather