[GRASS-web] r.sample.category errors

Mitchell Meads mitchell.meads at tamu.edu
Thu Jan 21 15:32:21 PST 2021


Thank you both, that did fix my issue! I have a follow up question now,
however. As I'm trying to run the r.futures.potential part of the FUTURES
model, it is giving me an error that I assume is associated with installing
the lme4, MuMIn, optparse, and rgrass7 packages. When I go to do that in
the command line terminal, it gives me a syntax error but I'm not super
proficient in python to distinguish what the issue is. I've attached
another screenshot to show the command line terminal error as well as the
error message from the r.futures.potential tool as well. If you guys could
help me with this issue, that would be greatly appreciated!
[image: Screen Shot 2021-01-21 at 5.30.13 PM.png]
[image: Screen Shot 2021-01-21 at 5.31.43 PM.png]
Cheers,
Mitchell Meads, PhD Student
Texas A&M University at Galveston
Marine & Coastal Management Sciences; CTBS <http://www.tamug.edu/ctbs/>
Email: mitchell.meads at tamu.edu




On Thu, Jan 21, 2021 at 4:26 PM Stefan Blumentrath <
Stefan.Blumentrath at nina.no> wrote:

> Hi Mitchell,
>
>
>
> The problem is that the input map starts with a number. I am actually
> surprised GRASS accepted that map name...
>
> The database management at least does support column names starting with
> numbers (here 2016) and throw an error.
>
>
>
> Renaming the input map should fix it, I guess…
>
>
>
> Hope that helps.
>
>
>
> Cheers,
>
> Stefan
>
>
>
> P.S.: grass-user at lists.osgeo.org is more suited for that kind of
> questions…. There you reach more people who could answer that kind of
> questions…
>
>
>
> *From:* grass-web <grass-web-bounces at lists.osgeo.org> *On Behalf Of *Mitchell
> Meads
> *Sent:* torsdag 21. januar 2021 22:26
> *To:* grass-web at lists.osgeo.org
> *Subject:* [GRASS-web] r.sample.category errors
>
>
>
> Good afternoon GRASS GIS developers,
>
>
>
> I'm currently trying to run the futures extension through GRASS GIS and
> have been following the wikipages manual on how to complete the exercise
> but I'm having an error with the r.sample.category module and am curious if
> one of you could point me in the right direction.
>
>
>
> I've developed all the necessary predictor rasters and the response
> variable raster for my study area but the module is giving me the same
> error, no matter what kind of troubleshooting I attempt. I thought that
> maybe I had to reassign my null and integer values but even after I tried
> that, I couldn't get the tool to run. It gives me this "Error while
> executing: "CREATE TABLE output_filename (cat integer, input_filename
> integer).
>
>
>
> I've attached a screenshot of the command output so you can see all the
> messages GRASS GIS gives me but I'm not sure what the issue could be. If
> you could please assist me, that would be greatly appreciated!
>
>
>
>
>
> Cheers,
>
> Mitchell Meads, PhD Student
>
> Texas A&M University at Galveston
>
> Marine & Coastal Management Sciences; CTBS
> <https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=http*3A*2F*2Fwww.tamug.edu*2Fctbs*2F&data=04*7C01*7C*7C594f696d4e28418a1bd408d8be58d8c8*7C6cef373021314901831055b3abf02c73*7C0*7C0*7C637468636230514964*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C1000&sdata=3fD1RU6xquxevZ5usVc1GQOavOWz*2FCi7U34x3uwO8zs*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUl!!KwNVnqRv!XoJS709JtVE4gP4hkAStlscZq0XYzxUmfoRHeo_TiQm4gMUy4Jkxns2LS5AoOHoq13-i$>
>
> Email: mitchell.meads at tamu.edu
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-web/attachments/20210121/751a2f92/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-01-21 at 5.31.43 PM.png
Type: image/png
Size: 295408 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-web/attachments/20210121/751a2f92/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-01-21 at 5.30.13 PM.png
Type: image/png
Size: 349417 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-web/attachments/20210121/751a2f92/attachment-0003.png>


More information about the grass-web mailing list