From b561920d1c38a6008cf6481e893ec4c344b2f825 Mon Sep 17 00:00:00 2001 From: annajungbluth Date: Tue, 8 Oct 2024 19:09:21 +0100 Subject: [PATCH] fixed mistake in geoprocessing routine --- rs_tools/_src/geoprocessing/modis/geoprocessor_modis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rs_tools/_src/geoprocessing/modis/geoprocessor_modis.py b/rs_tools/_src/geoprocessing/modis/geoprocessor_modis.py index 07cf1bd..0b8abb6 100644 --- a/rs_tools/_src/geoprocessing/modis/geoprocessor_modis.py +++ b/rs_tools/_src/geoprocessing/modis/geoprocessor_modis.py @@ -98,7 +98,8 @@ def preprocess_fn_radiances(self, file: List[str]) -> xr.Dataset: filenames=file ) # Load radiance bands - channels = get_modis_channel_numbers() + # channels = get_modis_channel_numbers() # This assigns the wrong order of bands + channels = list(MODIS_WAVELENGTHS.keys()) scn.load(channels, generate=False, calibration='radiance') # change to xarray data