diff --git a/csst/msc/calib_pos.py b/csst/msc/calib_pos.py index 94b574a3b89ebdc4f69233b7e51e9d4d0930f099..f9014a6b42fd656fb4ac4067dc6f4396c46bafb8 100644 --- a/csst/msc/calib_pos.py +++ b/csst/msc/calib_pos.py @@ -170,7 +170,7 @@ class CsstProcMscPositionCalibration(CsstProcessor): tbl2.header['EXTNAME'] = 'LDAC_OBJECTS' return tbl1, tbl2 - def get_refcat(self, img_list, path_gaia, search_radius, silent=True,pm_correct=True): + def get_refcat(self, img_list, path_gaia, search_radius, silent=True, pm_correct=True): """ Get reference catalog for scamp. The reference cat is GAIA EDR3. @@ -190,7 +190,7 @@ class CsstProcMscPositionCalibration(CsstProcessor): filename of the cross matched catalog: ref.cat """ outcat = self.dm.pc_ref_cat - fnmae = self.dm.pc_combined_file("img","fits") + fname = self.dm.pc_combined_file("img","fits") hdu = fits.open(fname) header1 = hdu[0].header header2 = hdu[1].header