total_cloud_cover
Get estimated total cloud cover in percent for any Swiss location and time. Also returns low, medium, and high cloud layers to distinguish fog from high cloud.
Instructions
Get how cloudy it is at a location at a specific time.
MeteoSwiss publishes low, medium and high cloud separately, and they overlap, so the
total is an estimate that assumes the layers are independent. All three layers are
returned as well, which tells low fog apart from thin high cloud.
When a number is not needed, hourly_forecast answers "how cloudy" in plain words.
Args:
location (str): Location name (e.g., "Zurich") or Swiss postal code (e.g., "8001").
when (str): Swiss local time in ISO 8601 without offset, e.g. "2026-09-23T14:00". Today or up to 8 days ahead.
Returns:
dict: Estimated total cloud cover in percent, the low, medium and high layers in
percent, the resolved location with its altitude, the time it is valid for,
and the model run.
Examples:
total_cloud_cover("Zurich", "2026-09-23T14:00")
total_cloud_cover("Locarno", "2026-09-24T09:00")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | Yes | ||
| location | Yes |