rook.catalog package

class rook.catalog.DBCatalog(project, url=None)[source]

Bases: Catalog

exists()[source]
to_db()[source]
update()[source]
rook.catalog.get_catalog(project)[source]

Submodules

rook.catalog.base module

Base class for catalog.

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

Bases: object

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

Search the catalog for datasets.

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

Bases: object

Class to hold the results of a catalog search.

download_urls()[source]

Return matched records with download URL.

files()[source]

Return matched records with file path.

property matches

Return number of matched records.

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

Make a list from a value.

rook.catalog.db module

class rook.catalog.db.DBCatalog(project, url=None)[source]

Bases: Catalog

exists()[source]
to_db()[source]
update()[source]

rook.catalog.intake module

Utilities for working with Intake catalogs.

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

Bases: Catalog

Intake catalog class.

property catalog

Return the intake catalog.

load()[source]

Load the catalog.

rook.catalog.util module

Catalog utility functions.

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

Parse the time coordinate.