[GRASS-dev] G79: working with image collections and Sentinel-2

Markus Neteler neteler at osgeo.org
Thu Nov 21 13:39:35 PST 2019


Hi,

I have successfully imported a series of Sentinel-2 scenes using
i.sentinel.download and i.sentinel.import (with the recent fixes yet
manually patched into it).

Now I want to register them:

t.create type=strds temporaltype=absolute \
         output=openeo_bolzano_S2 \
         title="Sentinel-2 scenes Bolzano" \
         description="Dataset with Sentinel-2 scenes covering Bolzano"

# created by i.sentinel.import
head /mnt/geodata/openeo_bolzano/s2_t_register.csv
T32TPS_20180618T101021_B12|2018-06-18 10:17:33.781000|S2_12
T32TPS_20180618T101021_B04|2018-06-18 10:17:33.781000|S2_4
T32TPS_20180618T101021_B09|2018-06-18 10:17:33.781000|S2_9
T32TPS_20180618T101021_B08|2018-06-18 10:17:33.781000|S2_8
T32TPS_20180618T101021_B8A|2018-06-18 10:17:33.781000|S2_8A
T32TPS_20180618T101021_B06|2018-06-18 10:17:33.781000|S2_6
T32TPS_20180618T101021_B01|2018-06-18 10:17:33.781000|S2_1
T32TPS_20180618T101021_B03|2018-06-18 10:17:33.781000|S2_3
T32TPS_20180618T101021_B11|2018-06-18 10:17:33.781000|S2_11
T32TPS_20180618T101021_B07|2018-06-18 10:17:33.781000|S2_7

# here I updated successfully the existing TGRASS DB with the yet unmerged
# t.upgrade script (https://github.com/OSGeo/grass/pull/130)
t.register input=openeo_bolzano_S2
file=/mnt/geodata/openeo_bolzano/s2_t_register.csv

So far so nice, but:

t.rast.list openeo_bolzano_S2
name|mapset|start_time|end_time
T32TPS_20180606T102019_B01|openeo_bolzano|2018-06-06 10:25:12.692000|None
T32TPS_20180606T102019_B02|openeo_bolzano|2018-06-06 10:25:12.692000|None
T32TPS_20180606T102019_B03|openeo_bolzano|2018-06-06 10:25:12.692000|None
...

... the band names are gone - can anyone confirm?
I am using a recent G79.

Thanks,
Markus


More information about the grass-dev mailing list