From f67c8a10687386fa0480802722c1535ceb619af9 Mon Sep 17 00:00:00 2001 From: Wael Elhaddad Date: Wed, 25 Jul 2018 11:48:40 -0700 Subject: [PATCH] SHA-GM Bug Fix --- createEVENT/SHA-GM.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createEVENT/SHA-GM.py b/createEVENT/SHA-GM.py index fc710c2..5a89e3e 100755 --- a/createEVENT/SHA-GM.py +++ b/createEVENT/SHA-GM.py @@ -72,7 +72,7 @@ def readNGAWest2File(ngaW2FilePath, scaleFactor): canRead = False #We need to process the header first for line in recordFile: if(canRead): - series.extend([float(value) * scaleFactor for value in line.split()]) + series.extend([float(value) * scaleFactor * 9.81 for value in line.split()]) elif("NPTS=" in line): dt = float(re.match(r"NPTS=.+, DT=\s+([0-9\.]+)\s+SEC", line).group(1))