[GRASS-user] r.in.gdal: Unable to open datasource

   I'm not seeing why grass7.5svn has this issue with r.in.gdal:

r.in.gdal -o
in=$HOME/projects/oregon/estacada-rock/data/topography/estacada-45122C3/2009_OLC_Hood-to-Coast/Highest_Hit/hh45122c3/hdr.adf
out=estacada_hhdem2009

ERROR 4:
/home/rshepard/projects/oregon/estacada-rock/data/topography/estacada-45122C3/2009_OLC_Hood-to-Coast/Highest_Hit/hh45122c3/hdr.adf:
No such file or directory

ERROR: Unable to open datasource

   But,

ls -l ~/projects/oregon/estacada-rock/data/topography/estacada-45122c3/2009_OLC_Hood-to-Coast/Highest_Hit/hh45122c3
total 681200
-rw-r--r-- 1 rshepard users 32 Feb 18 2008 dblbnd.adf
-rw-r--r-- 1 rshepard users 308 Feb 18 2008 hdr.adf
-rw-r--r-- 1 rshepard users 113 Feb 18 2008 log
-rw-r--r-- 1 rshepard users 16129 Feb 18 2008 metadata.xml
-rw-r--r-- 1 rshepard users 399 Feb 15 2008 prj.adf
-rw-r--r-- 1 rshepard users 32 Feb 18 2008 sta.adf
-rw-r--r-- 1 rshepard users 695463484 Feb 18 2008 w001001.adf
-rw-r--r-- 1 rshepard users 1357764 Feb 18 2008 w001001x.adf

Puzzled,

Rich

On Fri, 13 Jul 2018, Rich Shepard wrote:

I'm not seeing why grass7.5svn has this issue with r.in.gdal:

   Now I see it:

in=$HOME/projects/oregon/estacada-rock/data/topography/estacada-45122C3/

   s/C/c/

Rich

On 13/07/18 17:25, Rich Shepard wrote:

    I'm not seeing why grass7.5svn has this issue with r.in.gdal:

r.in.gdal -o
in=$HOME/projects/oregon/estacada-rock/data/topography/estacada-45122C3/2009_OLC_Hood-to-Coast/Highest_Hit/hh45122c3/hdr.adf
out=estacada_hhdem2009

ERROR 4:
/home/rshepard/projects/oregon/estacada-rock/data/topography/estacada-45122C3/2009_OLC_Hood-to-Coast/Highest_Hit/hh45122c3/hdr.adf:
No such file or directory

ERROR: Unable to open datasource

Try pointing to the directory instead of the hdr.adf file.

Also, what does gdalinfo give you on the same dataset ?

Moritz

On Fri, 13 Jul 2018, Moritz Lennert wrote:

Try pointing to the directory instead of the hdr.adf file.

Moritz,

   As I posted to the list, it was a typo in the command saved in my grass
processing log (a file I maintain with emacs). How that one letter was
capitalized I don't know, but there it was hidden in the long command line.

Thanks,

Rich