[GRASS-dev] [GRASS GIS] #2892: t.rast.aggregate: error when input space time raster dataset store many rasters

GRASS GIS trac at osgeo.org
Wed Feb 3 08:33:08 PST 2016


#2892: t.rast.aggregate: error when input space time raster dataset store many
rasters
-----------------------+---------------------------------------------------
  Reporter:  tmsz      |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  7.0.4
 Component:  Temporal  |    Version:  7.0.2
Resolution:            |   Keywords:  wingrass, t.rast.aggregate, g.message
       CPU:  x86-64    |   Platform:  MSWindows 7
-----------------------+---------------------------------------------------

Comment (by tmsz):

 Hi,

 This error appear on OS Windows platform only. Offset for import rasters
 can be different on OS GNU/Linux. I think problem is not with raster name
 length.[[BR]]

 When I run t.rast.aggregate, which inner create process (in the source
 code for create new process is called python method
 _subprocess.CreateProcess() on OS Windows platform) with argument which is
 command-line calling g.message command with argument message which is very
 long. On Windows OS platform is command-line string limitation for total
 length of the following command line (last previous link).

 {{{
 #!div style="font-size: 100%"
 short preview, how is g.message called on OS Windows:
    {{{
  "C:\Program Files (x86)\GRASS GIS 7.0.2\bin\g.message.EXE" -i
 "message=granularity_list:
 [<grass.temporal.space_time_datasets.RasterDataset object at 0x040968F0>,
 ...
    }}}
 }}}

 Check the text file (complete g.message command calling) in the attached
 previous archive.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2892#comment:2>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list