climate-data/v1

Default

currentGet

Get current 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": "2022-11-29T16:30:00Z",
		"t2m_min": "9.1",
		"t2m_med": "9.1",
		"t2m_max": "9.2",
		"rf_min": "96.2",
		"rf_med": "96.4",
		"rf_max": "96.6",
		"wg_min": "0",
		"wg_med": "0.5",
		"wg_max": "1.1",
		"wr_min": null,
		"wr_med": "13.4",
		"wr_max": "357.2",
		"nied_min": "0",
		"nied_med": "0",
		"nied_max": "0",
		"gs_min": "0",
		"gs_med": "0",
		"gs_max": "0",
		"sd_min": "0",
		"sd_med": "0",
		"sd_max": "0"
	},
	{
		"station": "287",
		"measure_date": "2022-11-29T16:30:00Z",
		"t2m_min": "8.5",
		"t2m_med": "8.5",
		"t2m_max": "8.6",
		"rf_min": "100",
		"rf_med": "100",
		"rf_max": "100",
		"wg_min": "0.7",
		"wg_med": "1.5",
		"wg_max": "2.4",
		"wr_min": null,
		"wr_med": "337.9",
		"wr_max": "358.9",
		"nied_min": null,
		"nied_med": null,
		"nied_max": null,
		"gs_min": "0",
		"gs_med": "0",
		"gs_max": "0",
		"sd_min": "0",
		"sd_med": "0",
		"sd_max": "0"
	},
	{
		"station": "DWD05906",
		"measure_date": "2022-11-29T15:50:00Z",
		"t2m_min": "8",
		"t2m_med": "8",
		"t2m_max": "8.1",
		"rf_min": null,
		"rf_med": "96.5",
		"rf_max": null,
		"wg_min": "0.6",
		"wg_med": "1.3",
		"wg_max": "2",
		"wr_min": null,
		"wr_med": "320",
		"wr_max": null,
		"nied_min": null,
		"nied_med": "0.2299999985843897",
		"nied_max": null,
		"gs_min": null,
		"gs_med": null,
		"gs_max": null,
		"sd_min": null,
		"sd_med": null,
		"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": "2022-11-29T16:30:00Z",
	"t2m_min": "9.1",
	"t2m_med": "9.1",
	"t2m_max": "9.2",
	"rf_min": "96.2",
	"rf_med": "96.4",
	"rf_max": "96.6",
	"wg_min": "0",
	"wg_med": "0.5",
	"wg_max": "1.1",
	"wr_min": null,
	"wr_med": "13.4",
	"wr_max": "357.2",
	"nied_min": "0",
	"nied_med": "0",
	"nied_max": "0",
	"gs_min": "0",
	"gs_med": "0",
	"gs_max": "0",
	"sd_min": "0",
	"sd_med": "0",
	"sd_max": "0"
}

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": {
		"2022-11-01T00:00:00Z": {
			"t2m_max": "14",
			"t2m_med": "13.9",
			"t2m_min": "13.9",
			"rf_max": "96.6",
			"rf_med": "96.5",
			"rf_min": "96.3",
			"wg_max": "3.1",
			"wg_med": "1.1",
			"wg_min": "0",
			"wr_med": "135.3",
			"nied_sum-n": 0,
			"nied_med": "0",
			"sd_med": null,
			"sd_sum-s": 0,
			"gs_med": "0"
		},
		"2022-11-01T00:10:00Z": {
			"t2m_max": "14",
			"t2m_med": "13.9",
			"t2m_min": "13.8",
			"rf_max": "96.6",
			"rf_med": "96.5",
			"rf_min": "96.4",
			"wg_max": "3",
			"wg_med": "1.3",
			"wg_min": "0",
			"wr_med": "145.1",
			"nied_sum-n": 0,
			"nied_med": "0",
			"sd_med": null,
			"sd_sum-s": 0,
			"gs_med": "0"
		},
		"2022-11-01T00:20:00Z": {
			"t2m_max": "14",
			"t2m_med": "13.9",
			"t2m_min": "13.9",
			"rf_max": "96.7",
			"rf_med": "96.4",
			"rf_min": "96.2",
			"wg_max": "3.8",
			"wg_med": "1.3",
			"wg_min": "0.4",
			"wr_med": "130.9",
			"nied_sum-n": 0,
			"nied_med": "0",
			"sd_med": null,
			"sd_sum-s": 0,
			"gs_med": "0"
		},
		"2022-11-01T00:30:00Z": {
			"t2m_max": "14.1",
			"t2m_med": "14.1",
			"t2m_min": "14",
			"rf_max": "96.2",
			"rf_med": "95.7",
			"rf_min": "95.4",
			"wg_max": "2.8",
			"wg_med": "1.3",
			"wg_min": "0",
			"wr_med": "140.5",
			"nied_sum-n": 0,
			"nied_med": "0",
			"sd_med": null,
			"sd_sum-s": 0,
			"gs_med": "0"
		},
		...		
	}
}

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",
    "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­straße",
		"slug": "schlossgartenstrasse",
		"address": "Schlossgartenstraße 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", "rf": "1", "wg": "1", "wr": "1", "nied": "1", "gs": "1", "sd": "0", "t2m_technology": "Fa. Rotronic: HC2A-S3", "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ösung 0,1 mm mit Heizung)", "gs_technology": "Fa. Indium Sensor: SDE 9.1 ", "sd_technology": null, "description": "" }, { "station_id": "287", "name": "Stadtkämmerei (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", "rf": "1", "wg": "1", "wr": "1", "nied": "0", "gs": "1", "sd": "0", "t2m_technology": "Fa. Rotronic: HC2A-S3", "rf_technology": "Fa. Rotronic: HC2A-S3", "wg_technology": "Fa. Thies: Ultrasonic Anemometer 2D (compact)", "wr_technology": "Fa. Thies: Ultrasonic Anemometer 2D (compact)", "nied_technology": "", "gs_technology": "Fa. Indium Sensor: SDE 9.1", "sd_technology": null, "description": "" }, { "station_id": "DWD05906", "name": "DWD Station", "slug": "dwd-station", "address": "Siebenbürger Straße,
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", "rf": "1", "wg": "1", "wr": "1", "nied": "1", "gs": "0", "sd": "0", "t2m_technology": "Fa. E + E Elektronik: EE260", "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": null, "description": "" } ]

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­straße",
	"slug": "schlossgartenstrasse",
	"address": "Schlossgartenstraße 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", "rf": "1", "wg": "1", "wr": "1", "nied": "1", "gs": "1", "sd": "0", "t2m_technology": "Fa. Rotronic: HC2A-S3", "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ösung 0,1 mm mit Heizung)", "gs_technology": "Fa. Indium Sensor: SDE 9.1 ", "sd_technology": null, "description": "" }

Parameters

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

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 404 - Not Found