Data catalog
The datasets that the oceanbench library uses are described in the OceanBench data catalog on EDITO, that you can browse online. It follows the STAC specification.
For each dataset, the catalog tells you what it contains and how to open it.
Collections
The datasets are grouped by role: inputs, challengers, references, training and auxiliary.
Maintainers publish it with make update-edito-catalog, with EDITO_OFFLINE_TOKEN or EDITO_ACCESS_TOKEN set. Set CATALOG_OUTPUT_DIRECTORY to write the STAC files locally instead.
Datasets
Each dataset is described by a STAC item with:
- its spatial and temporal extent, dimensions and variables (with CF standard names and units),
- Python examples to open it, with the
oceanbenchdatasets API or the Copernicus Marine Toolbox, - the
oceanbench:library_functionsproperty, listing theoceanbenchfunctions that open it.
Programmatic access
The catalog is also served by the EDITO STAC API at https://api.dive.edito.eu/data/catalogs/projects/oceanbench/oceanbench-catalog, for example with pystac:
import pystac
catalog = pystac.Catalog.from_file(
"https://api.dive.edito.eu/data/catalogs/projects/oceanbench/oceanbench-catalog"
)
for collection in catalog.get_children():
print(collection.id, collection.title)