Skip to content

Commit

Permalink
fix footprints (#642)
Browse files Browse the repository at this point in the history
Co-authored-by: anikaweinmann <aweinmann@mundialis.de>
  • Loading branch information
2 people authored and neteler committed Dec 20, 2021
1 parent 0610f6a commit c46d0aa
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -181,6 +181,8 @@

import grass.script as gs

cloudcover_products = ["S2MSI1C", "S2MSI2A", "S2MSI2Ap"]


def create_dir(dir):
if not os.path.isdir(dir):
Expand Down Expand Up @@ -1109,6 +1111,8 @@ def filter_USGS(


def main():
global cloudcover_products

cred_req = True
api_url = "https://apihub.copernicus.eu/apihub"
if options["datasource"] == "GCS":
Expand Down Expand Up @@ -1160,8 +1164,6 @@ def main():
if user is None or password is None:
gs.fatal(_("No user or password given"))

cloudcover_products = ["S2MSI1C", "S2MSI2A", "S2MSI2Ap"]

if flags["b"]:
map_box = get_aoi(options["map"])
else:
Expand Down

0 comments on commit c46d0aa

Please sign in to comment.