#3152: g.gui.animation issues with stvds and list of vector maps
-----------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.0
Component: wxGUI | Version: svn-trunk
Keywords: g.gui.animation | CPU: Unspecified
Platform: Linux |
-----------------------------+-------------------------
I want to create an animation for a weekly STVDS covering a total time
span of 5 years. However, the STVDS only consist of 62 maps, given that
there's no data in every week but only in those 62 weeks (summer weeks
over the years).
When I pass my STVDS to g.gui.animation (using the GUI or the
CLI), I either get a lot of black screens for those time periods in which
my STVDS has no maps or the last map with data remains there until a new
map with data comes. Is there a way to only get the background raster in
those periods without data, instead of the last vector with data???
As these are cases of a disease, it has no sense (and it represents
something that it is not true) to keep the last point for an X period of
time until new cases appear.
I thought that maybe only passing the list of 62 maps (not as a time
series) would suffice, but I found I cannot use '?' in the GUI for
the selection, and then I have to manually click on maps with no
possibility to scroll. Is it feasible to add support for
the '?' or a file parameter, as in other modules, to pass a file with the
list of maps?
The next thing I tried was to pass the list of files with the CLI, using
{{{
g.gui.animation vector=`g.list type=vector mapset=.
pattern=cases_20??_??_??_* separator=comma`
}}}
but I get the following error:
{{{
Traceback (most recent call last):
File "/home/veroandreo/software/grass-7.3.svn/dist.x86_64-pc-linux-
gnu/scripts/g.gui.animation", line 141, in <module>
main()
File "/home/veroandreo/software/grass-7.3.svn/dist.x86_64-pc-linux-
gnu/scripts/g.gui.animation", line 112, in main
layer.cmd = ['d.vect', 'map={name=}'.format(name=vect.split(',')[0])]
KeyError: 'name='
}}}
Listing the maps, however, works as expected, and I get the corresponding
list of maps. I'm using trunk r69455M under fedora 24.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3152>
GRASS GIS <https://grass.osgeo.org>