Skip to content

Commit

Permalink
get_value
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarim2017 committed May 12, 2020
1 parent 483bd1b commit e91a687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions standard_product_localizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ def resolve_source(ctx_file):
#esa_download_queue = "slc-sling-extract-scihub"
#asf_ngap_download_queue = "slc-sling-extract-asf"

esa_download_queue = ctx["input_metadata"].get("esa_download_queue", "slc-sling-extract-scihub")
asf_ngap_download_queue = ctx["input_metadata"].get("asf_ngap_download_queue", "slc-sling-extract-asf")
esa_download_queue = get_value(ctx, "esa_download_queue", "slc-sling-extract-scihub")
asf_ngap_download_queue = get_value(ctx, "asf_ngap_download_queue", "slc-sling-extract-asf")

union_geojson = ctx["input_metadata"]["union_geojson"]
direction = ctx["input_metadata"]["direction"]
Expand Down

0 comments on commit e91a687

Please sign in to comment.