Skip to content

Support single-month GRIB input files #3

@davidfillmore

Description

@davidfillmore

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions