earth2studio-install

작성자: nvidia

Guide installing Earth2Studio via uv or pip, selecting model extras, and configuring the environment. Do NOT use for writing inference code, choosing models,…

npx skills add https://github.com/nvidia/skills --skill earth2studio-install

Earth2Studio Installation Skill

Never install packages automatically

You MUST NOT install, upgrade, or modify packages on the user's behalf. Provide the exact command; the user runs it. No exceptions.

Forbidden: running pip install, uv pip install, uv add, uv sync, conda install, apt install, or any package manager.

Instead: give the exact command and ask the user to run it. Explain why the package is needed.

When a package is needed:

  1. Identify it
  2. Provide the exact command
  3. Explain why it is needed
  4. Wait for the user to confirm they ran it

Even if the user says "just install it", give the command and require them to execute it themselves.

Purpose

Help users install Earth2Studio and its optional model dependencies correctly for their use case. This skill handles package installation, optional-extra selection, environment variable configuration, and install verification.

Prerequisites

  • Python 3.10+ (3.13 recommended)
  • CUDA-capable GPU with compatible drivers for GPU extras
  • uv (recommended) or pip package manager
  • Internet access (packages installed from PyPI and GitHub)

You are helping a user install Earth2Studio and its optional model dependencies. Your only job is to get the package installed correctly for their use case — do not write inference code, do not compose workflows.

Core principle: docs are the source of truth

Earth2Studio installation commands, version tags, and extra names change between releases. Before executing or recommending any install command, fetch the live installation docs:

https://nvidia.github.io/earth2studio/userguide/about/install.html

Parse the page for the current version tag, available extras, and any special build notes. The workflow below is structural guidance — the specific commands come from the live page.

Instructions

Step 1. Fetch live docs

Use WebFetch on the install URL above. Extract:

  • Current release version tag (e.g. @0.14.0)
  • Available optional extras by category
  • Known build quirks (e.g. --no-build-isolation for pip, manual pre-installs)

Keep this data in working memory for all subsequent steps.

Step 2. Understand the user's environment

Ask (cap at 3 questions, skip what the user already answered):

  1. Package manager — uv (recommended) or pip? If unsure, recommend uv and link https://docs.astral.sh/uv/getting-started/installation/
  2. Project context — new project or adding to existing?
  3. Python version — recommend the version from the docs (currently 3.13)

Step 3. Base install

Provide commands from the live docs based on their answers:

  • uv uses a git source (not PyPI) to handle URL-based transitive dependencies
  • pip installs from PyPI but some extras require manual pre-install steps

After the user runs the install, verify:

import earth2studio
earth2studio.__version__

Step 4. Select models and extras

Present the available extras organized by use case. Ask what the user plans to do — don't dump all options unprompted. Categories from the docs:

CategoryExample extras
Prognostic (forecasting)aifs, aurora, graphcast, pangu, sfno, stormcast, ...
Diagnostic (post-processing)corrdiff, climatenet, precip-afno, ...
Data assimilation (beta)da-healda, da-interp, da-stormcast
Submodulesdata, perturbation, statistics

The exact list comes from the live docs — cite those, not this table.

Ask:

  1. Which models do you plan to use?
  2. Do you need submodule extras (data sources, perturbation methods, statistics)?
  3. Or install everything? (uv only: --extra all)

Step 5. Install selected extras

Provide the exact commands from the live docs for their selections. Key warnings to surface:

  • Slow builds: flash-attention (AIFS variants), natten (Atlas, StormScope), torch-harmonics CUDA extensions (FCN3, SFNO) — can take 10-30+ minutes
  • pip-specific manual steps: some models require --no-build-isolation or pre-installing packages like earth2grid, torch-harmonics, or makani
  • Data assimilation models: require CuPy + cuDF (CUDA 12)

Step 6. Configuration (offer, don't force)

Mention environment variables the user might want to set — only if relevant (e.g. limited disk, shared filesystem, CI environment):

VariablePurpose
EARTH2STUDIO_CACHEGeneral cache directory
EARTH2STUDIO_DATA_CACHEData source cache (overrides general)
EARTH2STUDIO_MODEL_CACHEModel checkpoint cache (overrides general)
EARTH2STUDIO_PACKAGE_TIMEOUTMax seconds for model downloads

Troubleshooting

If installation fails, point the user to:

Common issues:

  • PyTorch/CUDA mismatch: verify torch.cuda.is_available() first
  • flash-attention build failure: CUDA toolkit version must match PyTorch CUDA
  • ONNX Runtime GPU: may need version-specific install for their CUDA
  • ecCodes missing: required for GRIB data handling; install via sudo apt-get install libeccodes-dev (Debian/Ubuntu) or conda install -c conda-forge eccodes
  • Python.h: No such file or directory: missing Python development headers; install via sudo apt-get install python3-dev

Limitations

  • Cannot help with runtime errors unrelated to missing dependencies
  • Does not cover model checkpoint downloads (those happen at first inference)
  • Data source setup beyond the data extra is out of scope
  • Cannot write inference or training code, or compose Earth2Studio workflows

Ownership and out-of-scope

Owns: package installation, optional-extra selection, environment variable configuration, install verification.

Does not own: writing inference or training code, composing Earth2Studio workflows, data source setup beyond the data extra, model checkpoint downloads (those happen at runtime), troubleshooting runtime errors unrelated to missing dependencies.

nvidia의 다른 스킬

compileiq-debug
nvidia
Use when something is wrong: Search() hangs, all evaluations return INVALID_SCORE, scores aren't improving, every config returns the same number, ptxas errors…
official
create-github-pr
nvidia
gh CLI를 사용하여 GitHub 풀 리퀘스트를 생성합니다. 사용자가 새 PR을 만들거나, 코드 리뷰를 제출하거나, 풀 리퀘스트를 열고자 할 때 사용합니다. 트리거 키워드 -…
official
diagnose-perf
nvidia
First-responder performance triage for Isaac Sim and Isaac Lab. Identifies bottleneck category (GPU-bound, CPU-bound, VRAM, loading) using nvidia-smi and…
official
eagle3-review-logs
nvidia
Review EAGLE3 pipeline experiment logs from the launcher's experiments/ directory. Summarizes pass/fail status for all 4 tasks, diagnoses failures with root…
official
nemoclaw-maintainer-cross-issue-sweep
nvidia
다른 열린 이슈들을 스캔하여 주어진 PR이 함께 수정하거나 실수로 망가뜨릴 수 있는 이슈를 찾습니다. 인접 수정 기회와 모순 위험을 file:line…과 함께 출력합니다.
official
karpathy-guidelines
nvidia
일반적인 LLM 코딩 실수를 줄이기 위한 행동 지침입니다. 코드 작성, 검토 또는 리팩토링 시 과도한 복잡성을 피하고 정밀한 변경을 위해 사용하세요.
official
fhir-basics
nvidia
에이전트에게 FHIR R4 API의 작동 방식, 사용 가능한 리소스, 검색 매개변수를 사용한 쿼리 방법, 모든 응답 형식을 올바르게 파싱하는 방법을 가르칩니다…
official
underdeclared-agent
nvidia
A helpful assistant agent
official