Meteorologický data Olomouc

Datová sada obsahuje hodinová měření vybraných meteorologických prvků z 10 lokalit na území města Olomouce. Pokrývá atmosférický tlak, relativní vlhkost, směr větru vyjádřený procentuálním podílem času v jednotlivých hlavních směrech, rychlost větru, teplotu vzduchu ve dvou výškách nad povrchem, teplotu povrchu a teplotu ve dvou hloubkách.

Refreshes every 1 hour Public (no authentication needed) Time Series Aggregations

Time Series Parameters

This endpoint supports full dynamic time series queries. You can use the following optional query parameters:

  • start: Start of the time range (e.g., '-7d', '2023-01-01T00:00:00Z'). Defaults to -1d.
  • stop: End of the time range (e.g., 'now()'). Defaults to now.
  • window: Aggregation window. Allowed values: 15m1h1d
  • agg_func: Aggregation function(s). Can be a single value or comma-separated. Allowed values: mean min max

Build Your Query

Select which measurements to include in the query. By default, all are selected.

Generated API Query URL
Open Generated Query In

Usage Examples

Here is how you can access the data programmatically.

curl -X GET "https://iot.citiq.cloud/portal/api/v2/view/meteorological-data-olomouc/?start=-1d&window=1h&agg_func=mean"
import requests

response = requests.get("https://iot.citiq.cloud/portal/api/v2/view/meteorological-data-olomouc/?start=-1d&window=1h&agg_func=mean")
print(response.json())
fetch("https://iot.citiq.cloud/portal/api/v2/view/meteorological-data-olomouc/?start=-1d&window=1h&agg_func=mean")
  .then(response => response.json())
  .then(data => console.log(data));

Try It Out

Click the button to see a live JSON response from this API endpoint.

Available Operational Metrics

The `operational_data` array in the API response will contain objects with the following structure, based on the metrics you configured for this view.

Field Key Description Unit
No operational metrics have been configured for this view.

Available Measurements

The table below describes the measurements available in this view. For complete metadata, including units, icons, and value ranges, please refer to the metadata endpoint.

Field Key Description Data Type Value Range
device_device_frmpayload_data_ds18b20_temp1 Device: Device frmpayload data ds18b20 temp1 (°C) FLOAT Not defined
device_device_frmpayload_data_ds18b20_temp2 Device: Device frmpayload data ds18b20 temp2 (°C) FLOAT Not defined
device_device_frmpayload_data_ds18b20_temp3 Device: Device frmpayload data ds18b20 temp3 (°C) FLOAT Not defined
device_device_frmpayload_data_hih_relh Device: Device frmpayload data hih relh (°) FLOAT Not defined
device_device_frmpayload_data_hih_temp Device: Device frmpayload data hih temp (°C) FLOAT Not defined
device_device_frmpayload_data_p Pressure (hPa) FLOAT Not defined
wind_direction Wind direction (°) FLOAT Not defined
wind_speed Wind speed (m/s) FLOAT Not defined