[GRASS-dev] [GRASS GIS] #3316: t.list: only relative time strds reported when using output option

#3316: t.list: only relative time strds reported when using output option
------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: Temporal | Version: svn-trunk
Keywords: t.list | CPU: x86-64
Platform: Linux |
------------------------+-------------------------
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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3316&gt;
GRASS GIS <https://grass.osgeo.org>

#3316: t.list: only relative time strds reported when using output option
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.1
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.list
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------

Comment (by neteler):

Could you please add a small example (output)?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3316#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3316: t.list: only relative time strds reported when using output option
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.1
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.list
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------

Comment (by veroandreo):

Replying to [comment:1 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
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3316#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3316: t.list: only relative time strds reported when using output option
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.1
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.list
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------

Comment (by huhabla):

Should be fixed in r70968, please test.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3316#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3316: t.list: only relative time strds reported when using output option
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.1
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.list
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------

Comment (by veroandreo):

Replying to [comment:3 huhabla]:
> Should be fixed in r70968, please test.

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

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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3316#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#3316: t.list: only relative time strds reported when using output option
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.1
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.list
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------

Comment (by neteler):

Replying to [comment:4 veroandreo]:
> Replying to [comment:3 huhabla]:
> > Should be fixed in r70968, please test.
>
> Yes, all is there now. Thank you! :slight_smile:
>
> I do not close yet, in case it will be backported.

Done in r70984. Closing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3316#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>

#3316: t.list: only relative time strds reported when using output option
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.2.1
Component: Temporal | Version: svn-trunk
Resolution: fixed | Keywords: t.list
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3316#comment:6&gt;
GRASS GIS <https://grass.osgeo.org>