thermograph/frontend/tests/fixtures/city.json
2026-07-22 22:23:50 -07:00

328 lines
7.4 KiB
JSON

{
"city": {
"slug": "london-england-gb",
"name": "London",
"admin1": "England",
"country": "United Kingdom",
"country_code": "GB",
"lat": 51.50853,
"lon": -0.12574,
"population": 8961989
},
"display": "London, England, United Kingdom",
"title": "London, GB",
"year_range": [
1980,
2026
],
"n_years": 46,
"months": [
{
"name": "January",
"slug": "january",
"high_f": 44.5,
"low_f": 35.3,
"range_lo_f": 27.2,
"range_hi_f": 51.9,
"precip_f": 0.1
},
{
"name": "February",
"slug": "february",
"high_f": 45.6,
"low_f": 35.1,
"range_lo_f": 26.9,
"range_hi_f": 52.8,
"precip_f": 0.1
},
{
"name": "March",
"slug": "march",
"high_f": 50.7,
"low_f": 38.3,
"range_lo_f": 30.9,
"range_hi_f": 57.1,
"precip_f": 0.1
},
{
"name": "April",
"slug": "april",
"high_f": 55.5,
"low_f": 40.1,
"range_lo_f": 33.4,
"range_hi_f": 63.4,
"precip_f": 0.1
},
{
"name": "May",
"slug": "may",
"high_f": 61.5,
"low_f": 46.5,
"range_lo_f": 40.3,
"range_hi_f": 69.9,
"precip_f": 0.1
},
{
"name": "June",
"slug": "june",
"high_f": 67.0,
"low_f": 52.2,
"range_lo_f": 46.5,
"range_hi_f": 75.3,
"precip_f": 0.1
},
{
"name": "July",
"slug": "july",
"high_f": 71.1,
"low_f": 56.2,
"range_lo_f": 51.3,
"range_hi_f": 79.8,
"precip_f": 0.1
},
{
"name": "August",
"slug": "august",
"high_f": 71.0,
"low_f": 56.5,
"range_lo_f": 51.2,
"range_hi_f": 78.9,
"precip_f": 0.1
},
{
"name": "September",
"slug": "september",
"high_f": 65.6,
"low_f": 52.4,
"range_lo_f": 46.7,
"range_hi_f": 72.1,
"precip_f": 0.1
},
{
"name": "October",
"slug": "october",
"high_f": 58.4,
"low_f": 47.2,
"range_lo_f": 39.6,
"range_hi_f": 64.2,
"precip_f": 0.1
},
{
"name": "November",
"slug": "november",
"high_f": 50.5,
"low_f": 41.0,
"range_lo_f": 32.1,
"range_hi_f": 57.3,
"precip_f": 0.1
},
{
"name": "December",
"slug": "december",
"high_f": 45.7,
"low_f": 36.9,
"range_lo_f": 27.5,
"range_hi_f": 53.5,
"precip_f": 0.1
}
],
"warmest_month_slug": "july",
"coldest_month_slug": "february",
"wettest_month_slug": "january",
"all_time_records": {
"tmax": {
"max": 97.5,
"max_date": "2022-07-19",
"min": 20.3,
"min_date": "1987-01-12"
},
"tmin": {
"max": 71.8,
"max_date": "2022-07-19",
"min": 3.3,
"min_date": "1981-12-13"
},
"feels": {
"max": 100.6,
"max_date": "2019-07-25",
"min": -5.3,
"min_date": "1986-02-10"
},
"fmax": {
"max": 100.6,
"max_date": "2019-07-25",
"min": 11.8,
"min_date": "1987-01-12"
},
"fmin": {
"max": 73.2,
"max_date": "2026-06-26",
"min": -5.3,
"min_date": "1986-02-10"
},
"humid": {
"max": 17.4,
"max_date": "2026-06-24",
"min": 1.9,
"min_date": "1987-01-12"
},
"wind": {
"max": 41.5,
"max_date": "1987-10-16",
"min": 2.3,
"min_date": "2024-12-27"
},
"gust": {
"max": 81.7,
"max_date": "2000-10-30",
"min": 5.8,
"min_date": "2024-12-27"
},
"precip": {
"max": 1.23,
"max_date": "2021-06-18",
"min": 0.0,
"min_date": "1980-01-01"
}
},
"today_vs_normal": {
"date": "2026-07-22",
"cards": [
{
"label": "High",
"metric": "tmax",
"value_f": 79.4,
"percentile": 89.1,
"grade": "High",
"cls": "hot"
},
{
"label": "Low",
"metric": "tmin",
"value_f": 62.8,
"percentile": 94.3,
"grade": "Very High",
"cls": "very-hot"
},
{
"label": "Feels-like",
"metric": "feels",
"value_f": 78.0,
"percentile": 82.5,
"grade": "High",
"cls": "hot"
},
{
"label": "Humidity",
"metric": "humid",
"value_f": 10.9,
"percentile": 46.4,
"grade": "Normal",
"cls": "normal"
},
{
"label": "Wind",
"metric": "wind",
"value_f": 9.6,
"percentile": 36.8,
"grade": "Below Normal",
"cls": "cool"
},
{
"label": "Gust",
"metric": "gust",
"value_f": 21.5,
"percentile": 41.3,
"grade": "Normal",
"cls": "normal"
},
{
"label": "Precip",
"metric": "precip",
"value_f": 0.0,
"percentile": null,
"grade": "Dry",
"cls": "dry"
}
]
},
"flavor": {
"extract": "London is the capital and largest city of England and the United Kingdom, with a population of 9.1 million people in 2024. Its wider metropolitan area is the largest in Western Europe, with a population of 15.4 million.",
"title": "London",
"url": "https://en.wikipedia.org/wiki/London"
},
"event": {
"text": "The Great Smog of December 1952 blanketed London in toxic coal fog for days, killing thousands and prompting the UK's landmark Clean Air Act.",
"url": "https://en.wikipedia.org/wiki/Great_Smog_of_London"
},
"default_unit": "C",
"breadcrumb": [
{
"name": "Home",
"href": "/"
},
{
"name": "Climate",
"href": "/climate"
},
{
"name": "United Kingdom",
"href": null
},
{
"name": "London",
"href": null
}
],
"canonical_path": "/climate/london-england-gb",
"page_title": "London, GB climate: daily normals, records & how unusual it is now",
"page_description": "London, GB averages highs of 22°C in July and lows of 2°C in February. Every day graded against 46 years of local history.",
"jsonld": {
"@context": "https://schema.org",
"@graph": [
{
"@type": "Dataset",
"name": "London, England, United Kingdom climate normals and records",
"description": "Average temperatures, precipitation and record highs and lows for London, England, United Kingdom, from ~46 years of daily climate history.",
"url": "http://127.0.0.1:18137/climate/london-england-gb",
"temporalCoverage": "1980/2026",
"spatialCoverage": {
"@type": "Place",
"name": "London, England, United Kingdom",
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.50853,
"longitude": -0.12574
}
},
"creator": {
"@type": "Organization",
"name": "Thermograph"
},
"isBasedOn": "https://open-meteo.com/ (ERA5 reanalysis)"
},
{
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "http://127.0.0.1:18137/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Climate",
"item": "http://127.0.0.1:18137/climate"
},
{
"@type": "ListItem",
"position": 3,
"name": "London"
}
]
}
]
}
}