[GRASS-user] GRASS and GEE integration

2020-12-17 Thread Bernardo Santos via grass-user
Hello everyone, I (finally) recently found out about some of the great capabilities of Google Earth Engine.It is great to be able to get access to so many satellite images and datasets and process them without having to download them, build databases, and process them on local computers.

[GRASS-user] rgrass7 and rmarkdown: how to avoid showing the percentage of processing

2021-11-05 Thread Bernardo Santos via grass-user
Hi, when using rgrass7 and rmarkdown, is there a way of avoiding showing the percentage of processingo of each command within execGRASS?It might get really polluted, mainly when I perform a loop or many processings.See the figure below: I tried adding "message = FALSE, warning = FALSE" to the

[GRASS-user] r.neighbors vs r.resamp.filter

2021-11-03 Thread Bernardo Santos via grass-user
Dear all, I am working with human infrastructure data (houses, trails, roads and railways, dams, etc) and I need to create maps of density (in space) of each type of infrastructure, for different spatial extents (i.e. considering different neighborhood sizes). So far I've been using r.neighbors

Re: [GRASS-user] r.neighbors vs r.resamp.filter

2021-11-04 Thread Bernardo Santos via grass-user
nal region, as GRASS internally is using nearest neighbour method for resampling – the result might not be what you expect to have. TL;DR: for same resolution output – r.neighbours for different resolution (e.g. count per km²) – r.resamp.* Māris. trešd., 2021. g. 3. nov., plkst. 15:26 — lietotājs

Re: [GRASS-user] grass command to subset the columns of a vector

2022-02-10 Thread Bernardo Santos via grass-user
, Bernardo Santos via grass-user wrote: > Dear Markus > > Thanks for your answer. I thought about v.db.dropcolumn earlier. > However, I am trying to include this within a function, following a > workflow in which the input vector might have columns with different > names, in w

[GRASS-user] r.mfilter do not process map edges

2022-01-31 Thread Bernardo Santos via grass-user
Hello, I am performing neighborhood analyses with the r.mfilter module.It is very good because of its versatility - one can define the filtering matrix as one wants.However, it does not process the edges of the map, or at least it seems so.If the filter matrix size is e.g. 25x25 pixels, the

Re: [GRASS-user] r.mfilter do not process map edges

2022-02-08 Thread Bernardo Santos via grass-user
: Hello Bernardo, Could you please create an issue with the reprex here: https://github.com/OSGeo/grass/issues/new/choose ? Thanks,Vero El mar, 1 feb 2022 a las 7:54, Bernardo Santos via grass-user () escribió: Hello, I am performing neighborhood analyses with the r.mfilter module.It is very good

[GRASS-user] grass command to subset the columns of a vector

2022-02-08 Thread Bernardo Santos via grass-user
Dear list, Is there a GRASS GIS command (maybe a v.db.* one) to subset, in a single command, the columns of a vector? What I have: vector "vect" with 5 columns "a, b, c, d, e" in the attribute tableWhat I want: vector "vect_sub" with only, for instance, "a, c, e" I can use v.extract to subsample

Re: [GRASS-user] grass command to subset the columns of a vector

2022-02-09 Thread Bernardo Santos via grass-user
sing dplyr::select(vector1, a, e). I guess in PostGIS it is also possible to do that with "SELECT statements", even though I am less skilled there. It would be great to have a module in GRASS to do it as well... BestBernardo Em quarta-feira, 9 de fevereiro de 2022 09:28:06 GMT+1, Markus

[GRASS-user] standalone grass installer version 7.6

2022-04-25 Thread Bernardo Santos via grass-user
Hi, I have an application I developed a few years ago that still uses python 2.7 and has a wxPython GUI, that I used to use until GRASS 7.6. Later on it got outdated and, even though a colleague and I are updating it, it still does not run in GRASS 7.8 or 8. In the meanwhile, is it still

[GRASS-user] Running r-grass examples when building a R package

2022-08-26 Thread Bernardo Santos via grass-user
Dear all, I am building a R package and some of the functions use rgrass to connect to a GRASS project and run thingfs within GRASS.I have now set up a webpage for the package using pkgdown in integrated to Github actions. This means when I push new commits all the examples of R functions are

Re: [GRASS-user] Running r-grass examples when building a R package

