[GRASS-user] Trouble using r.mblend

Ryan Aherin raaherin at gmail.com
Mon May 1 09:47:10 PDT 2023


Hi,
I'm having trouble getting the r.mblend extension to work. I'm currently
using GRASS v8.2.1 on linux (I'm running on Arch linux). When I run
r.mblend with the following command:
-------------------------------------------------------------------------------------------------------------------------------
r.mblend --verbose high=1m_DEM low=5m_DEM output=merged_DEM inter_points=80
--------------------------------------------------------------------------------------------------------------------------------

It exits with the following error output:

-------------------------------------------------------------------------------------------------------------------------------
[r.mblend] Interpolating smoothing surface. This might take a while...
Traceback (most recent call last):
  File "/home/ryan/.grass8/addons/scripts/r.mblend", line 332, in <module>
    main()
  File "/home/ryan/.grass8/addons/scripts/r.mblend", line 302, in main
    gscript.run_command(
  File "/opt/grass/etc/python/grass/script/core.py", line 541, in
run_command
    return handle_errors(returncode, result=None, args=args, kwargs=kwargs)
  File "/opt/grass/etc/python/grass/script/core.py", line 429, in
handle_errors
    raise CalledModuleError(module=module, code=code, returncode=returncode)
grass.exceptions.CalledModuleError: Module run `v.surf.idw
input=tmp_2803617 column=value output=tmp_2803618 power=2 npoints=80` ended
with an error.
The subprocess ended with a non-zero return code: -9. See errors above the
traceback or in the error output.
WARNING: No data base element files found
WARNING: No data base element files found
WARNING: No data base element files found
WARNING: No data base element files found
WARNING: No data base element files found
WARNING: Table <tmp_2803611> linked to vector map <tmp_2803611> does not
         exist
-------------------------------------------------------------------------------------------------------------------------------

The output of 'r.info 1m_DEM' is:
+----------------------------------------------------------------------------+
 | Map:      1m_DEM                         Date: Sat Apr 29 06:51:13 2023
   |
 | Mapset:   PERMANENT                      Login of Creator: ryan
   |
 | Location: golspie
   |
 | DataBase: /mnt/sdb2/grassdata
   |
 | Title:
  |
 | Timestamp: none
   |
 |----------------------------------------------------------------------------|
 |
   |
 |   Type of Map:  raster               Number of Categories: 395
  |
 |   Data Type:    FCELL                Semantic label: (none)
   |
 |   Rows:         10000
   |
 |   Columns:      15000
   |
 |   Total Cells:  150000000
   |
 |        Projection: OSGB36 / British National Grid
   |
 |            N:     910000    S:     900000   Res:     1
  |
 |            E:     295000    W:     280000   Res:     1
  |
 |   Range of data:    min = -3.34  max = 394.81
   |
 |
   |
 |   Data Description:
   |
 |    generated by r.in.gdal
   |
 |
   |
 |   Comments:
   |
 |    r.in.gdal --overwrite -e -a input="Golspie_Brora_1m_DEM.tif" output=\
  |
 |    "1m_DEM" memory=300 offset=0 num_digits=0
  |
 |
   |
 +----------------------------------------------------------------------------+

The output of 'r.info 5m_DEM' is:

 +----------------------------------------------------------------------------+
 | Map:      5m_DEM                         Date: Sat Apr 29 06:51:48 2023
   |
 | Mapset:   PERMANENT                      Login of Creator: ryan
   |
 | Location: golspie
   |
 | DataBase: /mnt/sdb2/grassdata
   |
 | Title:
  |
 | Timestamp: none
   |
 |----------------------------------------------------------------------------|
 |
   |
 |   Type of Map:  raster               Number of Categories: 0
  |
 |   Data Type:    FCELL                Semantic label: (none)
   |
 |   Rows:         11000
   |
 |   Columns:      13000
   |
 |   Total Cells:  143000000
   |
 |        Projection: OSGB36 / British National Grid
   |
 |            N:     940000    S:     885000   Res:     5
  |
 |            E:     300000    W:     235000   Res:     5
  |
 |   Range of data:    min = -1.49  max = 960.91
   |
 |
   |
 |   Data Description:
   |
 |    generated by r.in.gdal
   |
 |
   |
 |   Comments:
   |
 |    r.in.gdal --overwrite -e -a input="Golspie_Brora_OS_5m_DEM.tif" outp\
  |
 |    ut="5m_DEM" memory=300 offset=0 num_digits=0
   |
 |
   |
 +----------------------------------------------------------------------------+

I've already tried to reinstall r.mblend using g.extensions to no avail.

Thanks in advance for any help!

Cheers,
Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20230501/53473ed4/attachment.htm>


More information about the grass-user mailing list