Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 5e9500c

Browse files
changed api address
1 parent 758b53d commit 5e9500c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sentinel_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def search(self, platform, min_overlap=0, download_dir=None, start_date=None, en
146146
dataType: Define the type of the given dates (please select from 'beginPosition', 'endPosition', and
147147
'ingestionDate') (Default: beginPosition)
148148
**keywords: Further OpenSearch arguments can be passed to the query according to the ESA Data Hub Handbook
149-
(please see https://scihub.esa.int/twiki/do/view/SciHubUserGuide/3FullTextSearch#Search_Keywords)
149+
(please see https://scihub.copernicus.eu/twiki/do/view/SciHubUserGuide/3FullTextSearch#Search_Keywords)
150150
151151
Mandatory args:
152152
platform
@@ -549,10 +549,10 @@ def main(username, password):
549549
password: Your password of ESA Data Hub
550550
551551
api_hub options:
552-
'https://scihub.esa.int/apihub/' for fast access to recently acquired imagery in the API HUB rolling archive
552+
'https://scihub.copernicus.eu/apihub/' for fast access to recently acquired imagery in the API HUB rolling archive
553553
'https://scihub.copernicus.eu/dhus/' for slower access to the full archive of all acquired imagery
554554
555-
s1 = SentinelDownloader(username, password, api_url='https://scihub.esa.int/apihub/')
555+
s1 = SentinelDownloader(username, password, api_url='https://scihub.copernicus.eu/apihub/')
556556
s1.set_geometries('POLYGON ((13.501756184061247 58.390759025092443,13.617310497771715 58.371827474899703,13.620921570075168 58.27891592167088,13.508978328668151 58.233319081414017,13.382590798047325 58.263723491583974,13.382590798047325 58.263723491583974,13.501756184061247 58.390759025092443))')
557557
s1.set_download_dir('./') # default is current directory
558558
s1.search('S1A*', 0.8, productType='GRD', sensoroperationalmode='IW')

0 commit comments

Comments
 (0)