olivierhagolle / theia_download

To download products provided by Theia land data center : https://theia.cnes.fr
46 stars 23 forks source link

Cloud cover parameter is ignored with no_download mode #29

Closed vidlb closed 2 years ago

vidlb commented 2 years ago

Hi,

I'm trying to request S2 L2A products (no-download mode) but it seems the maxcloud parameter is ignored.
Is it due to the --no-download option ?

The command line :

./theia_download.py -t T31TDH -d 2019-11-01 -c SENTINEL2 --level LEVEL2A -m 50 -n -a config_theia.cfg

Returns :

SENTINEL2B_20191117-105906-835_L2A_T31TDH_D b581fc85-4d70-5d32-bf57-f9cf01616fb6
cloudCover: 90
acq date 2019-11-17T10: prod date 2019-11-18T04: pub date 2019-11-18T05:
('>>>>>>>', 'SENTINEL2B_20191117-105906-835_L2A_T31TDH')
curl  -o "./SENTINEL2B_20191117-105906-835_L2A_T31TDH_D.tmp" -k -H "Authorization: Bearer d92bc100-c6fa-3267-bbdf-97bab0444d07" https://theia.cnes.fr/atdistrib/resto2/collections/SENTINEL2/b581fc85-4d70-5d32-bf57-f9cf01616fb6/download/?issuerId=theia
no download (-n) option was chosen
------------------------------------------------------
SENTINEL2A_20191112-105910-815_L2A_T31TDH_D 7508b3c9-9b3c-5cc3-b711-ca6d3209d63f
cloudCover: 81
acq date 2019-11-12T10: prod date 2019-11-13T06: pub date 2019-11-13T07:
('>>>>>>>', 'SENTINEL2A_20191112-105910-815_L2A_T31TDH')
curl  -o "./SENTINEL2A_20191112-105910-815_L2A_T31TDH_D.tmp" -k -H "Authorization: Bearer d92bc100-c6fa-3267-bbdf-97bab0444d07" https://theia.cnes.fr/atdistrib/resto2/collections/SENTINEL2/7508b3c9-9b3c-5cc3-b711-ca6d3209d63f/download/?issuerId=theia
no download (-n) option was chosen
------------------------------------------------------
SENTINEL2A_20191109-104914-902_L2A_T31TDH_D 9049c0f7-3010-59de-a08b-d66c45ba3ee1
cloudCover: 51
acq date 2019-11-09T10: prod date 2019-11-10T01: pub date 2019-11-10T03:
('>>>>>>>', 'SENTINEL2A_20191109-104914-902_L2A_T31TDH')
curl  -o "./SENTINEL2A_20191109-104914-902_L2A_T31TDH_D.tmp" -k -H "Authorization: Bearer d92bc100-c6fa-3267-bbdf-97bab0444d07" https://theia.cnes.fr/atdistrib/resto2/collections/SENTINEL2/9049c0f7-3010-59de-a08b-d66c45ba3ee1/download/?issuerId=theia
no download (-n) option was chosen
------------------------------------------------------
SENTINEL2B_20191104-104912-593_L2A_T31TDH_D 8bc7320d-d0dd-5a2a-8d1a-da259abfaf4f
cloudCover: 18
acq date 2019-11-04T10: prod date 2019-11-08T03: pub date 2019-11-08T15:
('>>>>>>>', 'SENTINEL2B_20191104-104912-593_L2A_T31TDH')
curl  -o "./SENTINEL2B_20191104-104912-593_L2A_T31TDH_D.tmp" -k -H "Authorization: Bearer d92bc100-c6fa-3267-bbdf-97bab0444d07" https://theia.cnes.fr/atdistrib/resto2/collections/SENTINEL2/8bc7320d-d0dd-5a2a-8d1a-da259abfaf4f/download/?issuerId=theia
no download (-n) option was chosen
vidlb commented 2 years ago

Ok I understand now it is the normal behaviour.