[GRASS-user] error in remove mask

Giuseppe Amatulli giuseppe.amatulli at gmail.com
Wed May 24 11:59:02 PDT 2017


Hi all,
I have a strange error when I'm try to remove the mask

GRASS 7.0.2 (loc_river_fill_GLOBE):~ > r.mask -r
Traceback (most recent call last):
  File "/gpfs/apps/hpc.rhel7/Apps/GRASS/7.0.2/grass-7.0.2/scripts/r.mask",
line 184, in <module>
    main()
  File "/gpfs/apps/hpc.rhel7/Apps/GRASS/7.0.2/grass-7.0.2/scripts/r.mask",
line 104, in main
    type = 'raster', name = 'MASK')
  File
"/gpfs/apps/hpc.rhel7/Apps/GRASS/7.0.2/grass-7.0.2/etc/python/grass/script/core.py",
line 394, in run_command
    return handle_errors(returncode, returncode, args, kwargs)
  File
"/gpfs/apps/hpc.rhel7/Apps/GRASS/7.0.2/grass-7.0.2/etc/python/grass/script/core.py",
line 312, in handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None ['g.remove', '--q',
'-f', 'type=raster', 'name=MASK'] ended with error
Process ended with non-zero return code -11. See errors in the (error)
output.
[Raster MASK present]

even if i try to remove
the MASK directly
g.remove -f type=raster name=MASK
or the file associate to it
g.remove -f type=raster name=UNIT3753
I get Segmentation fault

I try also to r.in.gdal the file again, the file is imported successfully,
but I still not able to remove the MASK.

In the past I have used the UNIT3753-raster   several time without problem
than one week ago I used to create another data set
r.patch input="UNIT3753,UNIT4000" output="UNIT3753_4000"

Could be that the UNIT3753 raster is "link" to the UNIT3753_4000 and lock
any kind of operation associate to it?

Thanks
Giuseppe









-- 
Giuseppe Amatulli, Ph.D.

Research scientist at
Yale School of Forestry & Environmental Studies
Yale Center for Research Computing
Center for Science and Social Science Information
New Haven, 06511
Teaching: http://spatial-ecology.org
Work:  https://environment.yale.edu/profile/giuseppe-amatulli/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170524/76b87292/attachment-0001.html>


More information about the grass-user mailing list