[GRASS-dev] [GRASS GIS] #3742: t.rast.aggregate: allow multiple methods/output
GRASS GIS
trac at osgeo.org
Tue Jan 29 03:45:42 PST 2019
#3742: t.rast.aggregate: allow multiple methods/output
--------------------------+------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.8.0
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.rast.aggregate
CPU: All | Platform: All
--------------------------+------------------------------
Comment (by sbl):
After I had a closer look at the t.rast.aggregate code, it seems that
changes at library level would be required.
Amongst others here:
https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/temporal/aggregation.py#L288
I can try to implement that (and create a diff for a possible solution for
you to review before I commit).
Main question would be how to keep API stable when implementing changes
with regards to multiple output.
A possible option would be to use base name as is, if only one method is
requested. And only if multiple methods are requested, the method gets
injected in the raster map name (between base name and suffix/number).
That would maintain current behavior but would open up for multiple
output.
Finally, a new standard parser option would probably be nice like
G_OPT_STRDS_OUTPUTS, as there is currently no standard option for multiple
STDS outputs(just input), see:
https://grass.osgeo.org/grass77/manuals/parser_standard_options.html
But this is something I cannot implement, and maybe it is not worth it if
this is the only forseable case...
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3742#comment:2>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list