Many thanks Hamish.

Carlos

On 7/4/07, Hamish <[EMAIL PROTECTED]> wrote:
Carlos \ wrote:
> the @mapset is not a problem when the maps are used by some command,
> like r.mapcalc, bu it is a problem because the default output map (if
> you don't give a name) will be based on the input, like:
> input : in_map
> output : in_map_roughness_3x3
>
> so I need to get rid of the @mapset, or else it will be set to
>
> [EMAIL PROTECTED]
>
> and r.mapcalc will fail.


OUTMAP="`echo "$INMAP" | cut -f1 -d'@'`_roughness_3x3"



Hamish



--
+-----------------------------------------------------------+
             Carlos Henrique Grohmann - Guano
 Visiting Researcher at Kingston University London - UK
 Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
Linux User #89721  - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to