GeoTessera
GeoTessera is a Python library for reading, exporting, and displaying Tessera embeddings.
🚀 TESSERA v2 is here
The TESSERA v2 code is now live — model weights and inference code are
available in the ucam-eo/tessera
repository. v2 is our next-generation pixel-wise Earth foundation model; see
the preprint, TESSERA v2: Scaling Pixel-wise Earth Foundation Models.
Want to try v2 embeddings early? You can pre-request v2 embeddings for
your region and become an early tester:
⚠️ Heads-up: we are still ramping up the compute, storage, and release
infrastructure for v2, so v2 embeddings will be produced slowly at first
and there is no guaranteed turnaround time. If you need embeddings now,
use v1.1 instead — wall-to-wall global coverage for
2017–2025 is available today.
Overview
GeoTessera provides access to geospatial embeddings from the Tessera
foundation model, which processes
Sentinel-1 and Sentinel-2 satellite imagery to generate 128-channel
representation maps at 10m resolution. These embeddings compress a full year of
temporal-spectral features into dense representations optimized for downstream
geospatial analysis tasks. Read more details about the model.
The Zarr API reads selected points and regions
from the cloud store and returns dequantized values on their native UTM
grid. The tile API downloads individual NPY or GeoTIFF files
for offline use; NPY tiles are deprecated and will be removed.
Stream regions to GeoTIFF or a web map
download reads from Zarr by default and writes one GeoTIFF per UTM zone.
webmap reads three embedding bands and creates an RGB web map.
geotessera download --bbox '-3.0,53.4,-2.9,53.5' --year 2024 --output region/
geotessera webmap --bbox '-3.0,53.4,-2.9,53.5' --year 2024 --output map/ --serve
GeoTIFFs contain float32 embeddings on the native grid, with NaN nodata.
Use --bands to select zero-based bands, --depth to select a published
embedding prefix, or --store-url to read another Zarr store.
Country and vector regions select their bounding boxes.
Rerunning a Zarr export replaces its completed files. Use --source tiles
for individual tiles that skip existing files on rerun. --format npy
also selects individual tiles.
Every download records its dataset version and variant in
tessera_metadata.json in the output directory, and GeoTIFFs record them
in their tags. Downloading into a directory that holds another dataset,
or merging GeoTIFFs of different datasets, fails.
Web maps reuse matching completed mosaics and tiles. Keep the output
directory and its JSON completion files. Use --force to refresh a map
when the source changes at the same URL, or geotessera serve map/ to
view an existing map without regenerating it.
See the CLI reference
for options, output files, and restart behavior.
Global coverage
Since GeoTessera 0.11, the default v1.1-dclimate dataset provides
wall-to-wall global v1.1 embeddings for every year from 2017 to 2025.
No request is needed; GeoTesseraZarr() and geotessera download read
any land area directly.
We recommend v1.1 for all users. Earlier versions remain selectable to
reproduce existing results.
If you find missing or defective embeddings, please
open an issue
with the bounding box (lon,lat, 4 decimals) and year(s).
Table of Contents
Installation
GeoTessera requires Python 3.12 or later.
pip install geotessera
For development:
git clone https://github.com/ucam-eo/geotessera
cd geotessera
uv sync --all-extras --dev # or: pip install -e ".[docs]"
Sphinx lives in the docs extra and the test harness in the dev group, so a
plain pip install geotessera pulls in neither.
Cloud-Native Zarr Access
The Zarr API reads selected pixels from the public store and returns
dequantized float32 embeddings. Point and region reads use the native UTM
grid. Patches can combine pixels across zone boundaries.
from geotessera import GeoTesseraZarr
gt = GeoTesseraZarr() # v1.1 dClimate Icechunk store
print(gt.years) # [2017, ..., 2025]