pyModis icon indicating copy to clipboard operation
pyModis copied to clipboard

KeyError: 'EV_250_RefSB'

Open VisionVoyagerX opened this issue 1 year ago • 0 comments

I am trying to use the modis_mosaic.py script to stitch multiple MODIS Aqua images in one

I use : modis_mosaic.py -o FILE_mosaic './Data/ModisData/file_list.txt'

but I get the error: KeyError: 'EV_250_RefSB'

Full Traceback:

Traceback (most recent call last): File "/home/nick/miniconda3/envs/superres/bin/modis_mosaic.py", line 150, in main() File "/home/nick/miniconda3/envs/superres/bin/modis_mosaic.py", line 137, in main modisOgg = convertmodis_gdal.createMosaicGDAL(tiles[day], File "/home/nick/miniconda3/envs/superres/lib/python3.9/site-packages/pymodis/convertmodis_gdal.py", line 508, in init self._getUsedLayers() File "/home/nick/miniconda3/envs/superres/lib/python3.9/site-packages/pymodis/convertmodis_gdal.py", line 538, in _getUsedLayers self.layers[name].append(layers[n][0]) KeyError: 'EV_250_RefSB'

VisionVoyagerX avatar Apr 07 '23 14:04 VisionVoyagerX