<div dir="ltr"><div><div><div>Hi,<br><br></div>when I tried to write a python script (add-on) for GRASS GIS I experienced<br>that there is no overwrite-flag by default in the GUI for that module (generate by<br></div>g.parser) which is different from GRASS6x. So is there any possibility to create<br>
that tick-box also in G70?<br></div><div>Furthermore I am using the grass.script.array to write a raster map from<br></div><div>a numpy.array:<br><br>my_map = garray.array()<br>my_map[...] = my_function_mod(input_raster)<br>
my_map.write(options['my_output'])<br><br></div><div>But what if the output ("my_output") already exists and I want to overwrite<br>that output (e.g. by setting the modules overwrite flag)?<br><br></div>
<div>Any suggestions are welcome, thanks!<br><br></div><div>cheers,</div><div>/Johannes<br></div></div>