[GRASS-dev] i.sentinel.import does not list downloaded data

Markus Neteler neteler at osgeo.org
Thu Aug 16 08:53:12 PDT 2018


Hi Martin,

On Thu, Aug 16, 2018 at 8:47 AM Martin Landa <landa.martin at gmail.com> wrote:
>
> Hi,
>
> st 15. 8. 2018 v 23:30 odesílatel Martin Landa <landa.martin at gmail.com> napsal:
> > right, that's because you downloaded Sentinel products by sentinelsat
> > directly and not by i.sentinel.download.
> >
> > i.sentinel.download unzips downloaded archives, and i.sentinel.import
> > expects uncompressed data. I wanted to change this behaviour some time
> > ago. i.sentinel.import should read zipped archives directly. Will
> > change it in the next days.
>
> done in r73107. Testing welcome :-)

Truely great!

Works also with filtering in multiple (zip'ed) Sentinel-2 scenes!

i.sentinel.import -p input=data pattern="B0[4|8]_10m"
data/S2A_MSIL2A_20180628T115401_N0208_R023_T29ULT_20180628T125228.SAFE/GRANULE/L2A_T29ULT_A015750_20180628T115400/IMG_DATA/R10m/T29ULT_20180628T115401_B04_10m.jp2
0 (EPSG: 32629)
data/S2A_MSIL2A_20180628T115401_N0208_R023_T29ULT_20180628T125228.SAFE/GRANULE/L2A_T29ULT_A015750_20180628T115400/IMG_DATA/R10m/T29ULT_20180628T115401_B08_10m.jp2
0 (EPSG: 32629)
data/S2A_MSIL2A_20180628T115401_N0208_R023_T29ULU_20180628T125228.SAFE/GRANULE/L2A_T29ULU_A015750_20180628T115400/IMG_DATA/R10m/T29ULU_20180628T115401_B04_10m.jp2
0 (EPSG: 32629)
data/S2A_MSIL2A_20180628T115401_N0208_R023_T29ULU_20180628T125228.SAFE/GRANULE/L2A_T29ULU_A015750_20180628T115400/IMG_DATA/R10m/T29ULU_20180628T115401_B08_10m.jp2
0 (EPSG: 32629)
data/S2A_MSIL2A_20180628T115401_N0208_R023_T29UMT_20180628T125228.SAFE/GRANULE/L2A_T29UMT_A015750_20180628T115400/IMG_DATA/R10m/T29UMT_20180628T115401_B04_10m.jp2
0 (EPSG: 32629)
data/S2A_MSIL2A_20180628T115401_N0208_R023_T29UMT_20180628T125228.SAFE/GRANULE/L2A_T29UMT_A015750_20180628T115400/IMG_DATA/R10m/T29UMT_20180628T115401_B08_10m.jp2
0 (EPSG: 32629)
data/S2A_MSIL2A_20180628T115401_N0208_R023_T29UMU_20180628T125228.SAFE/GRANULE/L2A_T29UMU_A015750_20180628T115400/IMG_DATA/R10m/T29UMU_20180628T115401_B08_10m.jp2
0 (EPSG: 32629)
data/S2A_MSIL2A_20180628T115401_N0208_R023_T29UMU_20180628T125228.SAFE/GRANULE/L2A_T29UMU_A015750_20180628T115400/IMG_DATA/R10m/T29UMU_20180628T115401_B04_10m.jp2
0 (EPSG: 32629)

Thanks a lot, looks now like the perfect tool!

Markus

PS: geobeers in Prague then! :)


More information about the grass-dev mailing list