<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 2:04 PM, Helmut Kudrnovsky <span dir="ltr"><<a href="mailto:hellik@web.de" target="_blank">hellik@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">pvanbosgeo wrote<br>
<span class="">> When running a script (r.biodiversity) in GRASS 7.0 for Windows, I am<br>
> getting the warning:<br>
><br>
> WARNING: Unable to rename cell file<br>
> 'C:\GIS\GrassJvdS/latlong/YLD_NUT/.tmp/unknown/3988.0' to<br>
> 'C:\GIS\GrassJvdS/latlong/YLD_NUT/fcell/Shan3_CA_Renyi_0_0': File exists<br>
> WARNING: Unable to rename null file<br>
> 'C:\GIS\GrassJvdS/latlong_2005/YLD_NUT/.tmp/unknown/4100.1' to<br>
> 'C:\GIS\GrassJvdS/latlong_2005/YLD_NUT/cell_misc/Shan3_CA_Renyi_1_0/null':<br>
> File exists<br>
<br>
</span>tested here:<br>
<br>
r.biodiversity -r --verbose<br>
input=spec1@data,spec2@data,spec3@data,spec4@data,spec5@data output=renyi<br>
alpha=0,1,2<br>
<span class="">WARNING: Unable to rename null file<br>
</span>'C:\grassdata/test3035/data/.tmp/unknown/1680.1' to<br>
'C:\grassdata/test3035/data/cell_misc/renyi_Renyi_0_0/null': File exists<br>
WARNING: Unable to rename cell file<br>
'C:\grassdata/test3035/data/.tmp/unknown/1680.0' to<br>
'C:\grassdata/test3035/data/fcell/renyi_Renyi_0_0': File exists<br>
<span class="">WARNING: Unable to rename null file<br>
</span>'C:\grassdata/test3035/data/.tmp/unknown/8936.1' to<br>
'C:\grassdata/test3035/data/cell_misc/renyi_Renyi_1_0/null': File exists<br>
WARNING: Unable to rename cell file<br>
'C:\grassdata/test3035/data/.tmp/unknown/8936.0' to<br>
'C:\grassdata/test3035/data/fcell/renyi_Renyi_1_0': File exists<br>
<span class="">WARNING: Unable to rename null file<br>
</span>'C:\grassdata/test3035/data/.tmp/unknown/9328.1' to<br>
'C:\grassdata/test3035/data/cell_misc/renyi_Renyi_2_0/null': File exists<br>
WARNING: Unable to rename cell file<br>
'C:\grassdata/test3035/data/.tmp/unknown/9328.0' to<br>
'C:\grassdata/test3035/data/fcell/renyi_Renyi_2_0': File exists<br>
<br>
is there some overwriting of existing files in the script? AFAIR there may<br>
be some issues with overwriting existing files in windows os.<br>
<span class=""><br></span></blockquote><div>Thanks Helmut. Yes, the script does also overwrite some intermediate files (with r.mapcalc). I will look into that and see how to change that.<br><br>I wonder though, if I use overwrite on the command line, there is no problem. So than that would be a problem specific to grass.script.mapcalc ?<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
<br>
<br>
-----<br>
best regards<br>
Helmut<br>
--<br>
</span>View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Unable-to-rename-cell-null-file-NULL-file-messed-up-tp5239350p5239357.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/Unable-to-rename-cell-null-file-NULL-file-messed-up-tp5239350p5239357.html</a><br>
<div class=""><div class="h5">Sent from the Grass - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a></div></div></blockquote></div><br></div></div>