On Mon, Mar 16, 2015 at 3:30 PM, Glynn Clements <[email protected]>
wrote:
>
> Paulo van Breugel wrote:
>
> > When running the tiled_function function you wrote [1] I am getting the
> > error below.
> >
> > {{{
> > tiled_function(raster_inputs=ref, raster_output="out_mah1",
> > func=mahalanobis_distances)
> > }}}
> >
> > ERROR: No null file for <out_mah1>
> >
> > Any idea what is wrong?
>
> That error message is from lib/raster, and indicates that the null
> file couldn't be created (Rast_open_new() should probably generate an
> error or warning if this happens; the fact that it doesn't suggests
> that it isn't a common occurrence).
>
> Were there any other warnings prior to that? Check the permissions on
> the mapset directory, the cell_misc subdirectory, and the
> cell_misc/out_mah1 subdirectory (if it exists).
>
No prior warnings, as far as I could see. Permissions on those folders are
OK. No cell_misc/out_mah1, but that makes sense I guess as that is the
raster file that should be created by the tiled_function.
>
> Alternatively, it might indicate an issue in the PyGrass library; that
> code is relatively new.
>
OK, hopefully the PyGrass gurus can have a look at it.
>
> --
> Glynn Clements <[email protected]>
>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev