Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
EnPT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EnMAP
GFZ_Tools_EnMAP_BOX
EnPT
Commits
0572da24
There was a problem fetching the pipeline summary.
Commit
0572da24
authored
7 years ago
by
Daniel Scheffler
Browse files
Options
Downloads
Patches
Plain Diff
Fixed CLI argument parser.
parent
cf7cffd2
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/enpt_cli.py
+5
-4
5 additions, 4 deletions
bin/enpt_cli.py
with
5 additions
and
4 deletions
bin/enpt_cli.py
+
5
−
4
View file @
0572da24
...
...
@@ -34,11 +34,12 @@ def get_enpt_argparser():
add
(
'
--CPUs
'
,
type
=
int
,
default
=
None
,
help
=
'
number of CPU cores to be used for processing (default:
"
None
"
-> use all available
'
)
add
(
'
-im
'
,
'
--path_l1b_enmap_image
'
,
default
=
None
,
help
=
'
input path of the EnMAP L1B image to be processed (zip-archive or root directory)
'
)
add
(
'
-od
'
,
'
--output_dir
'
,
default
=
None
,
help
=
'
output directory where processed data and log files are saved
'
)
help
=
'
input path of the EnMAP L1B image to be processed
'
'
(zip-archive or root directory; must be given if not contained in --json-config.)
'
)
add
(
'
-imgap
'
,
'
--path_l1b_enmap_image_gapfill
'
,
default
=
None
,
help
=
'
input path of an adjacent EnMAP L1B image to be used for gap-filling (zip-archive or root directory)
'
)
add
(
'
-od
'
,
'
--output_dir
'
,
default
=
None
,
help
=
'
output directory where processed data and log files are saved
'
)
add
(
'
-wd
'
,
'
--working_dir
'
,
default
=
None
,
help
=
'
directory to be used for temporary files
'
)
...
...
@@ -88,6 +89,6 @@ def run_job(config: EnPTConfig):
if
__name__
==
'
__main__
'
:
parsed_args
=
get_enpt_argparser
().
parse_args
()
parsed_args
.
func
(
parsed_args
)
parsed_args
.
func
(
get_config
(
parsed_args
)
)
print
(
'
\n
ready.
'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment