[GRASS-user] r.in.gdal problem

Moritz Lennert mlennert at club.worldonline.be
Tue Oct 13 01:19:44 PDT 2020


On 12/10/20 20:42, chadli Kadri wrote:
> Hi;
> 
> I am working on grass-gis 7.8 under windows 10 (python 3.7),
> 
> when I run my python script on grass-shell this error message appears:
> 
> *Unable to open datasource*
> 
> *<LC08_L1TP_197037_20190620_20190704_01_T1_B1.TIF>*

This is the actual error. Are you sure that this file exists in the 
directory you are running this script in ? It might be better to provide 
the complete path to the file.

Moritz

> 
> *Traceback (most recent call last):*
> 
> *File "E: \ chadli_docs \ Chadli_DISKDUR \ Desertification \ Data \ 
> SRTM_PROJTED \ Sebal70.py", line 45, in <module>*
> 
> *g.parse_command ('r.in.gdal', input = files [i], output = 
> os.path.splitext (files [i]) [0], overwrite = True)*
> 
> **
> 
> *grass.exceptions.CalledModuleError: Module run None r.in.gdal --o input 
> = LC08_L1TP_197037_20190620_20190704_01_T1_B1.TIF output = 
> LC08_L1TP_197037_20190620_20190704_01_T1_B1 ended with error*
> 
> *Process ended with non-zero return code 1. See errors in the (error) 
> output.*
> 
> is there anyone seeing this kind of problem
> 
> 
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
> 




More information about the grass-user mailing list