Opened 8 years ago

Closed 8 years ago

#3316 closed defect (fixed)

t.list: only relative time strds reported when using output option

Reported by: veroandreo Owned by: grass-dev@…
Priority: normal Milestone: 7.2.1
Component: Temporal Version: svn-trunk
Keywords: t.list Cc:
CPU: x86-64 Platform: Linux

Description

When the output of G7:t.list is displayed in the terminal, all the strds available are there (absolute and relative time). However, if I use the output option to get a file with the list of strds, only those with relative time are listed. Might that be a bug?

I'm using trunk r70753.

Change History (6)

comment:1 by neteler, 8 years ago

Could you please add a small example (output)?

in reply to:  1 comment:2 by veroandreo, 8 years ago

Replying to neteler:

Could you please add a small example (output)?

Yes, sure. Luckily I kept a file with the example. Here, the list as seen in the standard output with all the available STRDS (absolute and relative time):

GRASS 7.3.svn (eu_laea):~ > t.list
----------------------------------------------
Space time raster datasets with absolute time available in mapset <lst>:
MOD11A1_LST_Day_1km@lst
MOD11A1_LST_Night_1km@lst
MYD11A1_LST_Day_1km@lst
MYD11A1_LST_Night_1km@lst
Space time raster datasets with relative time available in mapset <lst>:
MOD11A1_LST_Day_1km_month_perc_vd@lst
MOD11A1_LST_Day_1km_yearly_perc_vd@lst
MOD11A1_LST_Night_1km_month_perc_vd@lst
MOD11A1_LST_Night_1km_yearly_perc_vd@lst
MYD11A1_LST_Day_1km_month_perc_vd@lst
MYD11A1_LST_Day_1km_yearly_perc_vd@lst
MYD11A1_LST_Night_1km_month_perc_vd@lst
MYD11A1_LST_Night_1km_yearly_perc_vd@lst

Here, the list after using output option (only the STRDS with relative time are there):

GRASS 7.3.svn (eu_laea):~ > t.list output=strds_list

GRASS 7.3.svn (eu_laea):~ > cat strds_list 
MOD11A1_LST_Day_1km_month_perc_vd@lst
MOD11A1_LST_Day_1km_yearly_perc_vd@lst
MOD11A1_LST_Night_1km_month_perc_vd@lst
MOD11A1_LST_Night_1km_yearly_perc_vd@lst
MYD11A1_LST_Day_1km_month_perc_vd@lst
MYD11A1_LST_Day_1km_yearly_perc_vd@lst
MYD11A1_LST_Night_1km_month_perc_vd@lst
MYD11A1_LST_Night_1km_yearly_perc_vd@lst

comment:3 by huhabla, 8 years ago

Should be fixed in r70968, please test.

in reply to:  3 ; comment:4 by veroandreo, 8 years ago

Replying to huhabla:

Should be fixed in r70968, please test.

Yes, all is there now. Thank you! :)

I do not close yet, in case it will be backported.

in reply to:  4 comment:5 by neteler, 8 years ago

Replying to veroandreo:

Replying to huhabla:

Should be fixed in r70968, please test.

Yes, all is there now. Thank you! :)

I do not close yet, in case it will be backported.

Done in r70984. Closing.

comment:6 by neteler, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.