Skip to content

Commit 7987051

Browse files
authored
Merge pull request #313 from akrherz/disable_alaska_marine
📝 Disable Juneau from Marine VTEC generation
2 parents d9dc258 + 9d7c643 commit 7987051

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/pywwa/workflows/alaska_marine.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ def process_data(txn: Transaction, buf: str) -> TextProduct | None:
6060
return None
6161

6262
nws = TextProduct(buf, utcnow=common.utcnow())
63+
# Current understanding from
64+
# https://mesonet.agron.iastate.edu/wx/afos/p.php?pil=PNSWSH&e=202512082135
65+
# is that Juneau is now using MWW VTEC (actually 8 Jan 2026)
66+
if nws.source == "PAJK" and nws.valid.year >= 2026:
67+
LOG.info("Skipping Juneau product")
68+
return None
6369
wfo = nws.source[1:]
6470
# VTEC storage does not cross year boundaries, at this time
6571
table = f"warnings_{nws.valid.year}"

0 commit comments

Comments
 (0)