Skip to content

Commit

Permalink
mnt: discontinue raw text db storage for mcd,mpd
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Jun 1, 2024
1 parent 4374dd0 commit 8915738
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ All notable changes to this library are documented in this file.

### API Changes

- Discontinue persisting raw test product into {mcd,mpd} table storage.

### New Features

### Bug Fixes
Expand Down
5 changes: 2 additions & 3 deletions src/pyiem/nws/products/mcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,11 @@ def database_save(self, txn):
)
giswkt = f"SRID=4326;{self.geometry.wkt}"
sql = (
f"INSERT into {table} (product, product_id, geom, issue, expire, "
f"INSERT into {table} (product_id, geom, issue, expire, "
"num, year, watch_confidence, concerning) "
"values (%s, %s, %s, %s, %s, %s, %s, %s, %s)"
"values (%s, %s, %s, %s, %s, %s, %s, %s)"
)
args = (
self.text,
self.get_product_id(),
giswkt,
self.sts,
Expand Down

0 comments on commit 8915738

Please sign in to comment.