From fb561b9d8b0764aec4572d7c8a08b7fad814d4c2 Mon Sep 17 00:00:00 2001 From: Alessandro Amici Date: Fri, 27 Dec 2024 19:20:11 +0100 Subject: [PATCH] Add typing --- sarsen/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sarsen/apps.py b/sarsen/apps.py index 7e2e84f..ec7d273 100644 --- a/sarsen/apps.py +++ b/sarsen/apps.py @@ -86,7 +86,7 @@ def do_terrain_correction_from_ecef( grouping_area_factor: tuple[float, float] = (3.0, 3.0), radiometry_chunks: int = 2048, radiometry_bound: int = 128, -): +) -> tuple[xr.DataArray, xr.DataArray | None]: logger.info("simulate acquisition") template_raster = dem_ecef.isel(axis=0).drop_vars(["axis", "spatial_ref"]) * 0.0