Commit f778c6b0 authored by Franco Mele's avatar Franco Mele
Browse files

tutte le mag in ML e scrittura delle originarie

parent 632a4ad0
......@@ -83,13 +83,13 @@ def main():
if( df['MagType'][ind]=="Mw" or df['MagType'][ind]=="Mwp" or df['MagType'][ind]=="Mwpd" ):
if(mldb):
mymag = ( df['Magnitude'][ind] - 0.2 ) / 0.93 # da Di Bona
myty = "ML(Mw-DiBo)"
myty = "ML(DiBo; Mw "+str(df['Magnitude'][ind])+")"
else:
mymag = ( df['Magnitude'][ind] - 0.31 ) / 0.915 # da Scognamiglio et al.
myty = "ML(Mw-S.T.M.)"
myty = "ML(S.T.M.; Mw "+str(df['Magnitude'][ind])+")"
elif( df['MagType'][ind]=="mb" ):
mymag = ( df['Magnitude'][ind] - 0.02 ) / 0.99
myty = "ML(mb-DiBo)"
myty = "ML(DiBo; mb "+str(df['Magnitude'][ind])+")"
print(df['Time'][ind][0:4]," ",\
df['Time'][ind][5:7]," ",\
......
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