技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
installation-discovery【数据与研究】Route Earth2Studio installation, optional dependency selection, environment validation, and task-driven discovery of model families, data sources, lexicons, examples, and output backends without running inference or downloading data.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user needs to prepare an Earth2Studio environment or
narrow a weather/climate task to a small, defensible set of model, data-source,
lexicon, example, and output-backend candidates. The verified source snapshot is
0.18.0a0; treat package metadata and the user's installed version as the
authority when they differ from this snapshot.
input_coords() requirements against a source lexicon and then check grid,
time, region, access, and hardware constraints.Earth2StudioClient,
RemoteEarth2Workflow, or a server.Read the detailed installation reference, model and data overview, and troubleshooting guide as needed. Use the safe, offline environment checker for a local preflight.
Collect only the facts needed for routing:
uv, pip, or Conda-managed Python).If Python or CUDA facts are missing, ask for them rather than promising that an extra will work. Run only read-only checks supplied by the user, for example:
python --version
python -c "import torch; print(torch.__version__, torch.version.cuda, torch.cuda.is_available())"
python scripts/check_environment.py --json
Use uv run instead of bare python when the project is managed by uv. The
checker itself is standard-library-only and is safe from an arbitrary cwd.
>=3.11,<3.15; Python 3.10 and Python 3.15 are unsupported for this
snapshot. PyTorch must be installed for the selected CUDA/CPU target before
GPU-sensitive extras.data, perturbation, statistics, or
utils only when the task needs it. Do not install all merely to avoid
deciding: it is broad, expensive, and does not make every model combination
semantically compatible.uv add "earth2studio[<extra>,...]" or
pip install "earth2studio[<extra>,...]". With Conda, create/activate the
Python 3.13 environment and use standard Python tooling for Earth2Studio;
do not mix a second dependency resolver without a reason. Approved source
revisions use the same extra syntax with the project's VCS requirement.flash-attn; Atlas and some StormCast variants use natten; FCN3/SFNO
and perturbation use torch-harmonics; some packages are configured for
no-build-isolation. Build tools and Python headers may be required.python -c "import earth2studio; print(earth2studio.__version__)"
python scripts/check_environment.py --require-cuda # only for GPU tasks
A successful core import proves neither optional model imports nor checkpoint access. Validate each selected optional class with a targeted import after the user installs its extra; do not import every model namespace as a proxy.
Build a short list, not a catalog dump:
(time, variable) and returns an xarray DataArray; a forecast
source adds lead_time; dataframe variants return pandas dataframes.input_coords() variable coordinate with the candidate
lexicon's VOCAB keys. This is a necessary screen, not proof of fit: also
compare pressure/height conventions, latitude/longitude grid, time/lead-time
coverage, source availability, and any authentication.ZarrBackend is the default
datetime-friendly choice; AsyncZarrBackend is for asynchronous/sharded
writes with filesystem/inode trade-offs; NetCDF4Backend, XarrayBackend,
and KVBackend cover other file, in-memory, or key/value needs. This is
discovery guidance only; no workflow is executed here.For AutoModel-backed classes, load_default_package() only creates a package
reference. Asset access occurs later when model loading resolves package files.
from_pretrained(path_or_uri) accepts a local package or supported fsspec-style
URI, including NGC, Hugging Face, and S3 forms. Explain cache and licensing
boundaries before any later load: Earth2Studio's Apache-2.0 license does not
license third-party checkpoints or datasets, and public access does not remove
provider terms or credential requirements.
Return:
When an import, Python, CUDA, extra conflict, source lexicon, grid, or access condition cannot be proven locally, label it as an unresolved gap and give the smallest read-only check that would resolve it.