[GRASS-user] Example project for a GRASS GIS module on GitHub

2020-01-29 Thread Vaclav Petras
Dear users and contributors, I've created an example project (repository) on GitHub. It is a GRASS GIS module written in Python which simply adds two raster maps together. It uses GitHub Actions to build the module and publish its documentation as a website (using GitHub Pages). https://github.co

Re: [GRASS-user] error in i.sentinel.mask: nan values in xml file

2020-01-29 Thread Veronica Andreo
Hi Robi, So I found that i.sentinel.import fails for latlong locations. I moved to UTM as in the original data and all fine. I reached the cloud masking step, and I find a different problem now. Here's the command and an extract of the output: GRASS 7.9.dev (dengue_cba):~/webgis > i.sentinel.mask

Re: [GRASS-user] i.sentinel.import imports empty maps

2020-01-29 Thread Markus Neteler
Hi Vero, On Wed, Jan 29, 2020 at 3:20 PM Veronica Andreo wrote: ... > BTW, I noted that grass-addons repo does not have the issues activated. With > trac closed for new tickets, I think it is necessary to activate issues in > grass-addons too Sorry for that, I have activated it now. Please op

Re: [GRASS-user] i.sentinel.import imports empty maps

2020-01-29 Thread Valter Albino
Same issue! Cumprimentos, *Valter Albino -* Geógrafo Físico, M.Sc. Modelação H&H / Riscos ambientais / OT&U www.valteralbino.wixsite.com/hydrodynamics Veronica Andreo escreveu no dia quarta, 29/01/2020 à(s) 14:31: > Suspicion confirmed, this was a map imported with i.sentinel.import in > latlon

Re: [GRASS-user] i.sentinel.import imports empty maps

2020-01-29 Thread Veronica Andreo
Suspicion confirmed, this was a map imported with i.sentinel.import in latlong location. It forces a resolution of 20 degrees, instead of the equivalent of 20m in degrees GRASS 7.9.dev (latlong_wgs84):~ > r.info T21JYM_20200126T134201_B11_20m +-

[GRASS-user] i.sentinel.import imports empty maps

2020-01-29 Thread Veronica Andreo
Hi all, I'm using i.sentinel.import with -r flag to import sentinel scenes into a latlong location. No matter if I use, extent=region or extent=input, I get empty maps imported. Estimated target resolution for input band : 0.00018570053194443554 Using given resolution for input band : 20.0 Reproj

Re: [GRASS-user] error in i.sentinel.mask: nan values in xml file

2020-01-29 Thread Veronica Andreo
Hi Robi, My bad, region was wrong... anyway, trying to replicate from the beginning I see that i.sentinel.import with -r is importing empty maps. However, the jp2 files have data. I can visualize them in QGIS. I'll report in a different thread. Once I can figure it out and reach this point again,

Re: [GRASS-user] r.sim.water simulation considering dams

2020-01-29 Thread Anna Petrášová
Hi, I don't have any experience with that parameter, but I think if you don't need permeable structures, you don't need that parameter. I would try to represent the structures in the elevation, that should work. But keep in mind that it's a shallow water flow model, so it's not ideal for filling l

[GRASS-user] R: error in i.sentinel.mask: nan values in xml file

2020-01-29 Thread roberta fagandini
Hi Vero, i.sentinel.mask doesn't retrieve the maximum from the xml file but computes the value from the image using r.univar. The error could be due to the computational region..has the region been set correctly? Can you send the MTD_TL.xml file? I can download the image and make some tests. Rob