AI4COPSEC AI4COPSEC collekt
  • Home
  • Products
  • CLI
  • Credentials
  • Manifest
  • API reference

On this page

  • available_datasets
    • Parameters
    • Returns

available_datasets

available_datasets(conf_dir=None)

Return every catalog dataset as a flat mapping keyed by dataset key.

Each value is a uniform metadata dict with the same keys for every provider: provider, path (e.g. "cmems/med/currents"), dataset_id, variables, has_depth, temporal_sampling, coverage (whole-globe / all-time when the source does not restrict it), url, and doi. Group or filter by the provider / path fields; see describe_datasets for a human-readable listing.

Example:

import collekt

catalog = collekt.available_datasets()
catalog["cmems_med_currents_nrt"]["variables"]
# ['uo', 'vo']
[key for key, meta in catalog.items() if meta["provider"] == "cmems"]

Parameters

Name Type Description Default
conf_dir str | Path | None Optional downstream config directory overlaid on the bundled catalogs. None

Returns

Name Type Description
dict[str, dict[str, Any]] A flat {dataset_key: metadata} mapping with a uniform metadata schema.

Part of AI4COPSEC.

Built with Quarto.

GitHub