anemoi.utils.mars package
Utilities for working with Mars requests.
Has some knowledge of how certain streams are organised in Mars.
- anemoi.utils.mars.recenter(date: datetime, center: dict[str, Any], members: dict[str, Any]) tuple[dict[str, Any] | None, dict[str, Any] | None]
Recenter the given date with the specified center and members.
- Parameters:
date (datetime.datetime) – The date to recenter.
center (dict) – The center request information.
members (dict) – The members request information.
- Returns:
A tuple containing the recentered center and members information.
- Return type: