Hi Carlos:


On 9/25/21 9:16 PM, Carlos Henrique Grohmann de Carvalho wrote:
Rich

I believe r.in.gdal will require the region to match each of the tifs you're importing. Try using r.import with the option extent set to
"input", so it won't do region cropping


I don't think that is correct. r.in.gdal is one of the (very few) raster modules that does NOT honor the current region settings. You can import a raster from "anywhere", but then, as always, you must set the current region to match that raster for further analysis.


What's more, in your previous post you mentioned that r.import "overrides region settings". IMHO this is also not correct. r.import will reproject an input dataset to current Location's coordinate system, if necessary. Regarding the region settings, by default with the extent parameter left at "input", the whole input raster will be imported. If you set the the extent parameter to "region" then only that subset of the input raster that falls in the current region will be imported. But in both cases, the current region is not altered.


Best,

Micha



C



On Sat, Sep 25, 2021 at 1:43 PM Rich Shepard <rshep...@appl-ecosys.com> wrote:
On Sat, 25 Sep 2021, Carlos Henrique Grohmann de Carvalho wrote:

> How is your region settings? Do they match the DEMs? Maybe importing with
> r.import will help, as it can override region settings

Carlos,

Initially it was the default region. But, I changed the region to a test
map, dtm_35, and re-ran r.report and r.stats. There's still no data in any
of the cells.

Thanks,

Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


--
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing - 

http://orcid.org/0000-0001-5073-5572
________________
Can’t stop the signal.

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to