Skip to content

Commit

Permalink
Add clouds to third example
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedElgizery committed Oct 12, 2024
1 parent 2b10932 commit 75e0f92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h3>Check Sentinel-2 scenes by names</h3>
<div class="code"><pre>
i.sentinel.coverage settings=credentials.txt output=s2names.txt \
names=S2A_MSIL2A_20200104T024111_N0213_R089_T49MGU_20200104T061337,S2B_MSIL2A_20200129T023939_N0213_R089_T49MGU_20200201T153252 \
producttype=S2MSI2A minpercent=95 area=mangkawuk
producttype=S2MSI2A clouds=20 minpercent=95 area=mangkawuk
</pre></div>

<h3>Use retrieved Sentinel-2 scene names for import</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ def main():
if resp[0] != b"":
s_list = resp[0].decode("utf-8").strip().splitlines()
else:
# Experimental version warning needs to be removed from i.eodag
if set(resp) == {b""}:
grass.fatal(_("No products found"))
else:
Expand Down

0 comments on commit 75e0f92

Please sign in to comment.