Count the weather over Switzerland at one hour: MeteoSwiss's hourly weather symbol at all ~5800 forecast points (postal code centres, weather stations, mountain points), grouped into weather categories per MeteoSwiss forecast region and altitude band. Use it for area questions: where it is sunny, how high the fog or low stratus reaches, whether it is sunny above it, where it rains or snows. For the forecast at one place, use meteoswissLocalForecast.
Regions are MeteoSwiss's seven forecast regions: jura, mittelland (Swiss Plateau), alpennordhang (northern Alps and Prealps), wallis (Valais), engadin, nordundmittelbuenden (northern and central Grisons), alpensuedseite (southern side of the Alps: Ticino and the southern valleys of Grisons). Points outside MeteoSwiss's seven regions are counted in the nearest one.
Narrow the count with region, bbox (a WGS84 box), near (air distance around a place, at most 150 km) and min_altitude_m / max_altitude_m; given together, a point must pass all of them. With until, the count covers every hour from time to until, at most 12 hours after time (up to 13 hourly steps).
Categories: sunny, clear_night, partly_sunny, cloudy, high_cloud, fog_or_stratus, rain, sleet, snow, thunder; the answer's "legend" gives the symbol codes of each. fog_or_stratus also counts an overcast or partly sunny hour under a low cloud deck (low cloud >= 80 %, medium and high cloud < 50 %): MeteoSwiss's symbol often shows such a deck as "overcast".
Reading the answer:
- Times are local Europe/Zurich time with the UTC offset. The symbol of an hour describes the 3 hours that end at that time.
- "points" counts forecast points, not area: they are dense in towns and the lowlands and sparse in the mountains. A band with few points says little. A few places have two points (a station and a regional forecast point at the same spot); both count.
- Around sunrise and sunset MeteoSwiss switches the points from day to night symbols at different hours, so one clear sky can show as both sunny and clear_night: add them for "clear sky" at those hours.
- At high altitude fog_or_stratus usually means a summit in cloud (MeteoSwiss's own fog symbol), not a fog sea: for a fog question leave the summits out with max_altitude_m.
- Per band, "pct" holds the shares in whole percent (they add up to 100) and "dominant" the most frequent category.
- jura, mittelland and alpennordhang also carry "fog_top_m" (experimental): the top of a fog sea to the nearest 100 m: the 100 m bands that are mostly fog_or_stratus, starting with the region's lowest band (below 1000 m) up, with mostly sun in the 300 m above ("sunny_above_fog_pct"). null means no fog sea with sun above: no fog layer low down, or cloud above it. Over a window (until) all point-hours are pooled into one estimate for the whole window. For a fog question, also read the bands yourself.
- With map: "grid", "grid.rows" is a coarse map, north at the top: one character per 5 km cell, the most frequent category there ("grid.key"). Use it to say where (west or east, which valleys) rather than how much.
- The forecast is updated hourly. Further ahead it may have symbols only every few hours; a time the run does not cover is an error that names the hours it has.
Source: MeteoSwiss Open Data; the forecast regions come from the MeteoSwiss website (Source: MeteoSwiss).
View input schema
{
"type": "object",
"properties": {
"time": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "The hour to count, in local Swiss time: \"2026-11-14T10:00\" (minutes are ignored). A time with a UTC offset, e.g. \"2026-11-14T10:00:00+01:00\" from meteoswissLocalForecast, is also accepted."
},
"until": {
"description": "Last hour of a window, included, at most 12 h after time; same format as time. Every hour from time to until is counted: \"points\" stay points, the shares in \"pct\" are then shares of point-hours (each point once per hour).",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"region": {
"description": "Only this MeteoSwiss forecast region: jura, mittelland (Swiss Plateau), alpennordhang (northern Alps and Prealps), wallis (Valais), engadin, nordundmittelbuenden (northern and central Grisons), alpensuedseite (southern side of the Alps, Ticino). Default: all seven.",
"type": "string",
"enum": [
"jura",
"mittelland",
"alpennordhang",
"wallis",
"engadin",
"nordundmittelbuenden",
"alpensuedseite"
]
},
"bbox": {
"description": "Only points inside this WGS84 box: [west, south, east, north] in degrees, e.g. [7.0, 46.5, 8.5, 47.5].",
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
"near": {
"description": "Only points within radius_km of a place, e.g. {\"lat\": 47.37, \"lon\": 8.54, \"radius_km\": 40} around Zurich. Air distance, not travel time.",
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": 45,
"maximum": 48.5,
"description": "Latitude, WGS84 degrees"
},
"lon": {
"type": "number",
"minimum": 5,
"maximum": 11.5,
"description": "Longitude, WGS84 degrees"
},
"radius_km": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 150,
"description": "Radius in km, air distance, at most 150"
}
},
"required": [
"lat",
"lon",
"radius_km"
]
},
"min_altitude_m": {
"description": "Only points at or above this altitude, in m above sea level",
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"max_altitude_m": {
"description": "Only points at or below this altitude, in m above sea level",
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"bands": {
"default": [
500,
1000,
1500,
2000
],
"description": "Altitude band edges in metres, ascending, e.g. [600, 800, 1000] for a fog question; default [500, 1000, 1500, 2000] gives the bands <500, 500-999, 1000-1499, 1500-1999, >=2000. [] gives one band.",
"maxItems": 10,
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 4800
}
},
"map": {
"default": "none",
"description": "\"grid\" adds a coarse map: the most frequent category in each 5 km cell, as text rows (about 3 KB more for the whole country). Default \"none\".",
"type": "string",
"enum": [
"none",
"grid"
]
}
},
"required": [
"time"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}