smart_geocubes.core.patches
¶
Metadata for a single patch in a data cube.
Classes:
-
PatchIndex–Metadata for a single patch in a data cube.
PatchIndex
dataclass
¶
PatchIndex(
id: str,
geometry: Geometry,
time: tuple[str, str]
| tuple[datetime, datetime]
| str
| datetime
| None = None,
item: PatchItem | None = None,
)
Bases: Generic[PatchItem]
Metadata for a single patch in a data cube.
Attributes:
-
geometry(Geometry) –The time of the patch, if applicable.
-
id(str) –The Geometry defining the spatial extent in EPSG:4326.
-
time(tuple[str, str] | tuple[datetime, datetime] | str | datetime | None) –An associated item or metadata object useful for other operations.
time
class-attribute
instance-attribute
¶
An associated item or metadata object useful for other operations.