-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Labels
bugSomething isn't workingSomething isn't workingtemporalRelated to temporal data processingRelated to temporal data processing
Milestone
Description
Describe the bug
Printing metadata for raster registered in temporal database fails:
t.info type=raster input=lst_2014.005_avg
+-------------------- Raster Dataset ----------------------------------------+
| |
+-------------------- Basic information -------------------------------------+
| Id: ........................ lst_2014.005_avg@italy_LST_daily
| Name: ...................... lst_2014.005_avg
| Mapset: .................... italy_LST_daily
| Creator: ................... mundialis
| Temporal type: ............. absolute
| Creation time: ............. 2019-09-05 12:57:57
+-------------------- Absolute time -----------------------------------------+
| Start time:................. 2014-01-05 00:00:00
| End time:................... 2014-01-06 00:00:00
+-------------------- Spatial extent ----------------------------------------+
| North:...................... 2666000.0
| South:...................... 2228000.0
| East:.. .................... 4635000.0
| West:....................... 4053000.0
| Top:........................ 0.0
| Bottom:..................... 0.0
Traceback (most recent call last):
File "/home/akratoc/dev/grass/grass_main/dist.x86_64-pc-linux-gnu/scripts/t.info", line 134, in <module>
main()
File "/home/akratoc/dev/grass/grass_main/dist.x86_64-pc-linux-gnu/scripts/t.info", line 129, in main
dataset.print_info()
File "/home/akratoc/dev/grass/grass_main/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/abstract_map_dataset.py", line 308, in print_info
self.metadata.print_info()
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'RasterMetadata' object has no attribute 'print_info'
Expected behavior
Metadata should work not only for STDS, but also for registered maps.
Additional context
Broken in 7df1a7e.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtemporalRelated to temporal data processingRelated to temporal data processing