daops.catalog package

Catalog module for the daops package.

class daops.catalog.IntakeCatalog(project, url=None)[source]

Bases: Catalog

Intake catalog class.

_query(collection, time=None, time_components=None)[source]
property catalog

Return the intake catalog.

load()[source]

Load the catalog.

daops.catalog.get_catalog(project)[source]

Get the catalog object for the project.

Submodules

daops.catalog.base module

Base class for catalog.

class daops.catalog.base.Catalog(project)[source]

Bases: object

_query(collection, time=None, time_components=None)[source]
search(collection, time=None, time_components=None)[source]

Search the catalog for datasets.

class daops.catalog.base.Result(project, records)[source]

Bases: object

Class to hold the results of a catalog search.

_records(prefix)[source]
download_urls()[source]

Return matched records with download URL.

files()[source]

Return matched records with file path.

property matches

Return number of matched records.

daops.catalog.base.make_list(value)[source]

Make a list from a value.

daops.catalog.intake module

Utilities for working with Intake catalogs.

class daops.catalog.intake.IntakeCatalog(project, url=None)[source]

Bases: Catalog

Intake catalog class.

_query(collection, time=None, time_components=None)[source]
property catalog

Return the intake catalog.

load()[source]

Load the catalog.

daops.catalog.util module

Catalog utility functions.

daops.catalog.util.parse_time(time=None, time_components=None)[source]

Parse the time coordinate.