Rebecca Bennett wrote:
> r.mapcalc '${BKG} = if(isnull(modern_mask@Brovey),${MAP},0)'
>
> but it ends with the error
>
> Invalid map <${MAP}>
>
> Can
> anyone tell me how I should include calls to the map and name a
> derivative using the original raster name? I have used this syntax with
> success before so have not be able to troubleshoot this.
You need to use double quotes around the r.mapcalc expression.
Single-quoted strings take everything up to the next single quote
literally, while double-quoted strings expand variable substitutions.
--
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user