<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue., 21 nov. 2019 18:40, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have successfully imported a series of Sentinel-2 scenes using<br>
i.sentinel.download and i.sentinel.import (with the recent fixes yet<br>
manually patched into it).<br>
<br>
Now I want to register them:<br>
<br>
t.create type=strds temporaltype=absolute \<br>
         output=openeo_bolzano_S2 \<br>
         title="Sentinel-2 scenes Bolzano" \<br>
         description="Dataset with Sentinel-2 scenes covering Bolzano"<br>
<br>
# created by i.sentinel.import<br>
head /mnt/geodata/openeo_bolzano/s2_t_register.csv<br>
T32TPS_20180618T101021_B12|2018-06-18 10:17:33.781000|S2_12<br>
T32TPS_20180618T101021_B04|2018-06-18 10:17:33.781000|S2_4<br>
T32TPS_20180618T101021_B09|2018-06-18 10:17:33.781000|S2_9<br>
T32TPS_20180618T101021_B08|2018-06-18 10:17:33.781000|S2_8<br>
T32TPS_20180618T101021_B8A|2018-06-18 10:17:33.781000|S2_8A<br>
T32TPS_20180618T101021_B06|2018-06-18 10:17:33.781000|S2_6<br>
T32TPS_20180618T101021_B01|2018-06-18 10:17:33.781000|S2_1<br>
T32TPS_20180618T101021_B03|2018-06-18 10:17:33.781000|S2_3<br>
T32TPS_20180618T101021_B11|2018-06-18 10:17:33.781000|S2_11<br>
T32TPS_20180618T101021_B07|2018-06-18 10:17:33.781000|S2_7<br>
<br>
# here I updated successfully the existing TGRASS DB with the yet unmerged<br>
# t.upgrade script (<a href="https://github.com/OSGeo/grass/pull/130" rel="noreferrer noreferrer" target="_blank">https://github.com/OSGeo/grass/pull/130</a>)<br>
t.register input=openeo_bolzano_S2<br>
file=/mnt/geodata/openeo_bolzano/s2_t_register.csv<br>
<br>
So far so nice, but:<br>
<br>
t.rast.list openeo_bolzano_S2<br>
name|mapset|start_time|end_time<br>
T32TPS_20180606T102019_B01|openeo_bolzano|2018-06-06 10:25:12.692000|None<br>
T32TPS_20180606T102019_B02|openeo_bolzano|2018-06-06 10:25:12.692000|None<br>
T32TPS_20180606T102019_B03|openeo_bolzano|2018-06-06 10:25:12.692000|None<br>
...<br>
<br>
... the band names are gone - can anyone confirm?<br>
I am using a recent G79.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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</div><div dir="auto"><br></div><div dir="auto">What if you use:</div><div dir="auto"><br></div><div dir="auto">t.rast.list <span style="font-family:sans-serif">openeo_bolzano_S2 columns</span>=name,band_reference,start_time</div><div dir="auto"><br></div><div dir="auto">Does that work? And what does <a href="http://t.info">t.info</a> <span style="font-family:sans-serif">openeo_bolzano_S2 give?</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><font face="sans-serif">HTH,</font></div><div dir="auto"><font face="sans-serif">Vero</font></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Markus<br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank" rel="noreferrer">grass-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></blockquote></div></div></div>