You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the manual page t.info not only prints metadata about time series, but also about single maps registered in the temporal database. However, when attempting to print metadata for a single raster file already registered, I get:
t.info lst_2014.005_avg type=raster
+-------------------- Raster Dataset ----------------------------------------+
| |
+-------------------- Basic information -------------------------------------+
| Id: ........................ lst_2014.005_avg@italy_LST_daily
| Name: ...................... lst_2014.005_avg
| Mapset: .................... italy_LST_daily
| Creator: ................... veroandreo
| Temporal type: ............. absolute
| Creation time: ............. 2021-08-10 18:06:49
+-------------------- 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/vandreo/software/grass-dev/dist.x86_64-pc-linux-gnu/scripts/t.info", line 134, in <module>
main()
File "/home/vandreo/software/grass-dev/dist.x86_64-pc-linux-gnu/scripts/t.info", line 129, in main
dataset.print_info()
File "/home/vandreo/software/grass-dev/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'
To reproduce
for i in $(seq 1 5) ; do
r.mapcalc expression="map_${i} = ${i}"
done
t.create type=strds temporaltype=absolute output=test title="test" description="test"
t.register input=test maps=`g.list rast pat=map* sep=comma` start="2024-07-14" increment="1 days" -i
t.info map_1 type=raster
Describe the bug
According to the manual page t.info not only prints metadata about time series, but also about single maps registered in the temporal database. However, when attempting to print metadata for a single raster file already registered, I get:
To reproduce
System description
The text was updated successfully, but these errors were encountered: