- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 369
Closed
Labels
bugSomething isn't workingSomething isn't workingtemporalRelated to temporal data processingRelated to temporal data processing
Milestone
Description
Describe the bug
When using t.rast.list with the method=gran option, the columns filter does not work. Instead of filtering the table to just the columns selected, it returns the whole table, unfiltered.
To Reproduce
Steps to reproduce the behavior:
- Use sample temporal dataset from: http://ncsu-geoforall-lab.github.io/grass-temporal-workshop/
- Run t.create output=NagsHead_99_08 type=strds temporaltype=relative title="Nags Head elevation series" description="from 1999 to 2008 with gaps"
- Register rasters NH_1999_1m, NH_2001_1m, NH_2004_1m, NH_2005_1m, NH_2007_1m and NH_2008_1m to NagsHead_99_08, the new space time dataset, with unit of years.
- Run t.rast.list input=NagsHead_99_08 columns=nameto see expected behavior ofcolumnsfilter
- See expected output:
name
NH_1999_1m
NH_2001_1m
NH_2004_1m
NH_2005_1m
NH_2007_1m
NH_2008_1m
- Run same as above but with method=granto see unexpected behavior (t.rast.list input=NagsHead_99_08 method=gran columns=name):
id|name|mapset|start_time|end_time|interval_length|distance_from_begin
NH_1999_1m@NagsHead_series|NH_1999_1m|NagsHead_series|1999|2000|1|0
None|None|None|2000|2001|1|1
NH_2001_1m@NagsHead_series|NH_2001_1m|NagsHead_series|2001|2002|1|2
None|None|None|2002|2003|1|3
None|None|None|2003|2004|1|4
NH_2004_1m@NagsHead_series|NH_2004_1m|NagsHead_series|2004|2005|1|5
NH_2005_1m@NagsHead_series|NH_2005_1m|NagsHead_series|2005|2006|1|6
None|None|None|2006|2007|1|7
NH_2007_1m@NagsHead_series|NH_2007_1m|NagsHead_series|2007|2008|1|8
NH_2008_1m@NagsHead_series|NH_2008_1m|NagsHead_series|2008|2009|1|9
Expected behavior
Expected t.rast.list to return only name column.
System description (please complete the following information):
- Operating System: Windows and Linux; haven't tested on Mac
- GRASS GIS version: 8.0 and 7.8
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtemporalRelated to temporal data processingRelated to temporal data processing