2022-08-30 Thread Bernardo Santos via grass-user
GRASS GIS isn`t installed on the CI VM.   Please see: https://github.com/NINAnor/oneimpact/pulls   You may add UbuntuGIS PPAs if you want other versions than shipped by plain Ubuntu.   Cheers Stefan   From: grass-user On Behalf Of Bernardo Santos via grass-user Sent

[GRASS-user] Using a script as a GRASS addon

2022-08-01 Thread Bernardo Santos via grass-user
Dear all, I have been following some forums and instructions from GRASS documentation to be able to write new GRASS addons - or what I call an addon, basically a python script that does what I want, and follow the same standards of published GRASS addons, with description of the addon and

Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-10 Thread Bernardo Santos via grass-user
first... Good luck.. Cheers, Stefan > Gesendet: Montag, den 09.01.2023 um 21:14 Uhr > Von: "Bernardo Santos via grass-user" > An: "Markus Neteler" > Cc: "GRASS User List" > Betreff: Re: [GRASS-user] How to use g.extension in GRASS7.8 > &

Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Bernardo Santos via grass-user
not found B Em segunda-feira, 9 de janeiro de 2023 14:35:48 GMT+1, Markus Neteler escreveu: Hi, On Mon, Jan 9, 2023 at 11:50 AM Bernardo Santos via grass-user wrote: > > Hi, > > I am trying to install the extension r.area using the g.extension tool in > GRASS 7.8.

[GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Bernardo Santos via grass-user
Hi, I am trying to install the extension r.area using the g.extension tool in GRASS 7.8.However, I get the error that it was not found in the Github repo (because the repo changed).Here the error: > g.extension extension=r.areaFetching from GRASS GIS Addons > repository (be patient)...svn:

Re: [GRASS-user] Probabilistic neighborhood analysis

2023-01-09 Thread Bernardo Santos via grass-user
. Please excuse brevity. Sent from tiny pocket computer with non-haptic feedback keyboard. On Wed, Dec 14, 2022, 13:38 Bernardo Santos via grass-user wrote: Hi, I am trying to produce scenarios of past land cover, before hydropower reservoirs were built. To do so, I need to fill empty pixels from

Re: [GRASS-user] Probabilistic neighborhood analysis

2023-01-09 Thread Bernardo Santos via grass-user
o Bernardo, I haven't tested myself, but have you tried r.neighbors with the different weight-related options? Vero El mié, 14 dic 2022 a las 10:38, Bernardo Santos via grass-user () escribió: Hi, I am trying to produce scenarios of past land cover, before hydropower reservoirs were built. T

Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Bernardo Santos via grass-user
Hi Markus and Vero, Thanks. Indeed, my GRASS version is old:GRASS 7.8.5Ubuntu 18.04.6 LTS I unfortunately do not have a way to upgrade it myself since this is a company server shared with other people (and we have been fighting with IT to change to GRASS 8).But maybe it is easier to at lease

[GRASS-user] Probabilistic neighborhood analysis

2022-12-14 Thread Bernardo Santos via grass-user
Hi, I am trying to produce scenarios of past land cover, before hydropower reservoirs were built. To do so, I need to fill empty pixels from a raster in the locations where the reservoirs are currently present, using as input the actual land cover map. I tried doing that with r.neighbors

Re: [GRASS-user] Probabilistic neighborhood analysis

2023-01-16 Thread Bernardo Santos via grass-user
value returned. [...] Perhaps a dynamic (set of) graphs could be constructed? Best, Markus On Wed, Dec 14, 2022 at 2:37 PM Bernardo Santos via grass-user wrote: > > Hi, > > I am trying to produce scenarios of past land cover, before hydropower > reservoirs were built. To do so,

Re: [GRASS-user] Using RStudio in a GRASS GIS session

2024-04-19 Thread Bernardo Santos via grass-user
Hi Sybille, I have never tried opening Rstudio from the GRASS terminal, but I know that it is possible to open R. So as others have mentioned, you could try to first open R (from the GRASS terminal) and within it try `library(rgrass)` (or `install.packages("rgrass")` if it was not installed

[GRASS-user] Job opportunity on machine learning and remote sensing

2024-05-23 Thread Bernardo Santos via grass-user
Dear all, I start apologizing if you this is not the most appropriate place for that, but I felt that part of the GRASS GIS user community would be interested. The Norwegian Institute for Nature Research, where I work, is looking for a permanent position as researcher on the intersection