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

Markus Neteler neteler at osgeo.org
Wed Aug 15 13:28:28 PDT 2018


On Wed, Aug 15, 2018 at 11:50 AM Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> Ășt 14. 8. 2018 v 14:58 odesĂ­latel Markus Neteler <neteler at osgeo.org> napsal:
> > which downloaded as desired (since i.sentinel.download does not have a
> > uuid parameter I used sentinelsat):
>
> now possible :-)

Testing:

GRASS 7.5.svn (ireland):~ > i.sentinel.download -l
settings=~/.esa_sentinelhub uuid=98f00e12-3b62-4c54-8554-c4439bb1ebef
98f00e12-3b62-4c54-8554-c4439bb1ebef 2018-06-28T11:54:01Z  0% S2MSI2A

Works - great, thank you!!

> $ i.sentinel.download settings=sentinel.txt
> uuid=98f00e12-3b62-4c54-8554-c4439bb1ebef output=data
>
> > # print
> > i.sentinel.import -p input=data
> > --> nothing, should list the channels?
>
> This seems to work for me.
>
> $ i.sentinel.import -p input=/tmp/sentinel
> /tmp/sentinel/S2A_MSIL2A_20180628T115401_N0208_R023_T29UMU_20180628T125228.SAFE/GRANULE/L2A_T29UMU_A015750_20180628T115400/IMG_DATA/R10m/T29UMU_20180628T115401_B03_10m.jp2
> 0 (EPSG: 32629)
> /tmp/sentinel/S2A_MSIL2A_20180628T115401_N0208_R023_T29UMU_20180628T125228.SAFE/GRANULE/L2A_T29UMU_A015750_20180628T115400/IMG_DATA/R10m/T29UMU_20180628T115401_B08_10m.jp2
> 0 (EPSG: 32629)
>
> Can you try on empty data directory with fresh addons?

# relative path
GRASS 7.5.svn (ireland):/scratch/ireland > i.sentinel.import -p input=data

# absolute path
GRASS 7.5.svn (ireland):/scratch/ireland > i.sentinel.import -p
input=/scratch/ireland/data

## ... nothing reported while the data are there:
GRASS 7.5.svn (ireland):/scratch/ireland > ls -lart data/
total 3267768
-rw-rw-r-- 1 mundialis mundialis  784858224 Aug 14 12:32
S2A_MSIL2A_20180628T115401_N0208_R023_T29ULT_20180628T125228.zip
-rw-rw-r-- 1 mundialis mundialis 1037024033 Aug 14 12:35
S2A_MSIL2A_20180628T115401_N0208_R023_T29UMT_20180628T125228.zip
-rw-rw-r-- 1 mundialis mundialis  955002429 Aug 14 12:51
S2A_MSIL2A_20180628T115401_N0208_R023_T29UMU_20180628T125228.zip
-rw-rw-r-- 1 mundialis mundialis  569305492 Aug 14 13:33
S2A_MSIL2A_20180628T115401_N0208_R023_T29ULU_20180628T125228.zip

# test with empty one:
GRASS 7.5.svn (ireland):/scratch/ireland > mkdir data2
GRASS 7.5.svn (ireland):/scratch/ireland > i.sentinel.import -p
input=/scratch/ireland/data2/
GRASS 7.5.svn (ireland):/scratch/ireland >

Unfortunately nothing yet...

Markus


More information about the grass-dev mailing list