Skip to content

Commit

Permalink
Upgrading amskepler stac version to v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiobogossian committed Sep 16, 2020
1 parent 78b1738 commit dff364c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion forest_monitor/stac_compose/business.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def search(cls, collections, bbox, cloud_cover=False, time=False, limit=100):

result_features = []
for collection in collections.split(','):
if 'cbers' in collection:
if 'CBERS' in collection:
result_features += cls.search_kepler_stac(cls.get_providers()['KEPLER_STAC'],
collection, bbox, time)

Expand Down
2 changes: 1 addition & 1 deletion forest_monitor/stac_compose/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def validate_date(s):

def validate_collections(collections):
for c in collections.split(','):
if c not in ["cbers4mux", "cbers4awfi", "sentinel-2-l1c", "landsat-8-l1"]:
if c not in ["CBERS4-MUX", "CBERS4-AWFI", "sentinel-2-l1c", "landsat-8-l1"]:
return None
return collections.split(',')

Expand Down

0 comments on commit dff364c

Please sign in to comment.