Opened 11 years ago

Closed 9 years ago

#389 closed defect (fixed)

UCERF2 Time Dependent ERF Epistemic List doesn't allow setting the start year

Reported by: Kevin Milner Owned by:
Priority: major Milestone: OpenSHA 1.3
Component: sha Version:
Keywords: Cc:


The Time dependent UCERF2 epistemic list ERF currently does not allow you to set the start year, because it extends UCERF2_TimeIndependentEpistemicList which creates it's time span object with start time units of "None." The easiest fix would be to set the start time units to "Years" in UCERF2_TimeIndependentEpistemicList but I don't know if this would have any other unforeseen consequences.

Change History (2)

comment:1 Changed 11 years ago by Ned Field

Don't set start time units to "Years" in the parent class, as that would imply it's time dependent (which it isn't). I think all you need to do is recreate the object as such in the subclass (and then make sure it's being used properly).

I'm not sure UCERF2_TimeIndependentEpistemicList has ever been used for anything. A lot of these classes were created under the last-minute crunch of UCERF2 (like the friday before last), and then Vipin split right after that so they never got fully tested.

comment:2 Changed 9 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

done in [10497], although as Ned mentions this class isn't used much (and doesn't show up in the apps).

Note: See TracTickets for help on using tickets.