hydromt.data_catalog.sources.DataFrameSource.to_stac_catalog#
- DataFrameSource.to_stac_catalog(handle_nodata: NoDataStrategy = NoDataStrategy.IGNORE) Catalog | None [source]#
Convert a dataframe into a STAC Catalog representation.
The collection will contain an asset for each of the associated files.
- Parameters:
(str (- handle_nodata) – Options are: “raise” to raise an error on failure, “skip” to skip the dataframe on failure, and “coerce” (default) to set default values on failure.
optional) (
The error handling strategy.
) – Options are: “raise” to raise an error on failure, “skip” to skip the dataframe on failure, and “coerce” (default) to set default values on failure.
- Returns:
- Optional[StacCatalog] – None if the dataset was skipped.
- Return type:
The STAC Catalog representation
ofthe dataframe
,or