[GRASS-git] [OSGeo/grass] d2317a: t.rast.list: Add CSV, JSON, YAML outputs (#2258)
Vaclav Petras
noreply at github.com
Thu Mar 31 12:09:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: d2317a2bb6b62a1863590519e404b47f2b3b3d57
https://github.com/OSGeo/grass/commit/d2317a2bb6b62a1863590519e404b47f2b3b3d57
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
M python/grass/temporal/list_stds.py
M temporal/t.rast.list/t.rast.list.html
M temporal/t.rast.list/t.rast.list.py
R temporal/t.rast.list/test.t.rast.list.sh
A temporal/t.rast.list/tests/conftest.py
A temporal/t.rast.list/tests/t_rast_list_test.py
A temporal/t.rast.list/testsuite/test_t_rast_list.sh
Log Message:
-----------
t.rast.list: Add CSV, JSON, YAML outputs (#2258)
* This adds CSV, JSON, and YAML output and generalizes the other outputs.
* Method is now meant only for different data gathering methods, not for the output formatting. method=cols and method=comma are now obsolete.
* All formatting is available with all methods.
* Most code is shared between the two main branches of code (simple list versus delta/gran methods code).
* Columns can be now specified for any option (previously only for cols/list and partially for comma/line output).
* The change is backwards compatible both on module interface level and on Python API level.
* Activate and fix old bash test (-i by t.register is not accepted without start_time).
More information about the grass-commit
mailing list