Opened 12 years ago

Closed 12 years ago

#229 closed defect (invalid)

Bug in HazardSpectrumLocal

Reported by: anonymous Owned by: Peter Powers
Priority: major Milestone:
Component: sha Version:
Keywords: HazardSpectrumLocal Cc:


Steps to reproduce: (PLEASE FILL IN)

Other info: (PLEASE FILL IN)

Application: HazardSpectrumLocal?
Version: 1.1.2
Bulid Type: dist


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 = -122.264185; Latitude = 37.877259; Vs30 = 270.0; Depth 2.5 km/sec = 1.0

IML/Prob Param List:

Map Type = IML@Prob; Probability = 0.5

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

Maximum Distance = 200.0


java.lang.NumberFormatException: For input string: "0,00010"
	at sun.misc.FloatingDecimal.readJavaFormatString(
	at java.lang.Double.parseDouble(
	at org.opensha.sha.gui.infoTools.IMT_Info.getDefaultHazardCurve(
	at org.opensha.sha.gui.HazardSpectrumLocalModeApplication.initX_Values(
	at org.opensha.sha.gui.HazardSpectrumLocalModeApplication.computeHazardCurve(

Change History (1)

comment:1 Changed 12 years ago by Kevin Milner

Resolution: invalid
Status: newclosed

This is another case of using commas instead of periods in numbers. See new ticket, #253 for future improvement on catching these issues.

Note: See TracTickets for help on using tickets.