<div dir="ltr">Hi Nikos <div>I just sort out. </div><div>the file /PERMANENT/cell_misc/UNIT3753/reclassed_to was very big (2.5g) and it  was not be able to be removed with the r.remove.</div><div><br></div><div>Thank you </div><div>Giuseppe </div><div><br></div><div> </div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 May 2017 at 17:21, Nikos Alexandris <span dir="ltr"><<a href="mailto:nik@nikosalexandris.net" target="_blank">nik@nikosalexandris.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Giuseppe Amatulli <<a href="mailto:giuseppe.amatulli@gmail.com" target="_blank">giuseppe.amatulli@gmail.com</a>> [2017-05-24 14:59:02 -0400]:<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
I have a strange error when I'm try to remove the mask<br>
<br>
GRASS 7.0.2 (loc_river_fill_GLOBE):~ > r.mask -r<br>
</blockquote>
<br></span>
Dear Giuseppe,<br>
<br>
Are you bound to 7.0.2?  7.2 is the latest released version.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Traceback (most recent call last):<br>
 File "/gpfs/apps/hpc.rhel7/Apps/GRA<wbr>SS/7.0.2/grass-7.0.2/scripts/<wbr>r.mask",<br>
line 184, in <module><br>
   main()<br>
 File "/gpfs/apps/hpc.rhel7/Apps/GRA<wbr>SS/7.0.2/grass-7.0.2/scripts/<wbr>r.mask",<br>
line 104, in main<br>
   type = 'raster', name = 'MASK')<br>
 File<br>
"/gpfs/apps/hpc.rhel7/Apps/GRA<wbr>SS/7.0.2/grass-7.0.2/etc/pytho<wbr>n/grass/script/core.py",<br>
line 394, in run_command<br>
   return handle_errors(returncode, returncode, args, kwargs)<br>
 File<br>
"/gpfs/apps/hpc.rhel7/Apps/GRA<wbr>SS/7.0.2/grass-7.0.2/etc/pytho<wbr>n/grass/script/core.py",<br>
line 312, in handle_errors<br>
   returncode=returncode)<br>
grass.exceptions.CalledModuleE<wbr>rror: Module run None ['g.remove', '--q',<br>
'-f', 'type=raster', 'name=MASK'] ended with error<br>
Process ended with non-zero return code -11. See errors in the (error)<br>
output.<br>
[Raster MASK present]<br>
</blockquote>
<br></span>
What does `g.list -m raster` say?<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
even if i try to remove<br>
the MASK directly<br>
g.remove -f type=raster name=MASK<br>
or the file associate to it<br>
g.remove -f type=raster name=UNIT3753<br>
I get Segmentation fault<br>
</blockquote>
<br>
<br></span>
would you have time to debug this one? See<br>
<a href="https://grasswiki.osgeo.org/wiki/GRASS_Debugging" rel="noreferrer" target="_blank">https://grasswiki.osgeo.org/wi<wbr>ki/GRASS_Debugging</a>.<br>
<br>
As a last resort, did you try to hard-remove manually (as per rm -rf) all files<br>
related to MASK and UNIT3735 (inside the directories cell, fcell, cell_misc and<br>
cell_hd)?<span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I try also to r.in.gdal the file again, the file is imported successfully,<br>
but I still not able to remove the MASK.<br>
<br>
In the past I have used the UNIT3753-raster   several time without problem<br>
than one week ago I used to create another data set<br>
r.patch input="UNIT3753,UNIT4000" output="UNIT3753_4000"<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Could be that the UNIT3753 raster is "link" to the UNIT3753_4000 and lock<br>
any kind of operation associate to it?<br>
</blockquote>
<br></span>
Unless I miss something, the answer is no. `r.patch` produces a new and<br>
independent map.<span class="HOEnZb"><font color="#888888"><br>
<br>
Nikos<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Giuseppe Amatulli, Ph.D.<br><br>Research scientist at<br><span>Yale School of Forestry & Environmental Studies<br></span><span>Yale Center for Research Computing<br></span>Center for Science and Social Science Information<br>New Haven, 06511<br><div>
   Teaching: <a href="http://spatial-ecology.org" target="_blank">http://spatial-ecology.org</a>
  </div> 
  
   Work:  <a href="https://environment.yale.edu/profile/giuseppe-amatulli/" target="_blank">https://environment.yale.edu/profile/giuseppe-amatulli/</a> <br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>