I'm using GRASS 7.6 to clip a raster (i.e. big_raster) layer on a smaller one (i.e. small_raster). Both the rasters are made by nan and 1 values.
I used the map calc tool
r.mapcalc expression="raster_clipped = if( “small_raster@PERMANENT” , "big_raster@PERMANENT" )"
Why do I get this error?
Invalid map <“small_raster@PERMANENT”>
Parse error
ERROR: parse error
Traceback (most recent call last):
File "/usr/lib/grass76/gui/wxpython/gui_core/goutput.py",
line 473, in OnCmdOutput
self.cmdOutput.AddStyledMessage(message, type)
File "/usr/lib/grass76/gui/wxpython/gui_core/goutput.py",
line 771, in AddStyledMessage
self.AddTextWrapped(message, wrap=None)
File "/usr/lib/grass76/gui/wxpython/gui_core/goutput.py",
line 720, in AddTextWrapped
txt = EncodeString(txt)
File "/usr/lib/grass76/gui/wxpython/core/gcmd.py", line
99, in EncodeString
return string.encode(_enc)
UnicodeDecodeError
:
'ascii' codec can't decode byte 0xe2 in position 27: ordinal
not in range(128)