Commit a3958d33 authored by Semih Demir's avatar Semih Demir
Browse files

yaml file updated with processing time

parent a44742d0
......@@ -78,6 +78,8 @@ Trigger:
spread_int : 1e-4
noise_vis : 'True'
noise_vis_interval : 60 # in seconds
Hr : 13 #hour from which to start processing
Min : 49 #min from which to start processing
Processing:
......
......@@ -49,14 +49,9 @@ def processing(param):
# load list of ASDF snippets in folder
sta_overlap = Stream()
# re.findall('\d+', 'xyz123abc456def789')
# koek=[int(re.findall('\d+', f)[4]) for f in os.listdir(asdf_folder) if f.endswith('.h5')]
# print(koek)
# if tparam['processing time'] == True:
new_files = sorted([f for f in os.listdir(asdf_folder) if f.endswith('.h5') and int(re.findall('\d+', f)[3])>= tparam['Hr']]) # generates a list of the .asdf files in asdf_folder
if len(new_files):
if int(re.findall('\d+', new_files[0])[3]) > tparam['Hr']:
new_files = new_files
......
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