[GRASS-dev] [GRASS GIS] #1399: v.surf.rst fills up all available hard drive space when region is not set

#1399: v.surf.rst fills up all available hard drive space when region is not set
-------------------------+--------------------------------------------------
Reporter: Stephan66 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: 6.4.1 RCs
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
When v.surf.rst is called and no region has been set (i.e. using
g.region), it will fill up all available storage space in my grassdata
directory (~ 130 GB in just a few minutes....).

System: openSuSE 11.4 (x86_64)
Packages installed from OBS:

gdal 1.8.0-27.3
gpsbabel 1.4.2-16.1
grass 6.4.1-1.14
grass-docs 6.4.1-1.14
libgdal-grass 1.4.3-15.17
libgdal1 1.8.0-27.3
libgeoclue0 0.12.0-6.1
libgeos0 3.2.2-1.pm.1.3
libgeotiff2 1.3.0-1.pm.1.1
libnetcdf4 4.0.1-17.1
libopenjpeg2_0 2.0.0-1.pm.1.1
libproj0 4.7.0-1.pm.1.3
libqwt5 5.2.1-3.11 (5.2.1-1.pm.3.2
libspatialite1 2.3.1-5.1
netcdf 4.0.1-17.1
proj4 4.7.0-1.pm.1.3
python-gdal 1.8.0-27.3
python-numpy 1.5.1-17.2
qgis 1.7.0-2.1
qgis-plugin-grass 1.7.0-2.1

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1399&gt;
GRASS GIS <http://grass.osgeo.org>

#1399: v.surf.rst fills up all available hard drive space when region is not set
-------------------------+--------------------------------------------------
Reporter: Stephan66 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: 6.4.1 RCs
Keywords: v.surf.rst | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * keywords: => v.surf.rst
  * component: Default => Vector
  * milestone: => 6.4.2

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1399#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1399: v.surf.rst fills up all available hard drive space when region is not set
-------------------------+--------------------------------------------------
Reporter: Stephan66 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: 6.4.1 RCs
Keywords: v.surf.rst | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by marisn):

There's always a region. Please run g.region -p and report results here.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1399#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1399: v.surf.rst fills up all available hard drive space when region is not set
-------------------------+--------------------------------------------------
Reporter: Stephan66 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: 6.4.1 RCs
Keywords: v.surf.rst | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by Stephan66):

> g.region -p
projection: 99 (sterea)
zone: 0
datum: rd18
ellipsoid: a=6377397.155 es=0.006674372231802145
north: 363600
south: 0
west: 0
east: 202600
nsres: 1
ewres: 1
rows: 363600
cols: 202600
cells: 73665360000
>

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1399#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1399: v.surf.rst fills up all available hard drive space when region is not set
------------------------+---------------------------------------------------
  Reporter: Stephan66 | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.2
Component: Vector | Version: 6.4.1 RCs
Resolution: invalid | Keywords: v.surf.rst
  Platform: Linux | Cpu: Unspecified
------------------------+---------------------------------------------------
Changes (by marisn):

  * status: new => closed
  * resolution: => invalid

Comment:

I'm sorry. v.surf.rst just does what You have ordered. It would create a
raster with 73665360000 cells, that would take approx. 550 Gb of RAM/disk
(rough calculation without taking into account any compression or
overhead). Next time just check Your region settings before performing any
analysis.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1399#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>