Loading csst_common/data_manager.py +4 −3 Original line number Diff line number Diff line Loading @@ -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 ) Loading @@ -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 ) Loading @@ -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 ) Loading Loading @@ -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]+)_" Loading Loading
csst_common/data_manager.py +4 −3 Original line number Diff line number Diff line Loading @@ -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 ) Loading @@ -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 ) Loading @@ -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 ) Loading Loading @@ -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]+)_" Loading