Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-cicd
csst-dag
Commits
46a1628b
Commit
46a1628b
authored
May 23, 2025
by
BO ZHANG
🏀
Browse files
add --demo (store_true)
parent
84ec23f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/msc.py
View file @
46a1628b
...
@@ -5,6 +5,8 @@ Process an MSC dataset, given a set of parameters.
...
@@ -5,6 +5,8 @@ Process an MSC dataset, given a set of parameters.
Example
Example
-------
-------
python -m csst_dag.cli.msc -h
python -m csst_dag.cli.msc
\
python -m csst_dag.cli.msc
\
--dataset=csst-msc-c9-25sqdeg-v3
\
--dataset=csst-msc-c9-25sqdeg-v3
\
--obs-group=none
\
--obs-group=none
\
...
@@ -12,7 +14,7 @@ python -m csst_dag.cli.msc \
...
@@ -12,7 +14,7 @@ python -m csst_dag.cli.msc \
--priority=1
\
--priority=1
\
--initial-prc-status=-1024
\
--initial-prc-status=-1024
\
--final-prc-status=-2
\
--final-prc-status=-2
\
--demo
=True
--demo
"""
"""
from
csst_dag.dag
import
CsstDAG
from
csst_dag.dag
import
CsstDAG
...
@@ -36,7 +38,7 @@ parser.add_argument(
...
@@ -36,7 +38,7 @@ parser.add_argument(
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"--demo"
,
action
=
"store_true"
,
help
=
"Enable demo mode
(
default
:
False
)"
"--demo"
,
action
=
"store_true"
,
help
=
"Enable demo mode
"
,
default
=
False
)
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment