Build a dataset¶
Install¶
With uv:
Set TM_TOKEN (your Tasking Manager session token) for private projects and HF_TOKEN (a
Hugging Face write token) to publish.
Write a config¶
Copy one from configs/
and change the projects, feature type and card text. The Reference lists
every key.
Build¶
Writes tiles, splits, Parquet, card and STAC to output_dir.
Publish¶
hot-oam-dataset --config my-dataset.yaml --push-to-hub <your-hf-user>/my-dataset
hot-oam-dataset --config my-dataset.yaml --update-root-catalog <your-hf-user>/my-stac
--update-root-catalog adds the release to a STAC catalogue repo you can write to. HOT
maintainers use hotosm/fAIr-guru-stac.
The push tags the release v<dataset_version>. Raise dataset_version before --all for
each new release: the push stops when the card was built for another version, or when that
version is already on the Hub.