Re: [GRASS-user] High tension with r.resamp.rst

2019-02-07 Thread Ghislain Vieilledent | CIRAD
Helena Mitasova sent me an answer yestarday on the topic: I haven’t used (or looked at) r.resamp.rst for a long time, but the tension may be OK becuase it depends on scale - if you are working in lat/long, the 30sec resolution in decimal degrees is a very small number (compare to e.g. 10m

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Rich Shepard
On Thu, 7 Feb 2019, Joe wrote: I know bash scripting pretty well, if grass scripting is similar I should be quite at ease with it Joe, Since you're writing GRASS commands in a script that you'd enter from the console, the script is a bash shell script. Just begin it as usual using

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Joe
On Thu, Feb 7, 2019 at 5:49 PM Rich Shepard wrote: > > On Thu, 7 Feb 2019, Ken Mankoff wrote: > > > I'll offer opposing view. Terminal. CLI is more powerful than GUI. > > +1 And, you can put the commands in a script (with comments) so it can be > used again. This is particularly valuable when the

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Rich Shepard
On Thu, 7 Feb 2019, Ken Mankoff wrote: I'll offer opposing view. Terminal. CLI is more powerful than GUI. +1 And, you can put the commands in a script (with comments) so it can be used again. This is particularly valuable when the work flow is large or to be repeated on multiple data sets.

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Ken Mankoff
On 2019-02-07 at 13:58 +0100, Joe wrote... > An other question: what way would you suggest to focus on for learning > purpose? Monitors and terminal console, or a GUI based approach? I'll offer opposing view. Terminal. CLI is more powerful than GUI. -k.

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Joe
On Thu, Feb 7, 2019 at 2:42 PM Veronica Andreo wrote: > > well, I personally combine both depending on the task on hand. Most of the > time, I only use terminal though. When you start learning GRASS, there's a > nice feature of the GUI that allows to copy the command once you have set all >

Re: [GRASS-user] sample a strds at specific locations (areas)

2019-02-07 Thread Margherita Di Leo
Thanks for testing, Vero. I assume it's due to a local problem then. Cheers, On Thu, Feb 7, 2019 at 3:29 PM Veronica Andreo wrote: > Hi Stefan and Madi, > > Thanks Stefan for the explanations :) Indeed I agree that a flag to avoid > the alignment to input rasters (and just use region settings)

Re: [GRASS-user] sample a strds at specific locations (areas)

2019-02-07 Thread Veronica Andreo
Hi Stefan and Madi, Thanks Stefan for the explanations :) Indeed I agree that a flag to avoid the alignment to input rasters (and just use region settings) sounds good. I tested what Madi said, but cannot reproduce in the climate NC location [0]. This is the command I used: v.strds.stats

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-07 Thread Frank David
I forgot one thing to well understand my wish. Each viewshed raster is a r.series (250-sum) of 250 r.viewshed with 2m target and 0 upto 250m terrain height. So each raster gives the hidden height of a building (250m max) anywhere on the region from a specific point of view. The purpose is to

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Veronica Andreo
Hi Joe, well, I personally combine both depending on the task on hand. Most of the time, I only use terminal though. When you start learning GRASS, there's a nice feature of the GUI that allows to copy the command once you have set all the options in GUI of that command. Like this you can copy

Re: [GRASS-user] sample a strds at specific locations (areas)

2019-02-07 Thread Margherita Di Leo
Thank you Stefan for your help! I figured what happens. v.strds.stats with default method produces in my case a corrupted output, topology is there but there's no table associated to it. If I specify method=average, I do obtain the table, and the mystery is solved: some of the polygons fall into a

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Joe
Thanks a lot Veronica! An other question: what way would you suggest to focus on for learning purpose? Monitors and terminal console, or a GUI based approach? Thank you again for you reply! :) On Thu, Feb 7, 2019 at 11:50 AM Veronica Andreo wrote: > > Hi Joe > > El jue., 7 feb. 2019 07:35,

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-07 Thread Frank David
Hi, Thanks for your reply. I can have numerous raster (several hundreds). I want to find a minimum but with a tolerance, it's why I want to be able to shift the value. In fact I want to sort the value of my all input raster for each x,y cell and get the second or third, or any position in

Re: [GRASS-user] sample a strds at specific locations (areas)

2019-02-07 Thread Stefan Blumentrath
Hi Madi, With this combination (polygon size vs. raster resolution), the shape of the polygons can be an issue (narrow areas that do not cover the center of any pixel). Debugging should be simple with v.db.select or v.extract. Areas that did not get rasterized should be NULL in the column

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-07 Thread Veronica Andreo
Hi Ken, There isn't any build-in function for that in grass, afaik. Depending on how long is your series, you could shift the map list you use in each run and then use r.univar on each output from r.series to get the minimum and by comparison, get the second minimum of the series of maps (a

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Veronica Andreo
Hi Joe El jue., 7 feb. 2019 07:35, Joe escribió: > On Wed, Feb 6, 2019 at 4:53 PM Rich Shepard > wrote: > > > > First, open a display monitor: > > > > d.mon start=wx0 > > > > When you're finished, close the monitor: > > > > d.mon stop=wx0 > > > > Of course, you can open multiple monitors (I

Re: [GRASS-user] Adding map to layer manager (wxpython GUI) from grass console?

2019-02-07 Thread Joe
On Wed, Feb 6, 2019 at 4:53 PM Rich Shepard wrote: > > First, open a display monitor: > > d.mon start=wx0 > > When you're finished, close the monitor: > > d.mon stop=wx0 > > Of course, you can open multiple monitors (I don't know the maximum as I've > used only 2 at most) by incrementing the wxN

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-07 Thread Ken Mankoff
Hi Frank, On 2019-02-07 at 08:27 +0100, Frank David wrote... > I try to find how to get the shifted minimum value of a series of > raster map. I want to shift by one, or more, the "minimum" value found > on each cell to get the "almost minimum" of the series. Is there an > available

[GRASS-user] get the shifted minimum from a raster series

2019-02-07 Thread Frank David
Hello, I try to find how to get the shifted minimum value of a series of raster map. I want to shift by one, or more, the "minimum" value found on each cell to get the "almost minimum" of the series. Is there an available function/method to do that ? Thank you for your help Frank

Re: [GRASS-user] sample a strds at specific locations (areas)

2019-02-07 Thread Margherita Di Leo
Hi, thank you for your replies. To give a little more context: I selected my polygon areas to be > 0.5 ha each (this would be 5 mq if I'm not mistaken) and I'm sampling NDVI maps at 10m resolution (the region being the same as NDVI maps). So I think I need an idea on how to debug the areas