You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Job cleaner"""bad=pd.read_csv("data_check.csv", parse_dates=["start", "end"], dayfirst=True)
print(bad.head())
c=0forsta, groupinbad.groupby("linecol"):
print(sta, len(group), "bad periods")
forid, periodingroup.iterrows():
cmd="DELETE FROM jobs where pair like '%%%s%%' and day BETWEEN '%s' and '%s' "% (sta.replace("_","."),period.start.date(), period.end.date())
os.system("msnoise db execute \"%s\""%cmd)
here I summarise the discussions/code done with @awatlet today to avoid using toppled over seismic nodes in the CC calculations
2.1. extract RMS
2.2 define bad periods, save to csv
2.3 use csv to delete CC jobs
The text was updated successfully, but these errors were encountered: