climate-data/v1

Default

currentGet

Get the latest climate data of all available stations.


/current

Usage and Response Sample

curl -X GET\
"https://stadtklimaanalyse-mannheim.de/wp-json/climate-data/v1/current"
[
    {
        "station": "288",
        "measure_date": "2024-06-13T11:50:00Z",
        "t2m_min": "18.4",
        "t2m_med": "18.8",
        "t2m_max": "19.1",
        "tbn_min": "26.9",
        "tbn_med": "27.4",
        "tbn_max": "28.4",
        "bod5_min": "25.4",
        "bod5_med": "25.5",
        "bod5_max": "25.5",
        "rf_min": "37.2",
        "rf_med": "39.5",
        "rf_max": "41.5",
        "wg_min": "0",
        "wg_med": "0.7",
        "wg_max": "2",
        "wr_min": null,
        "wr_med": "182.2",
        "wr_max": "334.8",
        "nied_min": null,
        "nied_med": "0",
        "nied_max": null,
        "gs_min": null,
        "gs_med": "447.5",
        "gs_max": null,
        "sd_min": null,
        "sd_med": "15",
        "sd_max": null
    },
    {
        "station": "287",
        "measure_date": "2024-06-06T19:20:00Z",
        "t2m_min": "21.5",
        "t2m_med": "21.7",
        "t2m_max": "21.8",
        "tbn_min": "19.6",
        "tbn_med": "19.7",
        "tbn_max": "20",
        "bod5_min": null,
        "bod5_med": null,
        "bod5_max": null,
        "rf_min": "29.7",
        "rf_med": "30.2",
        "rf_max": "31.1",
        "wg_min": "0.6",
        "wg_med": "2",
        "wg_max": "4.4",
        "wr_min": null,
        "wr_med": "309.3",
        "wr_max": "356.6",
        "nied_min": null,
        "nied_med": "0",
        "nied_max": null,
        "gs_min": null,
        "gs_med": "7.2",
        "gs_max": null,
        "sd_min": null,
        "sd_med": "0",
        "sd_max": null
    },
    {
        "station": "292",
        "measure_date": "2023-11-03T10:40:00Z",
        "t2m_min": "9.5",
        "t2m_med": "9.6",
        "t2m_max": "9.7",
        "tbn_min": null,
        "tbn_med": null,
        "tbn_max": null,
        "bod5_min": null,
        "bod5_med": null,
        "bod5_max": null,
        "rf_min": "77.9",
        "rf_med": "78.4",
        "rf_max": "79.1",
        "wg_min": "0.6",
        "wg_med": "1.7",
        "wg_max": "3.3",
        "wr_min": null,
        "wr_med": "178.3",
        "wr_max": "201.4",
        "nied_min": null,
        "nied_med": "0",
        "nied_max": null,
        "gs_min": null,
        "gs_med": "121.3",
        "gs_max": null,
        "sd_min": null,
        "sd_med": "0",
        "sd_max": null
    },
    {
        "station": "DWD05906",
        "measure_date": "2024-06-13T11:20:00Z",
        "t2m_min": "17.5",
        "t2m_med": "17.5",
        "t2m_max": "17.9",
        "tbn_min": null,
        "tbn_med": null,
        "tbn_max": null,
        "bod5_min": null,
        "bod5_med": null,
        "bod5_max": null,
        "rf_min": null,
        "rf_med": "43.8",
        "rf_max": null,
        "wg_min": "0.5",
        "wg_med": "2",
        "wg_max": "4.5",
        "wr_min": null,
        "wr_med": "140",
        "wr_max": null,
        "nied_min": null,
        "nied_med": "0",
        "nied_max": null,
        "gs_min": null,
        "gs_med": "400.8",
        "gs_max": null,
        "sd_min": null,
        "sd_med": "20",
        "sd_max": null
    }
]

Parameters

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 404 - Not Found


currentIdGet

Get current climate data of one specific station.


/current/{id}

Usage and Response Sample

curl -X GET\
"https://stadtklimaanalyse-mannheim.de/wp-json/climate-data/v1/current/{id}"
{
    "station": "288",
    "measure_date": "2024-06-13T11:50:00Z",
    "t2m_min": "18.4",
    "t2m_med": "18.8",
    "t2m_max": "19.1",
    "tbn_min": "26.9",
    "tbn_med": "27.4",
    "tbn_max": "28.4",
    "bod5_min": "25.4",
    "bod5_med": "25.5",
    "bod5_max": "25.5",
    "rf_min": "37.2",
    "rf_med": "39.5",
    "rf_max": "41.5",
    "wg_min": "0",
    "wg_med": "0.7",
    "wg_max": "2",
    "wr_min": null,
    "wr_med": "182.2",
    "wr_max": "334.8",
    "nied_min": null,
    "nied_med": "0",
    "nied_max": null,
    "gs_min": null,
    "gs_med": "447.5",
    "gs_max": null,
    "sd_min": null,
    "sd_med": "15",
    "sd_max": null
}

Parameters

Path parameters
Name Description
id*
String
The specififc station ID.
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 404 - Not Found


historicIdStartdateEnddateGet

Get historic climate data of one specific station between a startdate and an enddate, both formatted YYYY-MM-DD.


/historic/{id}/{startdate}/{enddate}

Usage and Response Sample

curl -X GET\
"https://stadtklimaanalyse-mannheim.de/wp-json/climate-data/v1/historic/{id}/{startdate}/{enddate}"
{
	"station_id": "288",
	"startdate": "2022-11-01T00:00:00Z",
	"enddate": "2022-11-01T23:59:59Z",
	"average": false,
	"data": {
		"2024-06-13T11:00:00Z": {
            "t2m_max": "19.5",
            "t2m_med": "18.7",
            "t2m_min": "17.8",
            "tbn_max": "32.7",
            "tbn_med": "30.5",
            "tbn_min": "28.9",
            "bod5_max": "25.1",
            "bod5_med": "25.1",
            "bod5_min": "25.1",
            "rf_max": "44.5",
            "rf_med": "40.9",
            "rf_min": "38.1",
            "wg_max": "2",
            "wg_med": "0.8",
            "wg_min": "0",
            "wr_med": "227.1",
            "nied_sum-n": 0,
            "nied_med": "0",
            "sd_med": 0.13333333333333333,
            "sd_sum-s": 4.699999999999999,
            "gs_med": "969.8"
        },
        "2024-06-13T11:10:00Z": {
            "t2m_max": "19.6",
            "t2m_med": "19.1",
            "t2m_min": "18.7",
            "tbn_max": "35.2",
            "tbn_med": "34.2",
            "tbn_min": "32.7",
            "bod5_max": "25.3",
            "bod5_med": "25.2",
            "bod5_min": "25.1",
            "rf_max": "43.6",
            "rf_med": "39.3",
            "rf_min": "37",
            "wg_max": "2.5",
            "wg_med": "1.1",
            "wg_min": "0",
            "wr_med": "159.5",
            "nied_sum-n": 0,
            "nied_med": "0",
            "sd_med": 0.14716666666666667,
            "sd_sum-s": 4.799999999999999,
            "gs_med": "1051.5"
        },
        "2024-06-13T11:20:00Z": {
            "t2m_max": "18.9",
            "t2m_med": "18.5",
            "t2m_min": "18.1",
            "tbn_max": "34.3",
            "tbn_med": "31.1",
            "tbn_min": "28.5",
            "bod5_max": "25.5",
            "bod5_med": "25.4",
            "bod5_min": "25.3",
            "rf_max": "44.1",
            "rf_med": "41.3",
            "rf_min": "39.4",
            "wg_max": "2.4",
            "wg_med": "0.9",
            "wg_min": "0",
            "wr_med": "191.1",
            "nied_sum-n": 0,
            "nied_med": "0",
            "sd_med": 0.016666666666666666,
            "sd_sum-s": 4.799999999999999,
            "gs_med": "385.4"
        },
		...		
	}
}

