Skip to content

Commit

Permalink
Rename uuid option to id
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedElgizery committed Aug 3, 2024
1 parent a102da9 commit 6628896
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
# % guisection: Filter
# %end
# %option
# % key: uuid
# % key: id
# % type: string
# % multiple: yes
# % description: List of UUID to download
Expand Down Expand Up @@ -163,9 +163,9 @@
# %rules
# % requires: -b,map
# % required: output,-l,-p
# % excludes: uuid,map,area_relation,clouds,producttype,start,end,limit,query,sort,order
# % excludes: id,map,area_relation,clouds,producttype,start,end,limit,query,sort,order
# % excludes: -p,-l
# % exclusive: -l, uuid
# % exclusive: -l, id
# %end

import fnmatch
Expand Down Expand Up @@ -347,12 +347,10 @@ def main():
if options["relativeorbitnumber"]:
eodag_query += f",relativeOrbitNumber={options['relativeorbitnumber']}"

if options["uuid"]:
# TODO: Change uuid option name to id
# or look for a way to use uuid
if options["id"]:
gs.run_command(
"i.eodag",
id=options["uuid"],
id=options["id"],
output=outdir,
provider=options["datasource"],
)
Expand Down

0 comments on commit 6628896

Please sign in to comment.