[GRASS-dev] Landsat MTL files

Nikos Alexandris nik at nikosalexandris.net
Sun Oct 15 08:57:30 PDT 2017


Dear all, in improving https://github.com/NikosAlexandris/i.landsat.import,
new is, for example (assuming a 'Landsat8' directory that
contains 87 decompressed and unpacked Landsat acquisitions),

i.landsat.import pool=Landsat8 -t

which will return 87 timestamps

LO81920282015061LGN00<Suffix>|2015-03-02 09:58:07.5566043 +0000
LC81920282013135LGN01<Suffix>|2013-05-15 10:00:20.1682888 +0000
..
LC81920282013279LGN00<Suffix>|2013-10-06 10:00:15.3022235 +0000
LC81920282014218LGN00<Suffix>|2014-08-06 09:58:23.0169101 +0000

useful to feed t.register (a suffix option yet to implement so as to
define the <Suffix> part).


Not all MTL files have identical strings for what concerns the DATE and
TIME of acquisition. So far, the module treats

TIME_STRINGS = ['SCENE_CENTER_TIME', 'SCENE_CENTER_SCAN_TIME']
DATE_STRINGS = ['DATE_ACQUIRED', 'ACQUISITION_DATE']

Would you know of other strings, let me please know.
Any module-related ideas welcome.

Thank you, Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20171015/f50281b0/attachment.sig>


More information about the grass-dev mailing list