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
35b1941b
Commit
35b1941b
authored
Jul 09, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
41e46137
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_dag/cli/inspect.py
View file @
35b1941b
...
...
@@ -12,8 +12,6 @@ python -m csst_dag.cli.inspect \
--instrument=MSC
\
--obs-type=WIDE
\
--obs-group=W2
\
--obs-id=10100232366
\
--detector=09
\
--prc-status=0
"""
...
...
@@ -95,8 +93,8 @@ t_prc_status.pprint_all()
for
stats_type
,
stats_keys
in
dict
(
obs_type
=
[
"dataset"
,
"instrument"
,
"obs_type"
,
"prc_status"
],
obs_id
=
[
"dataset"
,
"instrument"
,
"obs_type"
,
"obs_id"
,
"prc_status"
],
detector
=
[
"dataset"
,
"instrument"
,
"obs_type"
,
"detector"
,
"prc_status"
],
obs_id
=
[
"dataset"
,
"instrument"
,
"obs_type"
,
"obs_id"
,
"prc_status"
],
).
items
():
print
(
"
\n
>>> STATS DIM: "
,
stats_type
)
u_data
,
c_data
=
np
.
unique
(
data_basis
[
stats_keys
],
return_counts
=
True
)
...
...
@@ -106,4 +104,7 @@ for stats_type, stats_keys in dict(
if
args
.
reset
is
not
None
:
print
(
"Resetting prc_status to "
,
args
.
reset
)
dfs
.
update_prc_status_by_ids
(
list
(
data_basis
[
"_id"
]),
args
.
reset
,)
\ No newline at end of file
dfs
.
update_prc_status_by_ids
(
list
(
data_basis
[
"_id"
]),
args
.
reset
,
)
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