Data sources#

General#

DataSource(*, name, uri, data_adapter, driver)

A DataSource is a parsed section of a DataCatalog.

DataSource.summary()

Return a summary of the DataSource.

RasterDataset#

RasterDatasetSource(*, name, uri[, ...])

DataSource class for the RasterDataset type.

RasterDatasetSource.read_data(*[, bbox, ...])

Read data from this source.

RasterDatasetSource.to_stac_catalog([...])

Convert a rasterdataset into a STAC Catalog representation.

RasterDatasetSource.get_bbox([crs, detect])

Return the bounding box and espg code of the dataset.

RasterDatasetSource.get_time_range([detect])

Detect the time range of the dataset.

RasterDatasetSource.detect_bbox([ds])

Detect the bounding box and crs of the dataset.

RasterDatasetSource.detect_time_range([ds])

Detect the temporal range of the dataset.

GeoDataFrame#

GeoDataFrameSource(*, name, uri[, ...])

DataSource for GeoDataFrames.

GeoDataFrameSource.read_data(*[, bbox, ...])

Use the driver and data adapter to read and harmonize the data.

GeoDataFrameSource.to_stac_catalog([...])

Convert a geodataframe into a STAC Catalog representation.

GeoDataFrameSource.get_bbox([crs, detect])

Return the bounding box and espg code of the dataset.

GeoDataFrameSource.detect_bbox([gdf])

Detect the bounding box and crs of the dataset.

DataFrame#

DataFrameSource(*, name, uri[, ...])

DataSource for DataFrames.

DataFrameSource.read_data(*[, variables, ...])

Use the resolver, driver, and data adapter to read and harmonize the data.

DataFrameSource.to_stac_catalog([handle_nodata])

Convert a dataframe into a STAC Catalog representation.

GeoDataset#

GeoDatasetSource(*, name, uri[, ...])

DataSource class for the GeoDatasetSource type.

GeoDatasetSource.read_data(*[, mask, ...])

Read data from this source.

GeoDatasetSource.to_stac_catalog([handle_nodata])

Convert a geodataset into a STAC Catalog representation.

GeoDatasetSource.get_bbox([crs, detect])

Return the bounding box and espg code of the dataset.

GeoDatasetSource.detect_bbox([ds])

Detect the bounding box and crs of the dataset.