Parameters

Path parameters
Name Description
id*
String
The specififc station ID.
Required
startdate*
String
The startdate of data queried, formatted YYYY-MM-DD.
Required
enddate*
String
The enddate of data queried, formatted YYYY-MM-DD.
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 404 - Not Found


parametersGet

Get list of available climate parameters, stations and averages.


/parameters

Usage and Response Sample

curl -X GET\
"https://stadtklimaanalyse-mannheim.de/wp-json/climate-data/v1/parameters"
{
  "parameters": {
    "t2m_max": "Lufttemperatur in 2m Höhe [°C], Maximum im 10-Min-Intervall",
    "t2m_med": "Lufttemperatur in 2m Höhe [°C], Mittelwert im 10-Min-Intervall",
    "t2m_min": "Lufttemperatur in 2m Höhe [°C], Minimum im 10-Min-Intervall",
    "tbn_max": "Maximum der Lufttemperatur in Bodennähe (5 oder 20cm Höhe) [°C], Maximum im 10-Min-Intervall",
    "tbn_med": "Mittelwert der Lufttemperatur in Bodennähe (5 oder 20cm Höhe) [°C], Maximum im 10-Min-Intervall",
    "tbn_min": "Minimum der Lufttemperatur in Bodennähe (5 oder 20cm Höhe) [°C], Maximum im 10-Min-Intervall",
    "bod5_max": "Maximum der Bodentemperatur in 5cm Tiefe [°C], Maximum im 10-Min-Intervall",
    "bod5_med": "Mittelwert der Bodentemperatur in 5cm Tiefe [°C], Mittelwert im 10-Min-Intervall",
    "bod5_min": "Minimum der Bodentemperatur in 5cm Tiefe [°C], Minimum im 10-Min-Intervall",
    "rf_max": "rel. Lufttfeuchte in 2m Höhe [%], Maximum im 10-Min-Intervall",
    "rf_med": "rel. Lufttfeuchte in 2m Höhe [%], Mittelwert im 10-Min-Intervall",
    "rf_min": "rel. Lufttfeuchte in 2m Höhe [%], Maximum im 10-Min-Intervall",
    "wg_max": "Windgeschwindigkeit in 10m Höhe [m/s], Maximum im 10-Min-Interval",
    "wg_med": "Windgeschwindigkeit in 10m Höhe [m/s], Mittelwert im 10-Min-Interval",
    "wg_min": "Windgeschwindigkeit in 10m Höhe [m/s], Minimum im 10-Min-Interval",
    "wr_med": "Windrichtung in 10m Höhe [deg], Mittelwert im 10-Min-Interval",
    "nied_sum-n": "Niederschlag [mm], aufsummierte 10-Minutensummenwerte 06:00 h UTC Vortag bis 05:50 h UTC aktueller Tag",
    "nied_med": "Niederschlag [mm],  10-Minutensummenwerte",
    "sd_med": "Sonnenscheindauer [h], 10-Minutensummenwerte",
    "sd_sum-s": "Sonnenscheindauer [h], aufsummierte 10-Minutensummenwerte 00:00 h - 24:00 h",
    "gs_med": "Globalstrahlung [W/qm], 10-Minutenmittelwerte"
  },
  "average": [
    "10 minutes",
    "hour",
    "day",
    "week",
    "month",
    "year"
  ],
  "stations": {
    "287": "Stadtkämmerei (Dach)",
    "288": "Schlossgarten­straße",
    "DWD05906": "DWD Station"
  }
}

Parameters

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 404 - Not Found


stationGet

Get details of all available climate stations.


/station

Usage and Response Sample

