Implement MRMS review feedback: explicit source metadata, product fallbacks, and robust pre-v12 band selection#480
Merged
aldenks merged 3 commits intoclaude/implement-noaa-mrms-conus-oYYudfrom Mar 2, 2026
Conversation
Co-authored-by: aldenks <463484+aldenks@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement PR feedback for pull request 472
Implement MRMS review feedback: explicit source metadata, product fallbacks, and robust pre-v12 band selection
Mar 2, 2026
aldenks
requested changes
Mar 2, 2026
Comment on lines
251
to
252
| mrms_fallback_products_pre_v12=(), | ||
| mrms_fallback_products=(), |
Member
There was a problem hiding this comment.
default these source file coord attrs to () and remove setting it explicitly to ()
Contributor
Author
There was a problem hiding this comment.
Updated in 19b2f7d: mrms_fallback_products_pre_v12 and mrms_fallback_products now default to (), and I removed explicit =() assignments from the vars that were setting empties.
Co-authored-by: aldenks <463484+aldenks@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
c6756a3
into
claude/implement-noaa-mrms-conus-oYYud
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses the latest PR feedback on MRMS CONUS hourly ingest behavior and metadata modeling. The update makes fallback product handling explicit in config/coords and hardens pre-v12 GRIB band selection to use discipline metadata instead of positional assumptions.
Source coord + internal attrs made explicit
NoaaMrmsSourceFileCoordnow requires:level: strfallback_products: tuple[str, ...]NoaaMrmsInternalAttrsnow requires explicit values for:mrms_product_pre_v12mrms_levelNoaaMrmsInternalAttrsdefines defaults for:mrms_fallback_products_pre_v12 = ()mrms_fallback_products = ()Fallback product policy encoded in template metadata
precipitation_surface:mrms_fallback_products = ("MultiSensor_QPE_01H_Pass1", "RadarOnly_QPE_01H")mrms_fallback_products_pre_v12 = ("RadarOnly_QPE_01H",)Download routing updated to try product × source combinations
("iowa",)("s3", "ncep")("s3",)Pre-v12 two-band files now select by GRIB discipline
reader.count == 2and pre-v12 timestamps, selection now finds the band whoseGRIB_DISCIPLINEstarts with209, and asserts one exists.Targeted tests + template refresh
level/fallback_products.templates/latest.zarr.💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.