Skip to content

PR: [1pt] More efficient file read in FLASH FIM#1745

Closed
groutr wants to merge 3 commits intoNOAA-OWP:devfrom
groutr:ffim-read-fixes
Closed

PR: [1pt] More efficient file read in FLASH FIM#1745
groutr wants to merge 3 commits intoNOAA-OWP:devfrom
groutr:ffim-read-fixes

Conversation

@groutr
Copy link
Copy Markdown

@groutr groutr commented Feb 2, 2026

Restructured the reading of the grib file to make it more efficient. It reads the file once outside the loop instead of each loop iteration.

ping @CarsonPruitt-NOAA

@groutr groutr changed the title More efficient read in FLASH FIM More efficient file read in FLASH FIM Feb 2, 2026
@CarsonPruitt-NOAA CarsonPruitt-NOAA changed the title More efficient file read in FLASH FIM PR: [1pt] More efficient file read in FLASH FIM Feb 2, 2026
@CarsonPruitt-NOAA CarsonPruitt-NOAA self-assigned this Feb 2, 2026
@groutr
Copy link
Copy Markdown
Author

groutr commented Feb 2, 2026

I realized the range processing loop doesn't depend on the file being open, so we can just read the band then close the file.

@RobHanna-NOAA
Copy link
Copy Markdown
Contributor

Rolled into PR 1803: Optimize FLASH FIM Workflow

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.

3 participants