arcticdem
darts_preprocessing.engineering.arcticdem
¶
Computation of ArcticDEM derived products.
calculate_aspect
¶
Calculate the aspect of the terrain surface from an ArcticDEM Dataset.
Parameters:
Returns:
-
xarray.Dataset
–xr.Dataset: The input Dataset with the calculated aspect added as a new variable 'aspect'.
Source code in darts-preprocessing/src/darts_preprocessing/engineering/arcticdem.py
calculate_curvature
¶
Calculate the curvature of the terrain surface from an ArcticDEM Dataset.
Parameters:
Returns:
-
xarray.Dataset
–xr.Dataset: The input Dataset with the calculated curvature added as a new variable 'curvature'.
Source code in darts-preprocessing/src/darts_preprocessing/engineering/arcticdem.py
calculate_hillshade
¶
Calculate the hillshade of the terrain surface from an ArcticDEM Dataset.
Parameters:
Returns:
-
xarray.Dataset
–xr.Dataset: The input Dataset with the calculated slhillshadeope added as a new variable 'hillshade'.
Source code in darts-preprocessing/src/darts_preprocessing/engineering/arcticdem.py
calculate_slope
¶
Calculate the slope of the terrain surface from an ArcticDEM Dataset.
Parameters:
Returns:
-
xarray.Dataset
–xr.Dataset: The input Dataset with the calculated slope added as a new variable 'slope'.
Source code in darts-preprocessing/src/darts_preprocessing/engineering/arcticdem.py
calculate_topographic_position_index
¶
calculate_topographic_position_index(
arcticdem_ds: xarray.Dataset,
outer_radius: int,
inner_radius: int,
) -> xarray.Dataset
Calculate the Topographic Position Index (TPI) from an ArcticDEM Dataset.
Parameters:
-
arcticdem_ds
(xarray.Dataset
) –The ArcticDEM Dataset containing the 'dem' variable.
-
outer_radius
(int
) –The outer radius of the annulus kernel in m.
-
inner_radius
(int
) –The inner radius of the annulus kernel in m.
Returns:
-
xarray.Dataset
–xr.Dataset: The input Dataset with the calculated TPI added as a new variable 'tpi'.