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-pipeline
csst_common
Commits
42c32533
Commit
42c32533
authored
Jan 09, 2023
by
BO ZHANG
🏀
Browse files
tweaks
parent
7d69bbf9
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
42c32533
...
...
@@ -700,6 +700,7 @@ class CsstMsDataManager:
datatype
=
"mbi"
,
dir_l0
=
"/L1Pipeline/L0"
,
dir_l1
=
"/L1Pipeline/L1"
,
path_aux
=
"/L1Pipeline/aux"
,
use_dfs
=
True
,
dfs_node
=
"pml"
,
clear_l1
=
False
,
...
...
@@ -737,13 +738,6 @@ class CsstMsDataManager:
dst
=
os
.
path
.
join
(
dir_l0
,
os
.
path
.
basename
(
tbl
[
"file_path"
][
i_rec
])),
)
# as from_dfs only works in docker mode
if
datatype
==
"mbi"
:
path_aux
=
"/L1Pipeline/aux/C5.2_ref_mbi/MSC_{}_*_{:02d}_combine.fits"
elif
datatype
==
"sls"
:
path_aux
=
"/L1Pipeline/aux/C5.2_ref_sls/csst_{:02d}{}.fits"
else
:
raise
ValueError
(
f
"Bad datatype:
{
datatype
}
"
)
# initialize dm
dm
=
CsstMsDataManager
.
from_dir
(
...
...
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