APIs for climate data (originally CHELSA)
https://climate.mapresso.com/api/data/?lat=lat&lon=lon
https://climate.mapresso.com/api/data/?lat=23.13&lon=-82.361
{
"results": {
"location": {
"lat": "23.13",
"lon": "-82.361"
}
},
"status": "OK",
"data": [{
"month": 1,
"temp": 22.15,
"prec": 55.7
}, {
"month": 2,
"temp": 22.75,
"prec": 65.7
}, {
"month": 3,
"temp": 23.65,
"prec": 48.4
}, {
"month": 4,
"temp": 25.05,
"prec": 78.3
}, {
"month": 5,
"temp": 26.55,
"prec": 117.3
}, {
"month": 6,
"temp": 27.55,
"prec": 229
}, {
"month": 7,
"temp": 28.15,
"prec": 141.4
}, {
"month": 8,
"temp": 28.15,
"prec": 165.9
}, {
"month": 9,
"temp": 27.45,
"prec": 205.4
}, {
"month": 10,
"temp": 26.35,
"prec": 143.2
}, {
"month": 11,
"temp": 24.65,
"prec": 77.4
}, {
"month": 12,
"temp": 23.15,
"prec": 53
}]
}
https://climate.mapresso.com/api/koeppen/?
lat=lat&lon=lon
https://climate.mapresso.com/api/koeppen/?
lat=23.13&lon=-82.361
{
"results": {
"lat": 23.13,
"lon": -82.361,
"version": "0.90-pyzonae"
},
"status": "OK",
"data": [{
"type": "K\u00f6ppen-Geiger",
"code": "Am",
"short": "KG",
"text": "Tropical monsoon climate"
}, {
"type": "K\u00f6ppen-Geiger, Kottek",
"code": "Am",
"short": "KGk",
"text": "Tropical monsoon climate"
}, {
"type": "K\u00f6ppen-Geiger, Peel",
"code": "Am",
"short": "KGp",
"text": "Tropical monsoon climate"
}, {
"type": "Cannon",
"code": "3hW",
"short": "C"
}, {
"type": "Trewartha",
"code": "Aw",
"short": "T",
"text": "Tropical Wet-And-Dry"
}, {
"type": "Defaut (1996)",
"code": "G1",
"short": "D96"
}, {
"type": "Thornthwaite-Feddema (2005)",
"code": "Dry Hot",
"short": "TF"
}, {
"type": "Whittaker (1970)",
"code": "Tropical seasonal forest/savanna",
"short": "W"
}]
}}
https://climate.mapresso.com/api/koeppen/?
temp=J,F,M,A,M,J,J,A,S,O,N,D
&prec=J,F,M,A,M,J,J,A,S,O,N,D
lat/lon may optionally be added to this URL. They only
affect which half-year counts as "summer" for the 2nd/3rd Köppen letter; without them, a
Northern-Hemisphere location is assumed.
https://climate.mapresso.com/api/koeppen/?
temp=1.3,2.1,5.9,9.3,13.9,17.1,19.2,18.7,14.9,10.7,5.2,2.3
&prec=70,67,81,83,117,123,127,123,102,87,81,90
{
"results": {
"lat": 1,
"lon": 0,
"version": "0.90-pyzonae"
},
"status": "OK",
"data": [{
"type": "K\u00f6ppen-Geiger",
"code": "Cfb",
"short": "KG",
"text": "Temperate oceanic climate"
}, {
"type": "K\u00f6ppen-Geiger, Kottek",
"code": "Cfb",
"short": "KGk",
"text": "Temperate oceanic climate"
}, {
"type": "K\u00f6ppen-Geiger, Peel",
"code": "Cfb",
"short": "KGp",
"text": "Temperate oceanic climate"
}, {
"type": "Cannon",
"code": "4HW",
"short": "C"
}, {
"type": "Trewartha",
"code": "Do",
"short": "T",
"text": "Temperate Oceanic"
}, {
"type": "Defaut (1996)",
"code": "AX3c",
"short": "D96"
}, {
"type": "Thornthwaite-Feddema (2005)",
"code": "Wet Cold",
"short": "TF"
}, {
"type": "Whittaker (1970)",
"code": "Temperate seasonal forest",
"short": "W"
}]
}