<div dir="ltr">OK!<br><br>I can get the help with:<br><br><div style="margin-left: 40px;">sh C:/GRASS/scripts/r.colors.stddev --help<br></div><br>And run the script with:<br><br><div style="margin-left: 40px;">sh C:/GRASS/scripts/r.colors.stddev input=HRC_20080528_151_B_124@PERMANENT<br>

<br></div>Running the script, I get a blank cmd, no percentages or anything, with the name &quot;C:\GRASS\msys\sh.exe&quot;<br><br>But works!!!!<br><br>Thanks for the help!<br><br>But, the script makes a colored output, and I want a grayscale...<br>
<br>So, reading the code, I found this:<br><br><div style="margin-left: 40px;">if [ $GIS_FLAG_Z -eq 0 ] ; then<br><br>&nbsp;&nbsp; MEAN_MINUS_2STDEV=`echo &quot;$mean $stddev&quot; | awk &#39;{print $1 - 2*$2}&#39;`<br>&nbsp;&nbsp; MEAN_PLUS_2STDEV=`echo &quot;$mean $stddev&quot; | awk &#39;{print $1 + 2*$2}&#39;`<br>
<br>&nbsp;&nbsp; if [ $GIS_FLAG_B -eq 0 ] ; then<br>&nbsp;&nbsp;&nbsp;&nbsp; # smooth free floating blue/white/red<br>&nbsp;&nbsp;&nbsp;&nbsp; r.colors &quot;$GIS_OPT_INPUT&quot; color=rules &lt;&lt; EOF<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0% blue<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $MEAN_MINUS_2STDEV blue<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $mean white<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $MEAN_PLUS_2STDEV red<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100% red<br></div><br>The, I change to:<br><br><div style="margin-left: 40px;">if [ $GIS_FLAG_Z -eq 0 ] ; then<br><br>&nbsp;&nbsp; MEAN_MINUS_2STDEV=`echo &quot;$mean $stddev&quot; | awk &#39;{print $1 - 2*$2}&#39;`<br>
&nbsp;&nbsp; MEAN_PLUS_2STDEV=`echo &quot;$mean $stddev&quot; | awk &#39;{print $1 + 2*$2}&#39;`<br><br>&nbsp;&nbsp; if [ $GIS_FLAG_B -eq 0 ] ; then<br>&nbsp;&nbsp;&nbsp;&nbsp; # smooth free floating blue/white/red<br>&nbsp;&nbsp;&nbsp;&nbsp; r.colors &quot;$GIS_OPT_INPUT&quot; color=rules &lt;&lt; EOF<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0% black<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $MEAN_MINUS_2STDEV black<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $mean grey<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $MEAN_PLUS_2STDEV white<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100% white<br></div><br>But the output turns the colors to a light grey filter or something... how can I maintain the black pure black?<br>
<div><br><br><br><div class="gmail_quote">On Wed, Aug 13, 2008 at 4:22 AM, Moritz Lennert <span dir="ltr">&lt;<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On 12/08/08 17:26, Raphael Saldanha wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok, I put the file (r.colors.sttdev) on C:\GRASS\scripts.<br>
<br>
On the output windowm, if I enter with r.colors.sttdev and Run, seems GRASS recognize the command. But how in the syntax to inform the input and other parametres?<br>
</blockquote>
<br></div>
Have you tried clicking on &#39;Run (GUI)&#39; ?<br><font color="#888888">
<br>
Moritz<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Atenciosamente,<br><br>Raphael Saldanha<br><a href="mailto:saldanha.plangeo@gmail.com" target="_blank">saldanha.plangeo@gmail.com</a><br>Lucille Ball &nbsp;- &quot;The secret of staying young is to live honestly, eat slowly, and lie about your age.&quot;
</div></div>