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
72c9e035
Commit
72c9e035
authored
Jul 23, 2025
by
BO ZHANG
🏀
Browse files
remove plan query
parent
bf22e99e
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/inspect.py
View file @
72c9e035
...
@@ -91,7 +91,7 @@ print("CLI parameters: ", args)
...
@@ -91,7 +91,7 @@ print("CLI parameters: ", args)
if
args
.
level
==
0
:
if
args
.
level
==
0
:
print
(
"Inspecting level0 data..."
)
print
(
"Inspecting level0 data..."
)
plan_basis
,
data_basis
=
Dispatcher
.
find_level0_basis
(
data_basis
=
Dispatcher
.
find_level0_basis
(
dataset
=
args
.
dataset
,
dataset
=
args
.
dataset
,
instrument
=
args
.
instrument
,
instrument
=
args
.
instrument
,
obs_type
=
args
.
obs_type
,
obs_type
=
args
.
obs_type
,
...
@@ -102,7 +102,7 @@ if args.level == 0:
...
@@ -102,7 +102,7 @@ if args.level == 0:
)
)
else
:
else
:
print
(
"Inspecting level1 data..."
)
print
(
"Inspecting level1 data..."
)
plan_basis
,
data_basis
=
Dispatcher
.
find_level1_basis
(
data_basis
=
Dispatcher
.
find_level1_basis
(
dataset
=
args
.
dataset
,
dataset
=
args
.
dataset
,
instrument
=
args
.
instrument
,
instrument
=
args
.
instrument
,
obs_type
=
args
.
obs_type
,
obs_type
=
args
.
obs_type
,
...
@@ -112,7 +112,7 @@ else:
...
@@ -112,7 +112,7 @@ else:
data_model
=
args
.
data_model
,
data_model
=
args
.
data_model
,
batch_id
=
args
.
batch_id
,
batch_id
=
args
.
batch_id
,
)
)
print
(
f
"
{
len
(
plan_basis
)
}
plan basis,
{
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"])
stats_config
=
dict
(
stats_config
=
dict
(
...
...
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