<div dir="ltr"><div>Hi all!<br><br></div>Here is the output of the file I use for masking. It was a vector transformed to raster, and I use each pixel with different value as a mask. I need the value per pixel to perform the r.mapcalc.<br><div><div><br>GRASS 7.1.svn (latlong):~ > <a href="http://r.info">r.info</a> puntosmonitoreo<br> +----------------------------------------------------------------------------+<br> | Map:      puntosmonitoreo                Date: Fri Apr 24 11:19:16 2015    |<br> | Mapset:   sinnubes                       Login of Creator: curso           |<br> | Location: latlong                                                          |<br> | DataBase: /home/curso/Documents/Alba/grassdata                             |<br> | Title:    Rasterized vector map from categories ( puntosmonitoreo )        |<br> | Timestamp: none                                                            |<br> |----------------------------------------------------------------------------|<br> |                                                                            |<br> |   Type of Map:  raster               Number of Categories: 8               |<br> |   Data Type:    CELL                                                       |<br> |   Rows:         9                                                          |<br> |   Columns:      7                                                          |<br> |   Total Cells:  63                                                         |<br> |        Projection: Latitude-Longitude                                      |<br> |            N: 31:19:09.116896S    S: 31:25:06.296602S   Res: 0:00:39.68663 |<br> |            E: 64:25:54.318193W    W: 64:30:13.738769W   Res: 0:00:37.06008 |<br> |   Range of data:    min = 1  max = 8                                       |<br> |                                                                            |<br> |   Data Source:                                                             |<br> |    Vector Map: puntosmonitoreo                                             |<br> |    Original scale from vector map: 1:1                                     |<br> |                                                                            |<br> |   Data Description:                                                        |<br> |    generated by v.to.rast                                                  |<br> |                                                                            |<br> |   Comments:                                                                |<br> |    v.to.rast input="puntosmonitoreo" layer="1" type="point,line,area" o\   |<br> |    utput="puntosmonitoreo" use="cat" value=1 memory=300                    |<br> |                                                                            |<br> +----------------------------------------------------------------------------+<br><br><br></div><div>I am using Linux (Ubuntu 14.04LTS).<br><br></div><div>And yes, it stop at random images, but is stopping always.<br><br></div><div>Thank you all.<br><br></div><div>Alba<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-06 4:20 GMT-03:00 Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 04-05-15 20:36, Markus Neteler wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, May 4, 2015 at 8:05 PM, Alba German <<a href="mailto:albagerman@gmail.com" target="_blank">albagerman@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
I am running a loop with several r.mapcalc. I am using GRASS 7.1. The<br>
function stops with an error:<br>
<br>
ERROR: Error reading null row 8 for <MASK><br>
<br>
I've noticed that Paulo van Breugel, had the same error but I didn't see the<br>
solution to it.<br>
</blockquote></blockquote>
<br></span>
You are referring to this email: <a href="http://lists.osgeo.org/pipermail/grass-dev/2014-September/070584.html" target="_blank">http://lists.osgeo.org/pipermail/grass-dev/2014-September/070584.html</a>. Can't recall how / if I solved this, but I haven't encountered it recently. The difficult part of it was that it appeared to happen at random, i.e., the same function and same data would run without problem in one instance and end with the above-mentioned error in another instance.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Obviously it has something to do with the raster called<br>
MASK, created with r.mask before running the loop of multiple r.mapcalc.<br>
The code itself has no problem and is very simple and works just fine with<br>
the same list of images, but without running r.mask first.<br>
</blockquote>
Hi Alba,<br>
<br>
could you post that part of the code e.g. here<br>
<a href="http://pastebin.com/" target="_blank">http://pastebin.com/</a><br>
<br>
? It sounds like a race condition...<br>
<br>
Markus<br></span><span class="">
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</span></blockquote>
<br>
</blockquote></div><br></div>