On 01-12-15 14:51, Paulo van Breugel wrote:
On Tue, Dec 1, 2015 at 2:04 PM, Helmut Kudrnovsky <[email protected] <mailto:[email protected]>> wrote:pvanbosgeo wrote > When running a script (r.biodiversity) in GRASS 7.0 for Windows, I am > getting the warning: > > WARNING: Unable to rename cell file > 'C:\GIS\GrassJvdS/latlong/YLD_NUT/.tmp/unknown/3988.0' to > 'C:\GIS\GrassJvdS/latlong/YLD_NUT/fcell/Shan3_CA_Renyi_0_0': File exists > WARNING: Unable to rename null file > 'C:\GIS\GrassJvdS/latlong_2005/YLD_NUT/.tmp/unknown/4100.1' to > 'C:\GIS\GrassJvdS/latlong_2005/YLD_NUT/cell_misc/Shan3_CA_Renyi_1_0/null': > File exists tested here: r.biodiversity -r --verbose input=spec1@data,spec2@data,spec3@data,spec4@data,spec5@data output=renyi alpha=0,1,2 WARNING: Unable to rename null file 'C:\grassdata/test3035/data/.tmp/unknown/1680.1' to 'C:\grassdata/test3035/data/cell_misc/renyi_Renyi_0_0/null': File exists WARNING: Unable to rename cell file 'C:\grassdata/test3035/data/.tmp/unknown/1680.0' to 'C:\grassdata/test3035/data/fcell/renyi_Renyi_0_0': File exists WARNING: Unable to rename null file 'C:\grassdata/test3035/data/.tmp/unknown/8936.1' to 'C:\grassdata/test3035/data/cell_misc/renyi_Renyi_1_0/null': File exists WARNING: Unable to rename cell file 'C:\grassdata/test3035/data/.tmp/unknown/8936.0' to 'C:\grassdata/test3035/data/fcell/renyi_Renyi_1_0': File exists WARNING: Unable to rename null file 'C:\grassdata/test3035/data/.tmp/unknown/9328.1' to 'C:\grassdata/test3035/data/cell_misc/renyi_Renyi_2_0/null': File exists WARNING: Unable to rename cell file 'C:\grassdata/test3035/data/.tmp/unknown/9328.0' to 'C:\grassdata/test3035/data/fcell/renyi_Renyi_2_0': File exists is there some overwriting of existing files in the script? AFAIR there may be some issues with overwriting existing files in windows os.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.
Hi Helmut, you were absolutely right, the problem was with r.mapcalc overwriting some intermediate files, so I changed that. I don't have Windows myself, but had a quick try on my colleagues computer, and it seems to work now. Thanks for your help.
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 ?----- best regards Helmut -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Unable-to-rename-cell-null-file-NULL-file-messed-up-tp5239350p5239357.html Sent from the Grass - Dev mailing list archive at Nabble.com. _______________________________________________ grass-dev mailing list [email protected] <mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/grass-dev
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
