grass-addons
grass-addons copied to clipboard
[Bug] error in i.modis.import
I am using the i.modis extension. I have Fedora 33 python 3.9 grass gis 7.8.5
When I am going to import the modis files I get an error which is solved is I add the flag -m to the i.modis.import command
GRASS 7.8.5 (hyperWGS84):~ > i.modis.download settings=$HOME/settingsNASA.txt product=lst_terra_eight_1000 tile=h10v08 startday=2009-01-01 endday=2019-12-31 folder=.
Downloading MODIS product <lst_terra_eight_1000>...
All data have been downloaded, continue with i.modis.import with the option
'files=./listfileMOD11A2.006.txt'
[Raster MASK present]
GRASS 7.8.5 (hyperWGS84):~ > i.modis.import files=./listfileMOD11A2.006.txt spectral="( 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 )"
WARNING: If no QA layer chosen in the "spectral" option the command will
report an error
Proccessing <MOD11A2.A2019361.h10v08.006.2020005030944.hdf> (1/506)...
Traceback (most recent call last):
File "/home/garzonc/.grass7/addons/scripts/i.modis.import", line 675, in
And the command runs and the data is imported.
Thanks!
Carol.
I do not understand why would -m
solve the error if it is intended to make mosaics and you are importing only one tile... @lucadelu any idea?