Skip to content

fix: improve MARS request handling for forecast datasets#562

Open
floriankrb wants to merge 6 commits intomainfrom
fix/mars-wildcard-date-filter
Open

fix: improve MARS request handling for forecast datasets#562
floriankrb wants to merge 6 commits intomainfrom
fix/mars-wildcard-date-filter

Conversation

@floriankrb
Copy link
Member

Fix MARS request handling for forecast data with wildcard date patterns and SCDA stream.

  • Handle wildcard date patterns (e.g. ????-??-01) in factorise_requests by renaming to user_date/user_time for proper filtering
  • Fall back user_time to request time key when user_time is absent
  • Accept string type for user_date without raising ValueError
  • Auto-select SCDA stream for 06/18 UTC ECMWF operational runs
  • Strip internal filter keys before forwarding to MARS

Split from #545.

- Handle wildcard date patterns (e.g. ????-??-01) in factorise_requests
  by renaming to user_date/user_time for proper filtering
- Fall back user_time to request 'time' key when user_time is absent
- Accept string type for user_date without raising ValueError
- Auto-select SCDA stream for 06/18 UTC ECMWF operational runs
- Strip internal filter keys before forwarding to MARS
- Add clarifying comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ATS Approval not needed bug Something isn't working

Projects

Status: To be triaged

Development

Successfully merging this pull request may close these issues.

1 participant