Skip to content

Commit

Permalink
add GU Guam to state_names reference
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Jan 21, 2023
1 parent 2e3154c commit 925a9bb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ a polygon, but does not (#660).
### Bug Fixes

- Account for `MapPlot` custom domain that crosses anti-meridian (#655).
- Add GU "Guam" to pyiem.reference.state_names.
- Allow non-conforming `DHMSG` within SHEF.
- Cleanup and improve windrose title / time filtering logic (#663).
- Correct VTEC database accounting issue for emergencies (#676).
- Correct VTEC database accounting issue for emergencies (#676).
- Correct VTEC database partitioning for difficult event spanning years.
- Draw mask on all known sectored plots.
- Increased default `pyiem.util.get_dbconn` connect timeout to 30 seconds.
Expand Down Expand Up @@ -85,7 +86,6 @@ entries for multiple-level freezing airmets (#628).

## **1.13.0** (24 Jun 2022)


### API Changes

- Added `sqlalchemy` as a hard package requirement.
Expand Down
1 change: 1 addition & 0 deletions src/pyiem/data/reference/state_names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DC District of Columbia
DE Delaware
FL Florida
GA Georgia
GU Guam
HI Hawaii
IA Iowa
ID Idaho
Expand Down
6 changes: 6 additions & 0 deletions tests/test_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
from pyiem import reference


def test_states():
"""Test that we have the same number of states"""
assert len(reference.state_names) == len(reference.state_bounds)
_ = [reference.state_bounds[x] for x in reference.state_names]


def test_reference():
"""Can we import everything from our API."""
for name in reference._onthefly_dict:
Expand Down

0 comments on commit 925a9bb

Please sign in to comment.