Commit b0d4f4f4 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

put ref files to aux/C6.2_ref_crds

parent ebd066f8
......@@ -544,7 +544,7 @@ class CsstMsDataManager:
if self.custom_bias is None:
return os.path.join(
self.path_aux,
"C6.1_ref_crds",
"C6.2_ref_crds",
"csst_msc_{}_{:02d}_{:04d}.fits".format(
"bias", detector, 1 if self.ref_version is None else self.ref_version
)
......@@ -557,7 +557,7 @@ class CsstMsDataManager:
if self.custom_dark is None:
return os.path.join(
self.path_aux,
"C6.1_ref_crds",
"C6.2_ref_crds",
"csst_msc_{}_{:02d}_{:04d}.fits".format(
"dark", detector, 1 if self.ref_version is None else self.ref_version
)
......@@ -570,7 +570,7 @@ class CsstMsDataManager:
if self.custom_flat is None:
return os.path.join(
self.path_aux,
"C6.1_ref_crds",
"C6.2_ref_crds",
"csst_msc_{}_{:02d}_{:04d}.fits".format(
"flat", detector, 1 if self.ref_version is None else self.ref_version
)
......@@ -1017,6 +1017,7 @@ class CsstMsFile(dict):
self.dir_out = dir_out
# parse filename
# CSST_MSC_MS_SCIE_20270713222417_20270713222647_10160000066_01_L0_V01.fits
pattern = re.compile(
r"(?P<telescope>[A-Z]+)_"
r"(?P<instrument>[A-Z]+)_"
......
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