Dear users,
I'm using grass.script.core to run the "i.pansharpen" command as fallow :
['i.pansharpen', '--o', 'blue=LC8_image_B2', 'green=LC8_image_B3', 'red=LC8_image_B4', 'output=pan_brovey', 'method=brovey', 'pan=LC8_image_B8']
and I get this error :
<i>Calculating Brovey transformation...
Assigning grey equalized color tables to output images...
Traceback (most recent call last):
File "/usr/lib/grass72/scripts/i.pansharpen", line 452, in <module>
main()
File "/usr/lib/grass72/scripts/i.pansharpen", line 319, in main
flags="e", color='grey')
File "/usr/lib/grass72/etc/python/grass/script/core.py", line 410, in run_command
return handle_errors(returncode, returncode, args, kwargs)
File "/usr/lib/grass72/etc/python/grass/script/core.py", line 329, in handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module None : ['r.colors', '--q', '-e', 'color=grey', 'map=pan_brovey_red'] ended with an error</i>
Can you please help me to get it work ?
Regards,
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Error-i-pansharpen-landsat8-image-tp5304319.html">Error i.pansharpen landsat8 image !</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html">Grass - Users mailing list archive</a> at Nabble.com.<br/>