Opened 12 years ago

Closed 11 years ago

#356 closed defect (fixed)

PGD no longer works in apps

Reported by: tim.huff@… Owned by: Kevin Milner
Priority: major Milestone: OpenSHA 1.3
Component: sha Version: 1.2.3
Keywords: HazardCurveLocal Cc:


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)


java.lang.RuntimeException: Unsupported IMT
	at org.opensha.sha.gui.HazardCurveServerModeApplication.initX_Values(
	at org.opensha.sha.gui.HazardCurveServerModeApplication.computeHazardCurve(
	at Source)


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:


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 12 years ago by Peter Powers

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.

comment:2 Changed 11 years ago by sakolaz


Last edited 11 years ago by Kevin Milner (previous) (diff)

comment:3 Changed 11 years ago by Kevin Milner

Milestone: OpenSHA 1.3
Owner: changed from Peter Powers to Kevin Milner
Status: newassigned

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 Kevin Milner

Summary: Bug in HazardCurveLocalPGD no longer works in apps

comment:5 Changed 11 years ago by Kevin Milner

Resolution: fixed
Status: assignedclosed

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.

Note: See TracTickets for help on using tickets.