curl -X GET\
"https://stadtklimaanalyse-mannheim.de/wp-json/climate-data/v1/station"
[
    {
        "station_id": "288",
        "name": "Schlossgarten\u00adstra\u00dfe",
        "slug": "schlossgartenstrasse",
        "address": "Schlossgartenstra\u00dfe 1,68161 Mannheim",
        "latitude": "49.4811",
        "longitude": "8.467",
        "type": "Boden, Siedlung",
        "height_nn": "95 m",
        "height_ground": "3 m",
        "operator": "Stadt Mannheim, Fachbereich Geoinformation und Stadtplanung",
        "image1": "https:\/\/stadtklimaanalyse-mannheim.de\/wp-content\/uploads\/2022\/01\/AndreasHenn-035-DSC08842-m-scaled.jpg",
        "image2": "https:\/\/stadtklimaanalyse-mannheim.de\/wp-content\/uploads\/2022\/01\/AndreasHenn-022-DSC08793-m-scaled.jpg",
        "document": "\/wp-content\/uploads\/2022\/11\/Steckbrief_Schlossgartenstrasse.pdf",
        "measure_interval": "10 Minuten",
        "time_format": "+01:00",
        "t2m": "1",
        "tbn": "1",
        "bod5": "1",
        "rf": "1",
        "wg": "1",
        "wr": "1",
        "nied": "1",
        "gs": "1",
        "sd": "1",
        "t2m_technology": "Fa. Rotronic: HC2A-S3",
        "tbn_technology": "",
        "bod5_technology": "",
        "rf_technology": "Fa. Rotronic: HC2A-S3",
        "wg_technology": "Fa. Thies: Ultrasonic Anemometer 2D (compact)",
        "wr_technology": "Fa. Thies: Ultrasonic Anemometer 2D (compact)",
        "nied_technology": "Fa. Thies: Automatischer Regenmesser mit Wippe (Aufl\u00f6sung 0,1 mm mit Heizung)",
        "gs_technology": "Fa. Indium Sensor: SDE 9.1 ",
        "sd_technology": "Fa. Indium Sensor: SDE 9.1",
        "description": "",
        "qr_views": "17",
        "data_views": "4577"
    },
    {
        "station_id": "287",
        "name": "Stadtk\u00e4mmerei (Dach)",
        "slug": "E4",
        "address": "E4 1, 68159 Mannheim",
        "latitude": "49.489",
        "longitude": "8.4636",
        "type": "Dach, Siedlung",
        "height_nn": "125 m",
        "height_ground": "6-12 m",
        "operator": "Stadt Mannheim, Fachbereich Geoinformation und Stadtplanung",
        "image1": "https:\/\/stadtklimaanalyse-mannheim.de\/wp-content\/uploads\/2021\/12\/AndreasHenn-021-DSC08870-m-scaled.jpg",
        "image2": "https:\/\/stadtklimaanalyse-mannheim.de\/wp-content\/uploads\/2021\/12\/AndreasHenn-027-DSC08916-m-scaled.jpg",
        "document": "\/wp-content\/uploads\/2022\/11\/Steckbrief_Stadtkaemmerei.pdf",
        "measure_interval": "10 Minuten",
        "time_format": "+01:00",
        "t2m": "1",
        "tbn": "1",
        "bod5": "0",
        "rf": "1",
        "wg": "1",
        "wr": "1",
        "nied": "1",
        "gs": "1",
        "sd": "1",
        "t2m_technology": "Fa. Rotronic: HC2A-S3",
        "tbn_technology": "",
        "bod5_technology": "",
        "rf_technology": "Fa. Rotronic: HC2A-S3",
        "wg_technology": "Fa. Thies: Ultrasonic Anemometer 2D (compact)",
        "wr_technology": "Fa. Thies: Ultrasonic Anemometer 2D (compact)",
        "nied_technology": "Fa. Thies: Automatischer Regenmesser mit Wippe (Aufl\u00f6sung 0,1 mm mit Heizung)",
        "gs_technology": "Fa. Indium Sensor: SDE 9.1",
        "sd_technology": "Fa. Indium Sensor: SDE 9.1",
        "description": "",
        "qr_views": "0",
        "data_views": "3635"
    },
    {
        "station_id": "DWD05906",
        "name": "DWD Station",
        "slug": "dwd-station",
        "address": "Siebenb\u00fcrger Stra\u00dfe,68259 Mannheim",
        "latitude": "49.50635",
        "longitude": "8.558466",
        "type": "Freiland",
        "height_nn": "98,5 m",
        "height_ground": "1-10 m",
        "operator": "Deutscher Wetterdienst",
        "image1": "",
        "image2": "",
        "document": "",
        "measure_interval": "10 Minuten",
        "time_format": "UTC",
        "t2m": "1",
        "tbn": "0",
        "bod5": "0",
        "rf": "1",
        "wg": "1",
        "wr": "1",
        "nied": "1",
        "gs": "1",
        "sd": "1",
        "t2m_technology": "Fa. E + E Elektronik: EE260",
        "tbn_technology": null,
        "bod5_technology": null,
        "rf_technology": "Fa. E + E Elektronik: EE260",
        "wg_technology": "Fa. Thies: Ultrasonic Anemometer 2D compact",
        "wr_technology": "Fa. Thies: Ultrasonic Anemometer 2D compact",
        "nied_technology": "Fa. Lambrecht: rain[e]H3",
        "gs_technology": "Fa. Siggelkow: SONIe Sonnenenergie-Sensor e2",
        "sd_technology": "",
        "description": "",
        "qr_views": "0",
        "data_views": "4001"
    }
]

Parameters

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 404 - Not Found


stationIdGet

Get details of one specific climate station.


/station/{id}

Usage and Response Sample

curl -X GET\
"https://stadtklimaanalyse-mannheim.de/wp-json/climate-data/v1/station/{id}"
{
    "station_id": "288",
    "name": "Schlossgarten\u00adstra\u00dfe",
    "slug": "schlossgartenstrasse",
    "address": "Schlossgartenstra\u00dfe 1,68161 Mannheim",
    "latitude": "49.4811",
    "longitude": "8.467",
    "type": "Boden, Siedlung",
    "height_nn": "95 m",
    "height_ground": "3 m",
    "operator": "Stadt Mannheim, Fachbereich Geoinformation und Stadtplanung",
    "image1": "https:\/\/stadtklimaanalyse-mannheim.de\/wp-content\/uploads\/2022\/01\/AndreasHenn-035-DSC08842-m-scaled.jpg",
    "image2": "https:\/\/stadtklimaanalyse-mannheim.de\/wp-content\/uploads\/2022\/01\/AndreasHenn-022-DSC08793-m-scaled.jpg",
    "document": "\/wp-content\/uploads\/2022\/11\/Steckbrief_Schlossgartenstrasse.pdf",
    "measure_interval": "10 Minuten",
    "time_format": "+01:00",
    "t2m": "1",
    "tbn": "1",
    "bod5": "1",
    "rf": "1",
    "wg": "1",
    "wr": "1",
    "nied": "1",
    "gs": "1",
    "sd": "1",
    "t2m_technology": "Fa. Rotronic: HC2A-S3",
    "tbn_technology": "",
    "bod5_technology": "",
    "rf_technology": "Fa. Rotronic: HC2A-S3",
    "wg_technology": "Fa. Thies: Ultrasonic Anemometer 2D (compact)",
    "wr_technology": "Fa. Thies: Ultrasonic Anemometer 2D (compact)",
    "nied_technology": "Fa. Thies: Automatischer Regenmesser mit Wippe (Aufl\u00f6sung 0,1 mm mit Heizung)",
    "gs_technology": "Fa. Indium Sensor: SDE 9.1 ",
    "sd_technology": "Fa. Indium Sensor: SDE 9.1",
    "description": "",
    "qr_views": "17",
    "data_views": "4577"
}

Parameters

Path parameters
Name Description
id*
String
The specififc station ID.
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 404 - Not Found