[GRASS-dev] Unable to rename cell/null file - NULL file messed up

Paulo van Breugel p.vanbreugel at gmail.com
Tue Dec 1 05:51:43 PST 2015


On Tue, Dec 1, 2015 at 2:04 PM, Helmut Kudrnovsky <hellik at web.de> 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 at data,spec2 at data,spec3 at data,spec4 at data,spec5 at 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.

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
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151201/be609fb7/attachment-0001.html>


More information about the grass-dev mailing list