Commit 42c32533 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 7d69bbf9
...@@ -700,6 +700,7 @@ class CsstMsDataManager: ...@@ -700,6 +700,7 @@ class CsstMsDataManager:
datatype="mbi", datatype="mbi",
dir_l0="/L1Pipeline/L0", dir_l0="/L1Pipeline/L0",
dir_l1="/L1Pipeline/L1", dir_l1="/L1Pipeline/L1",
path_aux="/L1Pipeline/aux",
use_dfs=True, use_dfs=True,
dfs_node="pml", dfs_node="pml",
clear_l1=False, clear_l1=False,
...@@ -737,13 +738,6 @@ class CsstMsDataManager: ...@@ -737,13 +738,6 @@ class CsstMsDataManager:
dst=os.path.join(dir_l0, os.path.basename(tbl["file_path"][i_rec])), 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 # initialize dm
dm = CsstMsDataManager.from_dir( dm = CsstMsDataManager.from_dir(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment