Summary
MATCH's GRIB reader assumed multi-month input files and would fail or produce incorrect interpolation when only a single month of data was available. This fix clamps time interpolation at file boundaries in both grib_interp() and grib_getdata(), allowing single-month GRIB files to work correctly.
Commits
- 0267741 Allow single-month GRIB input by clamping time interpolation at boundaries
- 647ccbc Also clamp grib_getdata() at month boundaries, not just grib_interp()
Status
Implemented and pushed to main. Ready for review.
Summary
MATCH's GRIB reader assumed multi-month input files and would fail or produce incorrect interpolation when only a single month of data was available. This fix clamps time interpolation at file boundaries in both
grib_interp()andgrib_getdata(), allowing single-month GRIB files to work correctly.Commits
Status
Implemented and pushed to
main. Ready for review.