<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 16, 2015 at 3:30 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
Paulo van Breugel wrote:<br>
<br>
> When running the tiled_function function you wrote [1] I am getting the<br>
> error below.<br>
><br>
> {{{<br>
> tiled_function(raster_inputs=ref, raster_output="out_mah1",<br>
> func=mahalanobis_distances)<br>
> }}}<br>
><br>
> ERROR: No null file for <out_mah1><br>
><br>
> Any idea what is wrong?<br>
<br>
</span>That error message is from lib/raster, and indicates that the null<br>
file couldn't be created (Rast_open_new() should probably generate an<br>
error or warning if this happens; the fact that it doesn't suggests<br>
that it isn't a common occurrence).<br>
<br>
Were there any other warnings prior to that? Check the permissions on<br>
the mapset directory, the cell_misc subdirectory, and the<br>
cell_misc/out_mah1 subdirectory (if it exists).<br></blockquote><div><br></div><div>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.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Alternatively, it might indicate an issue in the PyGrass library; that<br>
code is relatively new.<br></blockquote><div><br></div><div>OK, hopefully the PyGrass gurus can have a look at it. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></span></blockquote></div><br></div></div>