Skip to content

Extend HRRR analysis dataset back to 2014-10-01 with PRMSL/MSLMA variable name handling#431

Open
aldenks wants to merge 3 commits intomainfrom
claude/extend-hrrr-historical-SrmZ2
Open

Extend HRRR analysis dataset back to 2014-10-01 with PRMSL/MSLMA variable name handling#431
aldenks wants to merge 3 commits intomainfrom
claude/extend-hrrr-historical-SrmZ2

Conversation

@aldenks
Copy link
Member

@aldenks aldenks commented Feb 7, 2026

The HRRR analysis dataset previously started at 2018-09-16 (HRRRv3). This extends
it to 2014-10-01 (start of HRRR operations), adding 4+ years of historical data.

Key changes:

  • Add grib_element_alternatives to NoaaInternalAttrs for variables whose GRIB
    element name changed across model versions
  • Update GRIB index parser and read_data to match against alternative element names
  • Set PRMSL as alternative for pressure_reduced_to_mean_sea_level (MSLMA in v3)
  • Add integration test verifying download+read works for pre-v3 and post-v3 data

https://claude.ai/code/session_01SLHvx4dqQ4bjsLwQjJ1UGT

…able name handling

The HRRR analysis dataset previously started at 2018-09-16 (HRRRv3). This extends
it to 2014-10-01 (start of HRRR operations), adding 4+ years of historical data.

Key changes:
- Add grib_element_alternatives to NoaaInternalAttrs for variables whose GRIB
  element name changed across model versions
- Update GRIB index parser and read_data to match against alternative element names
- Set PRMSL as alternative for pressure_reduced_to_mean_sea_level (MSLMA in v3)
- Add integration test verifying download+read works for pre-v3 and post-v3 data

https://claude.ai/code/session_01SLHvx4dqQ4bjsLwQjJ1UGT
Skip variables with 0 matches (missing from index, e.g. pre-v3 DLWRF/RH)
with log.exception, and use first match for duplicates (pre-v3 APCP/WEASD).
Update integration test to pass all vars without pre-filtering. Add unit
tests for grib_element_alternatives and missing var skip behavior.

https://claude.ai/code/session_01SLHvx4dqQ4bjsLwQjJ1UGT
Only APCP is allowed to use first-match for duplicates (verified: pre-v3
HRRR entries differ by at most 13/1.9M cells, max 0.001 kg/m²). All other
variables with non-unique matches are skipped with a logged exception.

https://claude.ai/code/session_01SLHvx4dqQ4bjsLwQjJ1UGT
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.

2 participants