diff --git a/openeo/rest/datacube.py b/openeo/rest/datacube.py index 113fb7105..a6537f51c 100644 --- a/openeo/rest/datacube.py +++ b/openeo/rest/datacube.py @@ -3072,6 +3072,34 @@ def unflatten_dimension(self, dimension: str, target_dimensions: List[str], labe ), ) + @openeo_process + def aspect(self) -> DataCube: + """ + Converts every band in the datacube to a band with suffix "_aspect" containing the aspect. + + :return: A data cube with the same dimensions but containing the computed aspect values. + """ + return self.process( + process_id="aspect", + arguments=dict_no_none( + data=THIS + ), + ) + + @openeo_process + def slope(self) -> DataCube: + """ + Converts every band in the datacube to a band with suffix "_slope" containing the slope. + + :return: A data cube with the same dimensions but containing the computed slope values. + """ + return self.process( + process_id="slope", + arguments=dict_no_none( + data=THIS + ), + ) + @openeo_process def convert_data_type( self,