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
850c88c4
Commit
850c88c4
authored
Sep 07, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
4452fde2
Changes
2
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/inspect.py
View file @
850c88c4
...
@@ -69,6 +69,8 @@ parser.add_argument("--prc-status", type=int, help="Prc status", default=None)
...
@@ -69,6 +69,8 @@ parser.add_argument("--prc-status", type=int, help="Prc status", default=None)
# level1 data parameters
# level1 data parameters
parser
.
add_argument
(
"--data-model"
,
type
=
str
,
help
=
"Data model"
,
default
=
None
)
parser
.
add_argument
(
"--data-model"
,
type
=
str
,
help
=
"Data model"
,
default
=
None
)
parser
.
add_argument
(
"--batch-id"
,
type
=
str
,
help
=
"Batch ID"
,
default
=
None
)
parser
.
add_argument
(
"--batch-id"
,
type
=
str
,
help
=
"Batch ID"
,
default
=
None
)
parser
.
add_argument
(
"--build"
,
type
=
str
,
help
=
"Build number"
,
default
=
None
)
parser
.
add_argument
(
"--pmapname"
,
type
=
str
,
help
=
"CCDS pmap name"
,
default
=
None
)
# reset prc_status
# reset prc_status
parser
.
add_argument
(
"--reset"
,
type
=
int
,
help
=
"Reset prc_status"
,
default
=
None
)
parser
.
add_argument
(
"--reset"
,
type
=
int
,
help
=
"Reset prc_status"
,
default
=
None
)
# additional options
# additional options
...
@@ -109,8 +111,11 @@ else:
...
@@ -109,8 +111,11 @@ else:
obs_group
=
args
.
obs_group
,
obs_group
=
args
.
obs_group
,
obs_id
=
args
.
obs_id
,
obs_id
=
args
.
obs_id
,
detector
=
args
.
detector
,
detector
=
args
.
detector
,
data_model
=
args
.
data_model
,
prc_status
=
args
.
prc_status
,
data_model
=
args
.
data_model
,
# level1 specific
batch_id
=
args
.
batch_id
,
batch_id
=
args
.
batch_id
,
build
=
args
.
build
,
pmapname
=
args
.
pmapname
,
)
)
print
(
f
">>>
{
len
(
data_basis
)
}
data basis found"
)
print
(
f
">>>
{
len
(
data_basis
)
}
data basis found"
)
# data_basis.remove_columns(["file_name", "_id"])
# data_basis.remove_columns(["file_name", "_id"])
...
...
csst_dag/cli/test.py
0 → 100644
View file @
850c88c4
import
csst_dag
print
(
"csst_dag version: "
,
csst_dag
.
__version__
)
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