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

2019-02-16 Thread Frank David
Hi Micha, Thank you for your email. Your script is very interesting, but I think I cannot use it because: 1- you make a sum of your viewshed list, and each viewshed value is 0 or 1 (hidden or visible). But my problem is with viewshed values from 0 upto 250 (for each viewshed this is the

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

2019-02-16 Thread Micha Silver
On 2/16/19 12:00 PM, Frank David wrote: Hi Micha, Thank you for your email. Your script is very interesting, but I think I cannot use it because: 1- you make a sum of your viewshed list, and each viewshed value is 0

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

2019-02-15 Thread Micha Silver
Hello Frank: On 2/7/19 3:16 PM, Frank David wrote: 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

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] 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] 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] 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