Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PW_OpenAPI.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.1.0
info:
version: "2.9.2"
version: "2.9.3"
title: Pirate Weather API
description: Pirate Weather provides an open, free, and documented source of government weather data.
termsOfService: https://pirate-weather.apiable.io/terms
Expand Down Expand Up @@ -1147,7 +1147,7 @@ components:
version:
type: string
description: The version of Pirate Weather used to generate the forecast.
example: V2.9.2
example: V2.9.3
sourceIDX:
type: object
description: The X, Y coordinate and the lat/long coordinate for each model used to generate the forecast. Only returned when version>1.
Expand Down
4 changes: 2 additions & 2 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ If you add `icon=pirate` to the list of parameters you can get an expanded icon
},
"nearest-station": -999,
"units": "ca",
"version": "V2.9.2"
"version": "V2.9.3"
}
```

Expand Down Expand Up @@ -486,7 +486,7 @@ GET https://timemachine.pirateweather.net/forecast/1234567890abcdefghijklmnopqrs
"sourceTimes": {},
"nearest-station": 0,
"units": "ca",
"version": "V2.9.2"
"version": "V2.9.3"
}
}
```
Expand Down
12 changes: 12 additions & 0 deletions docs/Blog/IncidentReports.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
Weather data is critical for many applications, and accordingly, Pirate Weather takes uptime very seriously. This page will be updated with details on any outage, along with lessons learned and next steps.


???+ note "March 8, 2026"

* Partial downtime incident wherever daylight savings time was observed.
* A indexing (it's always the indexing) bug produced nan values for hour 0, since it appeared to fall in the previous day.
* This nan created issues for the sunrise time index, since it couldn't find the time for that day.
* The issue was compounded by a monitoring failure since the bug didn't occur where monitoring was checking.
* Fixes:
* Bugfix released as version 2.9.3.
* Additional monitoring locations have been added to better catch spatially transient failures (Paris and New York): <https://pirateweather.xitoring.io/>.
* Add an additional test for daylight savings time dates: <https://github.com/Pirate-Weather/pirate-weather-code/issues/576>.


???+ note "December 24, 2025"

* Unfortunately, this was the most significant outage in several years, with a four hour prod outage. To explain the root cause, a bit of background on Pirate Weather's AWS infrastructure is required, and is all detailed in a new blog post here: [December 24, 2025 downtime incident](Infrastructure2026.md#december-24-2025-downtime-incident).
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ For a RSS feed of these changes, subscribe using this link: <https://github.com/

???+ note "Version 2.9"

* March 8, 2026, API Version 2.9.3
* Update the translations module to version 1.4.2 with improvements to the Greek translation.
* Enhance and stabilize local ingest operations as per [PR #561](https://github.com/Pirate-Weather/pirate-weather-code/pull/561).
* Fix a daylight savings time bug due to hourly-daily indexing per [PR #572](https://github.com/Pirate-Weather/pirate-weather-code/pull/572).
* Add additional monitoring endpoints to the status page: <https://pirateweather.xitoring.io/>.
* February 12, 2026, API Version 2.9.2
* Add automatic model exclusion when ingested data is stale in [PR #543](https://github.com/Pirate-Weather/pirate-weather-code/pull/543).
* NBM and NBM fire will be excluded if last run is 2 days or more old.
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Minimal requirements for building docs with Zensical
# Zensical is the static site generator; dependencies are installed by pip
zensical==0.0.23
zensical==0.0.24