[GRASS-dev] Error reading null row 8 for <MASK>
Alba German
albagerman at gmail.com
Wed May 6 06:12:41 PDT 2015
Hi all!
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.
GRASS 7.1.svn (latlong):~ > r.info puntosmonitoreo
+----------------------------------------------------------------------------+
| Map: puntosmonitoreo Date: Fri Apr 24 11:19:16
2015 |
| Mapset: sinnubes Login of Creator:
curso |
| Location:
latlong |
| DataBase:
/home/curso/Documents/Alba/grassdata |
| Title: Rasterized vector map from categories ( puntosmonitoreo
) |
| Timestamp:
none |
|----------------------------------------------------------------------------|
|
|
| Type of Map: raster Number of Categories:
8 |
| Data Type:
CELL |
| Rows:
9 |
| Columns:
7 |
| Total Cells:
63 |
| Projection:
Latitude-Longitude |
| N: 31:19:09.116896S S: 31:25:06.296602S Res:
0:00:39.68663 |
| E: 64:25:54.318193W W: 64:30:13.738769W Res:
0:00:37.06008 |
| Range of data: min = 1 max =
8 |
|
|
| Data
Source: |
| Vector Map:
puntosmonitoreo |
| Original scale from vector map:
1:1 |
|
|
| Data
Description: |
| generated by
v.to.rast |
|
|
|
Comments: |
| v.to.rast input="puntosmonitoreo" layer="1" type="point,line,area"
o\ |
| utput="puntosmonitoreo" use="cat" value=1
memory=300 |
|
|
+----------------------------------------------------------------------------+
I am using Linux (Ubuntu 14.04LTS).
And yes, it stop at random images, but is stopping always.
Thank you all.
Alba
2015-05-06 4:20 GMT-03:00 Paulo van Breugel <p.vanbreugel at gmail.com>:
>
>
> On 04-05-15 20:36, Markus Neteler wrote:
>
>> On Mon, May 4, 2015 at 8:05 PM, Alba German <albagerman at gmail.com> wrote:
>>
>>> Hello!
>>> I am running a loop with several r.mapcalc. I am using GRASS 7.1. The
>>> function stops with an error:
>>>
>>> ERROR: Error reading null row 8 for <MASK>
>>>
>>> I've noticed that Paulo van Breugel, had the same error but I didn't see
>>> the
>>> solution to it.
>>>
>>
> You are referring to this email:
> http://lists.osgeo.org/pipermail/grass-dev/2014-September/070584.html.
> 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.
>
> Obviously it has something to do with the raster called
>>> MASK, created with r.mask before running the loop of multiple r.mapcalc.
>>> The code itself has no problem and is very simple and works just fine
>>> with
>>> the same list of images, but without running r.mask first.
>>>
>> Hi Alba,
>>
>> could you post that part of the code e.g. here
>> http://pastebin.com/
>>
>> ? It sounds like a race condition...
>>
>> Markus
>> _______________________________________________
>> 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/20150506/3628805c/attachment.html>
More information about the grass-dev
mailing list