Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Vaclav Petras
On Tue, Jan 27, 2015 at 12:00 PM, Thomas Adams tea...@gmail.com wrote: Running as (1) is where I get the r.mask errors I have been seeing; I get the errors both when I simply remove any existing MASKs (r.mask -r) or where I attempt to set the MASK. Can you please post again what are the

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Thomas Adams
Vaclav, That was not a screen shot, just fg bg colors of the text (I copied pasted from my Mac term window — sorry for the embellishments). The errors I have been getting is this: Traceback (most recent call last): File /usr/local/grass-7.0.0beta3/scripts/r.mask, line 71, in module

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Markus Neteler
Tom, On Tue, Jan 27, 2015 at 8:38 AM, Hermann Peifer pei...@gmx.eu wrote: On 2015-01-26 23:57, Thomas Adams wrote: All: I have a GRASS bash shell script where all my GRASS commands (7.0.0beta3) execute just fine except for my call to set a MASK: r.mask --overwrite

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Thomas Adams
Vaclav, Fantastic; that did the trick! I figured the issue had to be something like that, but I just had not been able to find it and, until now, this had not been an issue. Thank you very much… Best regards, Tom On Tue, Jan 27, 2015 at 1:30 PM, Vaclav Petras wenzesl...@gmail.com wrote: On

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Vaclav Petras
On Tue, Jan 27, 2015 at 3:04 PM, Thomas Adams tea...@gmail.com wrote: Vaclav, That was not a screen shot, just fg bg colors of the text (I copied pasted from my Mac term window — sorry for the embellishments). I see it now. I was confused because it looks really bad at my end. The

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Thomas Adams
Anna, Below is my script. I am running on Ubuntu 10.10, GRASS 7 RC1 (built today). I have tried running my script two ways: (1) external from GRASS, where I set the GRASS environment (the attached script) — this is how I have done almost all my GRASS scripting for years (2) I remove the section

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Thomas Adams
Markus, Thank you for your help; I did try using RC1 (which I built shortly after it's release) and got the same error -- but I'll try again. I can't do that right now because I just kicked-off something else in a different GRASS LOCATION that's taking a while to process. So, I won't be able to

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Anna Petrášová
On Tue, Jan 27, 2015 at 8:31 AM, Thomas Adams tea...@gmail.com wrote: Markus, Thank you for your help; I did try using RC1 (which I built shortly after it's release) and got the same error -- but I'll try again. I can't do that right now because I just kicked-off something else in a

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Thomas Adams
Anna, I'm building RC1 on a different Linux box (where I had beta3); I'll try again and if I get the same error, I'll offer up an example — how would I do that? tar things up and put it on GoogleDrive? Tom On Tue, Jan 27, 2015 at 8:34 AM, Anna Petrášová kratocha...@gmail.com wrote: On Tue,

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-27 Thread Anna Petrášová
On Tue, Jan 27, 2015 at 10:41 AM, Thomas Adams tea...@gmail.com wrote: Anna, I'm building RC1 on a different Linux box (where I had beta3); I'll try again and if I get the same error, I'll offer up an example — how would I do that? tar things up and put it on GoogleDrive? I was thinking

Re: [GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-26 Thread Hermann Peifer
On 2015-01-26 23:57, Thomas Adams wrote: All: I have a GRASS bash shell script where all my GRASS commands (7.0.0beta3) execute just fine except for my call to set a MASK: r.mask --overwrite input=$basin_mask@$MAPSET I get this error... Traceback (most recent call last): File

[GRASS-user] Getting an error using r.mask in a GRASS shell script

2015-01-26 Thread Thomas Adams
All: I have a GRASS bash shell script where all my GRASS commands (7.0.0beta3) execute just fine except for my call to set a MASK: r.mask --overwrite input=$basin_mask@$MAPSET I get this error... Traceback (most recent call last): File /usr/local/grass-7.0.0beta3/scripts/r.mask, line 71, in