Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions src/temporal/t.rast.exporttree/t.rast.exporttree.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python3

Check failure on line 1 in src/temporal/t.rast.exporttree/t.rast.exporttree.py

View workflow job for this annotation

GitHub Actions / Python Code Quality Checks (ubuntu-22.04)

[pylint] src/temporal/t.rast.exporttree/t.rast.exporttree.py E:113,22: unsupported operand type(s) for | (unsupported-binary-operation) E:126,16: unsupported operand type(s) for | (unsupported-binary-operation) E:162,16: unsupported operand type(s) for | (unsupported-binary-operation) E:163,11: unsupported operand type(s) for | (unsupported-binary-operation) E:164,15: unsupported operand type(s) for | (unsupported-binary-operation)
"""MODULE: t.rast.exporttree
AUTHOR(S): Stefan Blumentrath
PURPOSE: Transfer raster map files from STRDS in external GDAL format to target directory
Expand Down Expand Up @@ -40,10 +40,11 @@
# %end

# %option
# % key: resampling
# % key: compression
# % type: string
# % description: Resampling to be used for overviews
# % options: NEAREST,​AVERAGE,​BILINEAR​,​CUBIC​,​CUBICSPLINE​,​LANCZOS​,​MODE,​RMS
# % description: Compression method to be used for the output GeoTiffs
# % options: LZW,ZSTD,DEFLATE,LERC
# % answer: ZSTD
# % required: no
# %end

Expand All @@ -55,7 +56,15 @@
# %end

# %option
# % key: over
# % key: resampling
# % type: string
# % description: Resampling to be used for overviews
# % options: NEAREST,​AVERAGE,​BILINEAR​,​CUBIC​,​CUBICSPLINE​,​LANCZOS​,​MODE,​RMS
# % required: no
# %end

# %option
# % key: overviews
# % type: integer
# % description: Number of overviews to create (4 is often a good choice)
# % required: no
Expand Down Expand Up @@ -299,7 +308,7 @@
level=int(options["level"]) if options["level"] else None,
overviews=int(options["overviews"]) if options["overviews"] else None,
truncate_float=flags["f"],
separator=options["separator"],
separator=gs.separator(options["separator"]),
temporal_tree=options["temporal_tree"] or "%Y/%m/%d",
use_semantic_label=flags["s"],
)
Expand Down
Loading