Pre-release.
earthaccess-plugin-specand the plugins are not on PyPI yet. Install them straight from GitHub for now. Once they are published, this page is replaced by plainpip install earthaccess-plugin-<name>.
You install four things: the contract (earthaccess-plugin-spec) and three
plugins (earthaccess-plugin-harmony, -pydap, -sliderule). They only work
together with the plugins branch of
earthaccess,
which will be released in v2.0.0.
- Python ≥ 3.12 and
git - An Earthdata Login account (
ea.login()reads~/.netrc, or setEARTHDATA_USERNAME/EARTHDATA_PASSWORD) - For SlideRule: an account/organization at https://slideruleearth.io
uv reads each plugin's [tool.uv.sources], so the contract is pulled from
GitHub automatically.
# 1. earthaccess on the plugins branch (the v2.0.0 preview)
git clone git@github.com:earthaccess-dev/earthaccess.git
cd earthaccess
git checkout plugins
# 2. environment + earthaccess with all optional deps
uv venv
uv pip install -e ".[all]" # or: -e . plus the deps you need
# 3. the contract and the plugins, from GitHub
uv pip install "git+https://github.com/earthaccess-dev/earthaccess-plugin-spec.git"
uv pip install "git+https://github.com/earthaccess-dev/earthaccess-plugin-harmony.git"
uv pip install "git+https://github.com/earthaccess-dev/earthaccess-plugin-pydap.git"
uv pip install "git+https://github.com/earthaccess-dev/earthaccess-plugin-sliderule.git"
# 4. notebook deps and the NetCDF stack
uv pip install jupyterlab matplotlib "h5netcdf>=1.7" netCDF4
# 5. sanity check
uv run python -c "import earthaccess as ea; ea.list_plugins()"
# 6. run the examples
source .venv/bin/activate
jupyter lab docs/tutorials/plugins/pip ignores tool.uv.sources, so install the contract first (otherwise its
dependency can't be resolved — it is not on PyPI).
# earthaccess on the plugins branch (the v2.0.0 preview)
git clone git@github.com:earthaccess-dev/earthaccess.git
cd earthaccess
git checkout plugins
python3.12 -m venv .venv && source .venv/bin/activate
pip install --upgrade pip
# contract first
pip install "git+https://github.com/earthaccess-dev/earthaccess-plugin-spec.git"
pip install -e ".[all]" # the plugins earthaccess branch
pip install "git+https://github.com/earthaccess-dev/earthaccess-plugin-harmony.git"
pip install "git+https://github.com/earthaccess-dev/earthaccess-plugin-pydap.git"
pip install "git+https://github.com/earthaccess-dev/earthaccess-plugin-sliderule.git"
pip install jupyterlab matplotlib "h5netcdf>=1.7" netCDF4
jupyter lab docs/tutorials/plugins/.[all] is heavy (rasterio, virtualizarr, icechunk, odc-stac, dask, ...). For
just the plugin notebooks:
uv pip install -e .
uv pip install xarray geopandas matplotlib jupyterlab "h5netcdf>=1.7" netCDF4- Credentials.
ea.login()reads~/.netrc; otherwise exportEARTHDATA_USERNAME/EARTHDATA_PASSWORDand callea.login(strategy="environment"). h5netcdf>=1.7. Olderh5netcdfis incompatible withh5py3.16 and fails when reading the Harmony NetCDF output.netCDF4. Only needed for the PyDAPea.download(...)example (pydap streaming output).- SlideRule. Set your organization in the notebook's
configure(...)cell:ea.plugins.sliderule.configure(url="slideruleearth.io", organization="<your-org>"). - Don't run bare
uv run jupyter labfrom the earthaccess checkout —uv runmay re-sync the environment and drop the notebook deps. Activate the venv and calljupyter lab(or useuv run --no-sync jupyter lab).