{{/* Ported from templates/records.html.j2. Extra data (formatted by the handler inside unit_for_country scope, as in Python): .Breadcrumb; .City (needs .Slug); .Display/.Name string; .YearRange [2]int; .Rows []{Label string; High, Low template.HTML; HighDate, LowDate string} — Low is either the formatted metric value or the "N-day dry spell" text, LowDate already "—"-defaulted (content.py records_page); .Monthly []{Name, Slug string; High, Low side} and .Seasonal []{Name, Span string; High, Low side} where a side is {Warm, Cold *{Cls string; Txt template.HTML; Date string}}; .Hemisphere string; .AllTime contentapi.AllTimeRecords (raw floats — .Fmt.Temp runs in the template, like Jinja's temp()); .ToolHref string (full "{base}/#{lat:.5f},{lon:.5f}" — composed inline the fragment comma would be %-escaped by html/template's urlEscaper); .JSONLDStr template.JS (compacted raw payload bytes — the |safe site; trusted backend-owned JSON-LD, never re-marshaled through a Go map). */}} {{/* A metric's two extremes — ▲ warmest and ▼ coldest it has ever been — as tinted chips with the date each occurred. Used for the daytime-high and overnight-low columns of the month and season tables. (Jinja macro `extremes`.) */}} {{define "extremes" -}} {{if and .Warm .Cold -}}
{{.Warm.Txt}}{{.Warm.Date}}
{{.Cold.Txt}}{{.Cold.Date}}
{{else -}} —{{end}}{{end}}{{template "base_head_start" .}}{{template "base_head_end" .}}{{template "base_body_start" .}}{{template "breadcrumb" .}}

{{.Display}} weather records

Record high and low temperatures for {{.Display}}, by month, by season, and all-time, with the dates they occurred, across {{index .YearRange 0}}–{{index .YearRange 1}} of daily climate history.{{if and .AllTime.Tmax .AllTime.Tmin}} Its hottest day on record reached {{.Fmt.Temp .AllTime.Tmax.Max}} on {{.AllTime.Tmax.MaxDate}}; its coldest fell to {{.Fmt.Temp .AllTime.Tmin.Min}} on {{.AllTime.Tmin.MinDate}}.{{end}}

Records by month

The warmest (▲) and coldest (▼) both the daytime high and the overnight low have ever been in each calendar month, so each column shows its record high and its record low. Tap a month for its full averages and typical range.

{{range .Monthly}} {{end}}
MonthDaytime highOvernight low
{{.Name}} {{template "extremes" .High}} {{template "extremes" .Low}}

Records by season

The warmest (▲) and coldest (▼) both the daytime high and the overnight low have reached in each meteorological season ({{.Hemisphere}} Hemisphere, each a three-month span).

{{range .Seasonal}} {{end}}
SeasonDaytime highOvernight low
{{.Name}} ({{.Span}}) {{template "extremes" .High}} {{template "extremes" .Low}}

All-time records

The most extreme value {{.Name}} has recorded for each metric across its entire history.

{{range .Rows}}

{{.Label}}

{{if eq .Label "Precip"}}Wettest{{else}}Highest{{end}} {{.High}} {{.HighDate}}
{{if eq .Label "Precip"}}Driest{{else}}Lowest{{end}} {{.Low}} {{.LowDate}}
{{end}}

For rainfall, the “driest” figure is the longest run of consecutive days without measurable rain, dated to when that dry spell began.

Grade {{.Name}}'s weather now →

‹ Back to {{.Name}} climate

{{template "base_body_end" .}}{{template "base_scripts_default" .}}{{template "base_tail" .}}