Skip to content

Tests - hrrr, lakes - correct path bug input to compare_netcdf_files - #82

Open
jmichellehu wants to merge 1 commit into
mainfrom
fix_gold_comparison_path_bug
Open

jmichellehu wants to merge 1 commit into
mainfrom
fix_gold_comparison_path_bug

Conversation

@jmichellehu

Copy link
Copy Markdown
Contributor

Call sites input absolute path and overrides output_dir path. Skips gold comparison of hrrr_solar.nc/solar_k.nc. Replace with filename to compare correct source and output files.

Call sites input absolute path and overrides output_dir path.
Skips gold comparison of hrrr_solar.nc/solar_k.nc.
Replace with filename to compare correct source and output files.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The test comparison path issues are corrected with no unresolved review comments.

Review effort: Lite
Findings: None

What changed in this PR

Corrects NetCDF test comparisons by passing filenames so gold and output paths resolve correctly.

Changes:

  • Fixes the Lakes comparison.
  • Corrects HRRR solar and solar_k comparisons.
File Description
smrf/​tests/​test_lakes.py Uses the correct filename-based comparison.
smrf/​tests/​data/​hrrr/​test_hrrr.py Enables valid HRRR output comparisons.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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