dctools.data.datasets.dc_catalog.CatalogEntry
- class dctools.data.datasets.dc_catalog.CatalogEntry(path, date_start, date_end, geometry)
Represents a single entry in a dataset catalog with metadata.
- Parameters:
path (str)
date_start (pandas.Timestamp)
date_end (pandas.Timestamp)
geometry (shapely.geometry.base.BaseGeometry | None)
- __init__(path, date_start, date_end, geometry)
- Parameters:
path (str)
date_start (pandas.Timestamp)
date_end (pandas.Timestamp)
geometry (shapely.geometry.base.BaseGeometry | None)
- Return type:
None
Methods
__init__(path, date_start, date_end, geometry)from_dict(data)Create catalog entry from dictionary.
to_dict()Convert catalog entry to dictionary.
Attributes
pathdate_startdate_endgeometry- classmethod from_dict(data)
Create catalog entry from dictionary.
- Parameters:
data (Dict[str, Any])
- to_dict()
Convert catalog entry to dictionary.