Opened 13 years ago
Closed 11 years ago
#356 closed defect (fixed)
PGD no longer works in apps
Reported by: | Owned by: | Kevin Milner | |
---|---|---|---|
Priority: | major | Milestone: | OpenSHA 1.3 |
Component: | sha | Version: | 1.2.3 |
Keywords: | HazardCurveLocal | Cc: |
Description
Steps to reproduce: (PLEASE FILL IN)
Other info: (PLEASE FILL IN)
Application: HazardCurveLocal?
Version: 1.2.3
Bulid Type: Production
Java Version: 1.6.0_26 (Sun Microsystems Inc.)
Operating System: Windows XP (arch: x86, version: 5.1)
Exception:
java.lang.RuntimeException: Unsupported IMT at org.opensha.sha.gui.HazardCurveServerModeApplication.initX_Values(HazardCurveServerModeApplication.java:2126) at org.opensha.sha.gui.HazardCurveServerModeApplication.computeHazardCurve(HazardCurveServerModeApplication.java:1337) at org.opensha.sha.gui.HazardCurveServerModeApplication.run(HazardCurveServerModeApplication.java:930) at java.lang.Thread.run(Unknown Source)
Metadata:
Cacluation Type = Probabilistic
IMR Param List:
IMR = Campbell & Bozorgnia (2008); Gaussian Truncation = None; Tectonic Region = Active Shallow Crust; Component = Average Horizontal (GMRotI50); Std Dev Type = Total
Site Param List:
Longitude = -89.5; Latitude = 35.5; Vs30 = 190.0; Depth 2.5 km/sec = 1.0
IMT Param List:
IMT = PGD
Forecast Param List:
Eqk Rup Forecast = USGS/CGS 1996 Adj. Cal. ERF; Fault Model = Frankel's; GR Fraction on B Faults = 0.5; Rupture Offset = 10.0; Background Seismicity = Exclude
TimeSpan? Param List:
Duration = 50.0
Calculation Settings:
Maximum Distance = 200.0; Num Event Sets = 1; Use Mag-Distance Filter? = false; null; Set TRT From Source? = false; If source TRT not supported by IMR = Use TRT value
Change History (5)
comment:1 Changed 13 years ago by
comment:3 Changed 11 years ago by
Milestone: | → OpenSHA 1.3 |
---|---|
Owner: | changed from Peter Powers to Kevin Milner |
Status: | new → assigned |
Definitely an open issue. In order to fix I need to know if PGD calculations are done in log or linear space, and we need a set of default X values for the calculation. Any ideas?
comment:4 Changed 11 years ago by
Summary: | Bug in HazardCurveLocal → PGD no longer works in apps |
---|
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in [10268] using the same default X values as PGV with calculation in log space. Only IMR that uses PGD so far is CB2008, tested successfully in HazardCurveApplication?. This fix will be included in the next release.
So this bug has apparently been in the code for some time. When initializing a hazard curve (initX_Values()), the HazardCurveApp? asks if the selected IMT has a lognormal distribution. PGD returns false and initX_Values() throws an exception. It's dead end code from the get go. Anyone recall working on this. I thought PGD worked in the hazard curve calculator way way back.