Skip to content

Commit 2b10932

Browse files
committed
Update producttype options
1 parent d12ecfc commit 2b10932

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/imagery/i.sentinel/i.sentinel.coverage/i.sentinel.coverage.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
# % type: string
5757
# % description: Sentinel product type to filter
5858
# % required: no
59-
# % options: SLC,GRD,OCN,S2MSI1C,S2MSI2A,S2MSI2Ap
59+
# % options: SLC,GRD,OCN,S2MSI1C,S2MSI2A
6060
# % answer: S2MSI2A
6161
# % guisection: Filter
6262
# %end
@@ -218,7 +218,7 @@ def main():
218218
grass.fatal(_("Vector map <{}> not found").format(area))
219219
producttype = options["producttype"]
220220

221-
grass.message(_("Retrieving Sentinel footprints from ESA hub ..."))
221+
grass.message(_("Retrieving Sentinel footprints from CDSE ..."))
222222
fps = "tmp_fps_%s" % str(os.getpid())
223223
rm_vectors.append(fps)
224224

@@ -331,8 +331,7 @@ def main():
331331
drop_columns = [
332332
col.split("|")[1]
333333
for col in columns_dict
334-
if col.split("|")[1]
335-
not in ["cat", "title"] # What does cat refer to here?
334+
if col.split("|")[1] not in ["cat", "title"]
336335
]
337336
grass.run_command(
338337
"v.db.dropcolumn", map=temp_overlay, columns=drop_columns, quiet=True

0 commit comments

Comments
 (0)