You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two points raised in the PR review:
- `fetch_atmospheric_data_from_meteomatics` stamped the instant with a
trailing "Z" without normalizing the timezone, so an aware datetime in
a non-UTC zone was sent as the wrong instant. Aware datetimes are now
converted to UTC; naive ones are documented as assumed UTC.
- Degenerate sampling arguments (`query_limit=0`, resolutions below 2)
reached `range()`/`linspace()` and failed with an opaque low-level
error after the login had already been paid for. They are now
validated up front by `_validate_meteomatics_sampling`.
- `process_meteomatics_atmosphere` silently coerced any non-string model
to "mix", hiding a mistake such as passing a Dataset or a path as
`file` and querying the wrong model. It now accepts None (default) or
a string, and raises otherwise.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments