| current_date_and_timeA | Get a human-readable string of the current time, weekday and date.
Returns:
str: A string in the format "Today is <weekday> <day>.<month>.<year> <hour>:<minute>:<second>"
|
| total_rainfallA | Get total rainfall for a location and offset period.
Args:
location (str): Location name (e.g., "Zurich").
lead_time_start_swiss (int): Start hour offset from today at 00:00 Swiss local time. Min offset time is 2 hours.
lead_time_end_swiss (int): End hour offset from today at 00:00 Swiss local time. Max offset time is 121 hours.
Returns:
float: Total precipitation accumulation in millimeters for the given period.
Examples:
total_rainfall("Zurich", 2, 24) # Total rainfall today
total_rainfall("Zurich", 24, 48) # Total rainfall tomorrow
total_rainfall("Zurich", 24, 30) # Total rainfall tonight
total_rainfall("Zurich", 30, 36) # Total rainfall tomorrow morning
total_rainfall("Zurich", 36, 42) # Total rainfall tomorrow afternoon
total_rainfall("Zurich", 42, 48) # Total rainfall tomorrow evening
|
| sunshine_hoursA | Get sunshine hours for a location and offset period.
Args:
location (str): Location name (e.g., "Zurich").
lead_time_start_swiss (int): Start hour offset from today at 00:00 Swiss local time. Min offset time is 2 hours.
lead_time_end_swiss (int): End hour offset from today at 00:00 Swiss local time. Max offset time is 121 hours.
Returns:
float: Predicted sunshine hours for the specified period.
Examples:
sunshine_hours("Zurich", 2, 24) # Total sunshine hours today
sunshine_hours("Zurich", 24, 48) # Total sunshine hours tomorrow
sunshine_hours("Zurich", 30, 36) # Total sunshine hours tomorrow morning
sunshine_hours("Zurich", 36, 42) # Total sunshine hours tomorrow afternoon
sunshine_hours("Zurich", 42, 48) # Total sunshine hours tomorrow evening
|
| temperatureA | Get air temperature for a location at a specific offset time.
Args:
location (str): Location name (e.g., "Zurich").
lead_time_swiss (int): Hour offset from today at 00:00 Swiss local time. Min offset time is 2 hours. Max offset time is 121 hours.
Returns:
float: Maximum air temperature in Celsius for the given lead time.
Examples:
temperature("Zurich", 2) # Temperature at 02:00 Swiss local time today
temperature("Zurich", 14) # Temperature at 14:00 Swiss local time today
temperature("Zurich", 36) # Temperature at 12:00 Swiss local time tomorrow
temperature("Zurich", 113) # Temperature at 17:00 Swiss local time in 4 days
|
| wind_speedA | Get predicted wind speed for a location at a specific offset time.
Args:
location (str): Location name (e.g., "Zurich").
lead_time_swiss (int): Hour offset from today at 00:00 Swiss local time. Min offset time is 2 hours. Max offset time is 121 hours.
Returns:
float: Predicted wind speed in meters per second.
Examples:
wind_speed("Zurich", 2) # Wind speed at 02:00 Swiss local time today
wind_speed("Zurich", 14) # Wind speed at 14:00 Swiss local time today
wind_speed("Zurich", 36) # Wind speed at 12:00 Swiss local time tomorrow
wind_speed("Zurich", 113) # Wind speed at 17:00 Swiss local time in 4 days
|
| pressure_mslA | Get sea-level pressure for a location at a specific offset time.
Args:
location (str): Location name (e.g., "Zurich").
lead_time_swiss (int): Hour offset from today at 00:00 Swiss local time. Min offset time is 2 hours. Max offset time is 121 hours.
Returns:
float: Sea-level pressure in Pascals (Pa).
Examples:
pressure_msl("Zurich", 2) # Pressure at 02:00 Swiss local time today
pressure_msl("Zurich", 14) # Pressure at 14:00 Swiss local time today
pressure_msl("Zurich", 36) # Pressure at 12:00 Swiss local time tomorrow
pressure_msl("Zurich", 113) # Pressure at 17:00 Swiss local time in 4 days
|
| total_cloud_coverA | Get total cloud cover percentage for a location at a specific offset time.
Args:
location (str): Location name (e.g., "Zurich").
lead_time_swiss (int): Hour offset from today at 00:00 Swiss local time. Min offset time is 2 hours. Max offset time is 121 hours.
Returns:
float: Total cloud cover percentage.
Examples:
total_cloud_cover("Zurich", 2) # Cloud cover at 02:00 Swiss local time today
total_cloud_cover("Zurich", 14) # Cloud cover at 14:00 Swiss local time today
total_cloud_cover("Zurich", 36) # Cloud cover at 12:00 Swiss local time tomorrow
total_cloud_cover("Zurich", 113) # Cloud cover at 17:00 Swiss local time in 4 days
|
| snow_depthA | Get forecasted snow depth for a location at a specific offset time.
Args:
location (str): Location name (e.g., "Zurich").
lead_time_swiss (int): Hour offset from today at 00:00 Swiss local time. Min offset time is 2 hours. Max offset time is 121 hours.
Returns:
float: Forecasted snow depth in meters.
Examples:
snow_depth("Zurich", 2) # Snow depth at 02:00 Swiss local time today
snow_depth("Zurich", 14) # Snow depth at 14:00 Swiss local time today
snow_depth("Zurich", 36) # Snow depth at 12:00 Swiss local time tomorrow
snow_depth("Zurich", 113) # Snow depth at 17:00 Swiss local time in 4 days
|
| precipitation_rateA | Get precipitation rate for a location at a specific offset time.
Args:
location (str): Location name (e.g., "Zurich").
lead_time_swiss (int): Hour offset from today at 00:00 Swiss local time. Min offset time is 2 hours. Max offset time is 121 hours.
Returns:
float: Precipitation rate in millimeters per second.
Examples:
precipitation_rate("Zurich", 2) # Precipitation rate at 02:00 Swiss local time today
precipitation_rate("Zurich", 14) # Precipitation rate at 14:00 Swiss local time today
precipitation_rate("Zurich", 36) # Precipitation rate at 12:00 Swiss local time tomorrow
precipitation_rate("Zurich", 113) # Precipitation rate at 17:00 Swiss local time in 4 days
|