forked from xmm/arches
SAS
This commit is contained in:
@@ -15,7 +15,7 @@ print("Arches root path: {}".format(root_path))
|
||||
|
||||
archive_dir=root_path+'/data/archive'
|
||||
events_dir=root_path+'/data/processed-oot'
|
||||
products_dir=root_path+'/products'
|
||||
#products_dir=root_path+'/products'
|
||||
|
||||
create_folder(events_dir)
|
||||
|
||||
@@ -62,11 +62,14 @@ for obsid in files:
|
||||
|
||||
w('sasver', []).run() # print info
|
||||
|
||||
search_str=f'{work_dir}/????_{obsid}_EPN_S???_ImagingEvts_OOT.ds'
|
||||
search_str=f'{work_dir}/????_{obsid}_EPN_S???_ImagingEvts.ds'
|
||||
epfiles = glob.glob(search_str)
|
||||
if not (epfiles):
|
||||
print('Running epproc')
|
||||
w('epproc', ['withoutoftime=true',]).run()
|
||||
print('*** Running epproc')
|
||||
w('epproc', ['withoutoftime=true',]).run()
|
||||
else:
|
||||
print('*** Skipping epproc')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user