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

Veronica Andreo veroandreo at gmail.com
Thu Nov 21 16:00:56 PST 2019


El jue., 21 nov. 2019 18:40, Markus Neteler <neteler at osgeo.org> escribió:

> 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.
>

I haven't tested, but are you sure t.rast.list now lists band references by
default if they exist? Because that looks like a normal t.rast.list output
to me

What if you use:

t.rast.list openeo_bolzano_S2 columns=name,band_reference,start_time

Does that work? And what does t.info openeo_bolzano_S2 give?

HTH,
Vero


> Thanks,
> Markus
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20191121/b6db3a02/attachment.html>


More information about the grass-dev mailing list