forked from xmm/arches
revanshe
This commit is contained in:
@@ -43,7 +43,7 @@ files = glob.glob(archive_dir+'/*')
|
||||
|
||||
for obsid in files:
|
||||
obsid = os.path.basename(obsid)
|
||||
if(obsid in skip):
|
||||
if not (obsid in good):
|
||||
continue
|
||||
|
||||
work_dir = init_work_dir(obsid, products_dir=products_dir)
|
||||
@@ -55,8 +55,11 @@ for obsid in files:
|
||||
|
||||
attfile = get_first_file(events_dir+f'/{obsid}/*{obsid}_AttHk.ds')
|
||||
|
||||
for key in ['MOS1','MOS2','PN']:
|
||||
#for key in ['MOS1','MOS2','PN']:
|
||||
for key in ['MOS2']:
|
||||
evtfile = get_first_file(events_dir+f'/{obsid}/*{obsid}_E{key}*_ImagingEvts.ds')
|
||||
if not (os.path.isfile(evtfile)==True):
|
||||
continue
|
||||
fwcfile = get_first_file(fwc_dir+f'/{key}_closed_FF_2025_v1.fits')
|
||||
pimin=" ".join(emin)
|
||||
pimax=" ".join(emax)
|
||||
|
||||
Reference in New Issue
Block a user