Commit a23c0bc0 authored by niejuzi's avatar niejuzi
Browse files

update code

parent b845bff0
......@@ -81,7 +81,7 @@ class CsstProcMscPositionCalibration(CsstProcessor):
cat_list = []
fn_list = []
for this_ccd_id in ccd_ids:
print("good")
print(type(this_ccd_id))
sex_cat = self.dm.l1_sci(ccd_id = this_ccd_id, suffix="img", ext="cat")
fn = self.dm.l1_sci(ccd_id=this_ccd_id, suffix="img", ext="fits")
cat_list.append(sex_cat)
......
......@@ -112,6 +112,7 @@ def do_one_exposure(ver_sim="C5.1", dir_l0="", dir_l1="", dir_pcref="", path_aux
pcProc.run(img_list, wht_list, flg_list, fn_list, ccd_ids, dir_pcref, 2.0, pm_correct=True, wcs_refine=True, plot=True)
else:
for this_ccd_id in ccd_ids:
print(type(this_ccd_id))
fp_img = dm.l1_sci(ccd_id=this_ccd_id, suffix="img",ext="fits")
fp_wht = dm.l1_sci(ccd_id=this_ccd_id, suffix="wht",ext="fits")
fp_flg = dm.l1_sci(ccd_id=this_ccd_id, suffix="flg",ext="fits")
......
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