Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
GeoSentinel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoSentinel
Commits
052771e9
Commit
052771e9
authored
Aug 16, 2018
by
Mario Chirinos Colunga
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intersecton
parent
33ad86ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
APISentinel.py
geosentinel/APISentinel.py
+2
-2
No files found.
geosentinel/APISentinel.py
View file @
052771e9
...
...
@@ -57,7 +57,7 @@ class APISentinel(object):
Example:
"POLYGON((-89.99 21.27,-89.13 21.29,-89.30 20.68,-90.04 20.71,-89.99 21.27))"
date (str): Initial date and end date.
searchParameters (str): Type platform Sentinel-1 or Sentinel-2
searchParameters (str): Type platform Sentinel-1 or Sentinel-2
, e.g. area_relation=[‘Intersection’, ‘Contains’, ‘IsWithin’]
Other Parameters: Additional keywords can be used to specify other query parameters, e.g. relativeorbitnum-
ber=70. See https://scihub.copernicus.eu/twiki/do/view/SciHubUserGuide/3FullTextSearch for a full list. Ran-
ge values can be passed as two-element tuples, e.g. cloudcoverpercentage=(0, 30). The time interval formats
...
...
@@ -67,7 +67,7 @@ class APISentinel(object):
Returns:
OrderedDict: Sentinel Product list found.
"""
products_list
=
self
.
api
.
query
(
area
,
date
,
area_relation
=
'
Contains
'
,
**
searchParameters
)
products_list
=
self
.
api
.
query
(
area
,
date
,
area_relation
=
'
Intersection
'
,
**
searchParameters
)
return
products_list
def
downloadProducts
(
self
,
products
,
dir
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment