core_lens.entities.waterbody#

Module for Core Lens.

Classes#

WaterbodyEntity

Waterbody entity.

Module Contents#

class core_lens.entities.waterbody.WaterbodyEntity(data_root: str | pathlib.Path | None = None, storage_options: dict[str, Any] | None = None)#

Bases: core_lens.base.entity.BaseEntity

Waterbody entity.

Backed by: - Static: waterbodies/static - Annual: waterbodies/annual (partitioned by basin)

All paths are relative to the AoI data_root.

property key_cols: list[str]#

Get the property value.

Returns:

The key columns for the entity.

Return type:

list[str]

property geometry_col: str#

Get the property value.

Returns:

The geometry column name.

Return type:

str

property static_path: str#

Get the property value.

Returns:

The relative path to the static data.

Return type:

str

property annual_path: str | None#

Get the property value.

Returns:

The relative path to the annual data.

Return type:

str | None