[GRASS-dev] [GRASS GIS] #3654: i.modis.import writes wrong dates for 8- and 16-day MODIS products

GRASS GIS trac at osgeo.org
Sun Sep 23 17:28:32 PDT 2018


#3654: i.modis.import writes wrong dates for 8- and 16-day MODIS products
----------------------------+-------------------------
 Reporter:  veroandreo      |      Owner:  grass-dev@…
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  Addons          |    Version:  unspecified
 Keywords:  i.modis.import  |        CPU:  Unspecified
 Platform:  Unspecified     |
----------------------------+-------------------------
 G7A:i.modis.import has a `-w` flag to write a text file consisting of map
 name, start and end date that can then be used directly with
 G7:t.register. However, when MODIS products have a granularity of 8 or 16
 days, the final date of last map of the year is wrongly set since the code
 (IIUC) uses a timedelta(days) to create dates for the outfile (See:
 https://trac.osgeo.org/grass/browser/grass-
 addons/grass7/imagery/i.modis/i.modis.import/i.modis.import.py#L301). If
 more than one year is downloaded and imported at once, all maps after the
 first year will have shifted timestamps.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3654>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list