[GRASS-dev] i.sentinel.import problems

Luca Delucchi lucadeluge at gmail.com
Tue Aug 21 03:12:21 PDT 2018


Hi Martin,

I'm trying i.sentinel.* module and I got problems with i.sentinel.import
I downloaded 3 scene with i.sentinel.download

i.sentinel.download -l settings=/tmp/settings_sentinel
start=2017-01-10 end=2017-01-13 order=desc clouds=0
3 Sentinel product(s) found
860d118d-c117-4472-8b51-654d6784a40a 2017-01-12T16:16:21Z  0% S2MSI1C
c2eaa8d0-eebe-4b4d-b18b-669a2172b02f 2017-01-12T16:16:21Z  0% S2MSI1C
a3d9b19c-2262-4f88-b107-07ee09e217d3 2017-01-12T16:16:21Z  0% S2MSI1C

and after I run

i.sentinel.import -cr input=/tmp/ pattern='B[02|03|04|08|8A|11|12]'

I got two problems:
- all bands are imported
g.list rast map=. pattern=*_B*
T17SLT_20170112T161621_B01
T17SLT_20170112T161621_B02
T17SLT_20170112T161621_B03
T17SLT_20170112T161621_B04
T17SLT_20170112T161621_B05
T17SLT_20170112T161621_B06
T17SLT_20170112T161621_B07
T17SLT_20170112T161621_B08
T17SLT_20170112T161621_B09
T17SLT_20170112T161621_B10
T17SLT_20170112T161621_B11
T17SLT_20170112T161621_B12
T17SLT_20170112T161621_B8A
T17SNT_20170112T161621_B01
T17SNT_20170112T161621_B02
T17SNT_20170112T161621_B03
T17SNT_20170112T161621_B04
T17SNT_20170112T161621_B05
T17SNT_20170112T161621_B06
T17SNT_20170112T161621_B07
T17SNT_20170112T161621_B08
T17SNT_20170112T161621_B09
T17SNT_20170112T161621_B10
T17SNT_20170112T161621_B11
T17SNT_20170112T161621_B12
T17SNT_20170112T161621_B8A
T17SNU_20170112T161621_B01
T17SNU_20170112T161621_B02
T17SNU_20170112T161621_B03
T17SNU_20170112T161621_B04
T17SNU_20170112T161621_B05
T17SNU_20170112T161621_B06
T17SNU_20170112T161621_B07
T17SNU_20170112T161621_B08
T17SNU_20170112T161621_B09
T17SNU_20170112T161621_B10
T17SNU_20170112T161621_B11
T17SNU_20170112T161621_B12
T17SNU_20170112T161621_B8A

- a problem with the cloud mask

Reprojecting <T17SLT_20170112T161621_B07>...
ERROR: No OGR layers available
ERROR: Unable to import
       </tmp/S2A_MSIL1C_20170112T161621_N0204_R140_T17SNU_20170112T161622.SAFE/GRANULE/L1C_T17SNU_A008145_20170112T161622/QI_DATA/MSK_CLOUDS_B00.gml>
ERROR: No OGR layers available
ERROR: Unable to import
       </tmp/S2A_MSIL1C_20170112T161621_N0204_R140_T17SNT_20170112T161622.SAFE/GRANULE/L1C_T17SNT_A008145_20170112T161622/QI_DATA/MSK_CLOUDS_B00.gml>
ERROR: No OGR layers available
ERROR: Unable to import
       </tmp/S2A_MSIL1C_20170112T161621_N0204_R140_T17SLT_20170112T161622.SAFE/GRANULE/L1C_T17SLT_A008145_20170112T161622/QI_DATA/MSK_CLOUDS_B00.gml>
Exception OSError: OSError(2, 'No such file or directory') in <bound
method SentinelImporter.__del__ of <__main__.SentinelImporter object
at 0x7f1e3f7af0d0>> ignored

probably because the clouds are 0%

-- 
ciao
Luca

www.lucadelu.org


More information about the grass-dev mailing list