diff --git a/csst_common/data_manager.py b/csst_common/data_manager.py index cc40647432f7eca90fa5fc4d98184da0356949f2..f317782dc60b42cf5061c450a5775f4d112842d2 100644 --- a/csst_common/data_manager.py +++ b/csst_common/data_manager.py @@ -303,10 +303,6 @@ class CsstMsDataManager: def now(): return now() - @staticmethod - def now_dfs(): - return now_dfs() - # DFS APIs @property def dfs_L0DataApi(self): @@ -737,8 +733,12 @@ class CsstMsDataManager: def get_coord(self): """ Get pointing coordinate. """ header = fits.getheader(self.l0_detector(detector=self.target_detectors[0])) - pointing_ra = header["RA_OBJ"] - pointing_dec = header["DEC_OBJ"] + if self.ver_sim == "C5.2": + pointing_ra = header["RA_OBJ"] + pointing_dec = header["DEC_OBJ"] + else: + pointing_ra = header["OBJ_RA"] + pointing_dec = header["OBJ_DEC"] return pointing_ra, pointing_dec def dfs_rc_auto(self):