Observed since 20 Oct, 20:11 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Download yearly AlphaEarth embeddings for arbitrary regions.
aef-download is a Python package and CLI for downloading yearly
AlphaEarth Foundations embeddings for arbitrary regions from the public
AlphaEarth mosaic hosted on Source Cooperative.
It is designed for workflows where you want to:
Zarr storesgeopandas (GeoJSON, GPKG, SHP, and more)EPSG:43262017-2025Zarr outputsfloat32 output.progress.jsonOnce published:
pip install aef-download
pip install git+https://github.com/Caojun-whu/aef-download.git
pip install -e .
The package reads from the public AlphaEarth mosaic:
This package downloads regional subsets from that public mosaic. It does not download the full global dataset.
By default, downloaded embeddings are stored as quantized int8. Use
dequantize=True or --dequantize if you want float32 outputs instead.
Download one year using a boundary file:
aef-download download-year \
--boundary region.geojson \
--year 2022 \
--output-dir ./out \
--mask-boundary
Download multiple years:
aef-download download-years \
--boundary region.geojson \
--year-start 2017 \
--year-end 2025 \
--output-dir ./out \
--mask-boundary
Download using a bbox:
aef-download download-year \
--bbox 112.95 22.56 114.05 23.93 \
--year 2022 \
--output-dir ./out
Estimate storage without downloading:
aef-download estimate-years \
--boundary region.geojson \
--year-start 2017 \
--year-end 2025
from aef_download import download_year, estimate_year
estimate = estimate_year(
boundary_path="region.geojson",
year=2022,
)
print(estimate["estimated_storage"])
output = download_year(
boundary_path="region.geojson",
year=2022,
output_dir="./out",
mask_boundary=True,
)
print(output)
Using a bbox:
from aef_download import download_year
output = download_year(
bbox=(112.95, 22.56, 114.05, 23.93),
year=2022,
output_dir="./out",
)
print(output)
Each year is written as:
{prefix}_{year}.zarr{prefix}_{year}.zarr.progress.jsonThe Zarr store contains:
embeddingsxymask when mask_boundary=TrueTypical Zarr attributes include:
yearbboxboundary_sourcemask_boundarydequantizedDownloads are written chunk by chunk. If interrupted, rerun the same command
without --overwrite; completed chunks will be skipped and the download will
resume from the progress file.
2017-2025.(xmin, ymin, xmax, ymax) in EPSG:4326.EPSG:4326 before slicing the AlphaEarth
mosaic.Run tests:
python -m pytest tests -q
Check the CLI:
aef-download --help
Build a release:
python -m build
python -m twine check dist/*
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 5 Apr 2026 | 9 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:11 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c9b6601f9a4dbabc74f2cfed9b6bc69029f58b98b8816f6677be1a14e4c0ac20