From 40e3e04024c4bd3c414c737ef5e20d80d0332c1e Mon Sep 17 00:00:00 2001 From: Michael Hearne Date: Thu, 3 Dec 2015 08:42:18 -0700 Subject: [PATCH] changed instances of SZintra to SZINtra to match the fecodes.csv data file --- strec/gmpe.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/strec/gmpe.py b/strec/gmpe.py index d688c79..f1553b1 100755 --- a/strec/gmpe.py +++ b/strec/gmpe.py @@ -788,7 +788,7 @@ def getSZGMPE(self,fmstring,depthzone,depth,eq2,eq3a,eq3b,acrdepth,plungevals): gmpe = 'SZinter' else: if eq3b: - gmpe = 'SZintra' + gmpe = 'SZIntra' else: if depth > acrdepth: gmpe = 'ACRde' @@ -796,7 +796,7 @@ def getSZGMPE(self,fmstring,depthzone,depth,eq2,eq3a,eq3b,acrdepth,plungevals): gmpe = 'ACRsh' else: if eq3b: - gmpe = 'SZintra' + gmpe = 'SZIntra' else: if depth > acrdepth: gmpe = 'ACRde' @@ -809,7 +809,7 @@ def getSZGMPE(self,fmstring,depthzone,depth,eq2,eq3a,eq3b,acrdepth,plungevals): warning = 'No focal mechanism available' else: if eq3b: - gmpe = 'SZintra' + gmpe = 'SZIntra' else: if depth > acrdepth: gmpe = 'ACRde' @@ -817,7 +817,7 @@ def getSZGMPE(self,fmstring,depthzone,depth,eq2,eq3a,eq3b,acrdepth,plungevals): gmpe = 'ACRsh' else: if eq3b: - gmpe = 'SZintra' + gmpe = 'SZIntra' else: if depth > acrdepth: gmpe = 'ACRde' @@ -825,10 +825,10 @@ def getSZGMPE(self,fmstring,depthzone,depth,eq2,eq3a,eq3b,acrdepth,plungevals): gmpe = 'ACRsh' elif depthzone == 'deep': if eq3b: - gmpe = 'SZintra' + gmpe = 'SZIntra' else: warning = 'Event above interface' - gmpe = 'SZintra' + gmpe = 'SZIntra' return gmpe,warning