#2731: t.rast.aggregate: ValueError: too many values to unpack
------------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Keywords: t.rast.aggregate | CPU: Unspecified
Platform: Unspecified |
------------------------------+-------------------------
The current t.rast.aggregate fails on Windows:
{{{
C:\>t.rast.aggregate in=CA_tmean_temporal@tmean out=CA_tmean_annual
basename=yea
r granularity="1 years" method=average
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-7.1.svn/scripts/t.rast.aggregate.py",
line 1
96, in <module>
main()
File "C:\OSGeo4W\apps\grass\grass-7.1.svn/scripts/t.rast.aggregate.py",
line 1
73, in main
overwrite=gcore.overwrite())
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\temporal\aggregatio
n.py", line 308, in aggregate_by_topology
process_queue.put(mod)
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\module.py", line 206, in put
self._list[self._proc_count].run()
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\module.py", line 693, in run
G_debug(1, self.get_bash())
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\env.py", line 32, in G_debug
debug_level = get_debug_level()
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\env.py", line 25, in get_debug_level
debug = get_env().get('DEBUG')
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\int
erface\env.py", line 19, in get_env
for k, v in [row.split(':') for row in grc if row]])
ValueError: too many values to unpack
}}}
We tried to aggregate temperature time series.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2731>
GRASS GIS <https://grass.osgeo.org>