Skip to content

[NO TICKET] Update _get_groundwater_level_reason func#271

Closed
TylerAdamMartinez wants to merge 2 commits into
stagingfrom
TAM-transfer-patch
Closed

[NO TICKET] Update _get_groundwater_level_reason func#271
TylerAdamMartinez wants to merge 2 commits into
stagingfrom
TAM-transfer-patch

Conversation

@TylerAdamMartinez

Copy link
Copy Markdown
Contributor

Why

This PR addresses the following problem/context:

  • I was unable to get the transfer script to work locally. This small patch made it work

How

Implementation summary - the following was changed/added/removed:

  • Maps unknown lexicons to None.

Notes

Any special considerations, workarounds, or follow-up work to note?

  • Please verify the logic to ensure that this is indeed what is intended.

@jacob-a-brown jacob-a-brown left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor comment - otherwise I think it looks good

Comment thread transfers/waterlevels_transfer.py Outdated

# If the mapper returns the raw key, it means "not mapped"
if mapped == lookup_key:
logger.warning(f"Unknown LevelStatus '{glv}', mapping to None")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will you make this logger.critical?

@codecov-commenter

codecov-commenter commented Dec 4, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
see 24 files with indirect coverage changes

@jirhiker

jirhiker commented Dec 4, 2025

Copy link
Copy Markdown
Member

this is being resolved in the latest transfer branch. There is an open PR to merge transfer into staging but im still trying to resolve issues

@TylerAdamMartinez TylerAdamMartinez marked this pull request as ready for review December 4, 2025 22:47
@jirhiker

jirhiker commented Dec 8, 2025

Copy link
Copy Markdown
Member

resolved

@jirhiker jirhiker closed this Dec 8, 2025
@TylerAdamMartinez TylerAdamMartinez deleted the TAM-transfer-patch branch February 5, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants