[GRASS-dev] [GRASS GIS] #2672: r.surf.idw should support FCELL and DCELL

GRASS GIS trac at osgeo.org
Mon May 18 23:45:27 PDT 2015


#2672: r.surf.idw should support FCELL and DCELL
-----------------------+---------------------------------
  Reporter:  annakrat  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  7.0.1
 Component:  Raster    |    Version:  svn-releasebranch70
Resolution:            |   Keywords:  r.surf.idw
       CPU:  All       |   Platform:  All
-----------------------+---------------------------------

Comment (by neteler):

 Replying to [comment:3 kuszinger]:
 > '''Comment only''': Any solution is generated, I've realized that in V7
 r.surf.idw eats much more memory than in 6.4. Addition of FCELL and DCELL
 is handy, but I'm afraid that it may lead to further memory footprint
 growing. I'm ready for testing, anyway, any new version.

 I made a test with valgrind
 (http://grasswiki.osgeo.org/wiki/GRASS_Debugging#Using_Valgrind) and did
 not find any leak:

 {{{
 # current region:
 rows:       7490
 cols:       6990
 cells:      52355100

 # valgrind ...
 ==29843== LEAK SUMMARY:
 ==29843==    definitely lost: 660 bytes in 24 blocks
 ==29843==    indirectly lost: 0 bytes in 0 blocks
 ==29843==      possibly lost: 0 bytes in 0 blocks
 ==29843==    still reachable: 101,344 bytes in 52 blocks
 ==29843==         suppressed: 0 bytes in 0 blocks
 }}}

 > I use r.surf.idw extensively on huge sparse rasters where it takes 2 -
 10 GB RAM to create the result.

 Please indicate how many cols/rows or ideally post a test with the NC
 dataset.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2672#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list