Skip to content

Commit

Permalink
fixed mistake in geoprocessing routine
Browse files Browse the repository at this point in the history
  • Loading branch information
annajungbluth committed Oct 8, 2024
1 parent 3f3470e commit b561920
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rs_tools/_src/geoprocessing/modis/geoprocessor_modis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b561920

Please sign in to comment.