What problem does it solve?
Integrating third-party ML weather models into Earth2Studio requires following strict conventions for coordinate systems, inheritance, testing, and documentation, which is error-prone without guidance.
Core Features & Use Cases
- Structured Wrapper Creation: Generates prognostic model files with required triple inheritance (torch.nn.Module, AutoModelMixin, PrognosticMixin), canonical method ordering, and SPDX headers.
- Test Generation: Produces mock and package integration tests following the Phoo dummy-model pattern, runnable via uv run pytest.
- Docs and PR Workflow: Guides dependency extras in pyproject.toml, install docs, changelog updates, validation scripts, and PR templates.
- Use Case: Ask your agent to add a Pangu-Weather wrapper from a reference inference script, and it creates the model file, tests, docs, and changelog entries following Earth2Studio conventions.
Quick Start
Ask your agent to create an Earth2Studio prognostic model wrapper for your weather model, optionally providing a reference inference script URL or path.