[GRASS-dev] [GRASS GIS] #2270: t.list.rast where <=/>=

#2270: t.list.rast where <=/>=
--------------------------------+-------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Temporal | Version: unspecified
Keywords: t.list.rast, where | Platform: Unspecified
      Cpu: Unspecified |
--------------------------------+-------------------------------------------
I would assume that

{{{
t.rast.list modis where="start_time > '2002-03-01' and start_time <=
'2002-05-31'" | tail -n1
}}}

print maps also including 31/5, but it's not true - the result is same as
for

{{{
where="start_time > '2002-03-01' and start_time < '2002-05-31'"
}}}

{{{
terra_lst_night20020530 modis2002lst_yfsg 2002-05-30 22:30:00
None
}}}

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

#2270: t.list.rast where <=/>=
--------------------------------+-------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Temporal | Version: unspecified
Keywords: t.list.rast, where | Platform: Unspecified
      Cpu: Unspecified |
--------------------------------+-------------------------------------------

Comment(by huhabla):

This is the magic of sqlite and postgresql regarding dates that are
defined without time. This is not related to the implementation of TGRASS
but to the chosen backend database.

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

#2270: t.list.rast where <=/>=
--------------------------------+-------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Temporal | Version: unspecified
Keywords: t.list.rast, where | Platform: Unspecified
      Cpu: Unspecified |
--------------------------------+-------------------------------------------

Comment(by martinl):

Replying to [comment:1 huhabla]:
> This is the magic of sqlite and postgresql regarding dates that are
defined without time. This is not related to the implementation of TGRASS
but to the chosen backend database.

Ah, so maybe big note about that in the manual? :slight_smile:

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