[GRASS-git] [OSGeo/grass] c7fc4e: grass.temporal: Add registered_maps_grouped() and ...

Anna Petrasova noreply at github.com
Wed Jul 15 14:11:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: c7fc4ea573ef6c5092d667105f3a08215319582b
      https://github.com/OSGeo/grass/commit/c7fc4ea573ef6c5092d667105f3a08215319582b
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M python/grass/temporal/__init__.py
    M python/grass/temporal/gui_support.py
    A python/grass/temporal/tests/grass_temporal_gui_support_test.py

  Log Message:
  -----------
  grass.temporal: Add registered_maps_grouped() and honor dbif mapsets in tlist() (#7714)

Add a gui_support helper that returns the maps registered in all space
time datasets of the mapsets covered by the given database connection,
grouped by dataset type and dataset id, ordered by start time. This
gives the Data Catalog a cheap way to show dataset contents and to
identify maps registered in any dataset without calling t.rast.list
per dataset.

Fix tlist() to iterate the mapsets of the passed connection instead of
re-deriving the search path, so tlist_grouped() works with a
connection created with mapsets=*. Default behavior is unchanged.

The tests also cover mapsets without a temporal database, a project
without any temporal database, and verify that listing with
tgis.init(skip_db_init=True) does not create a temporal database.

Written with the help of Claude Code.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list