Opened 14 years ago

Closed 14 years ago

#42 closed task (fixed)

Vizualize Simulator output in SCEC-VDO

Reported by: Kevin Milner Owned by: Kevin Milner
Priority: major Milestone:
Component: SCEC-VDO Plugins Version:
Keywords: Cc: Ned Field

Description

E-Mail from Ned, 9/1/2010:

The "Faults for Simulators" option in SCEC-VDO now uses the utility class:

org.opensha.sha.simulators.eqsim_v04.General_EQSIM_Tools

to get an ArrayList<RectangularElement> from the method getElementsList().

That utility classe (General_EQSIM_Tools) also has a method for getting events (getEventsList(), which returns ArrayList<EQSIM_Event>). Each EQSIM_Event object has the following methods for getting the element IDs and amounts of slip in the event:

ArrayList<Integer> getAllElementIDs()
ArrayList<Integer> getAllElementSlips()

What I'd like SCEC VDO to be able to do is plot the slip in any one of the events.

For example, the faults could all be gray, and then the element for a given event could be plotted in color that's proportional to the amount of slip.

The user could either choose a specific ith event, or it could loop over them one by one (either by even temporal increments, or proportional to the actual time delay between events; the event time for each event is given by EQSIM_Event.getTimeInYears()). In fact, it would be cool to have some kind of slider bar so you could scroll through events.

Lets try to talk about this today also.

Thanks,

Ned

PS One thing to watch out for is that the ID in the various element and event objects is one plus the index in the arrays that hold those objects (the simulator group adopted the convention that their indices start from 1, not zero; I refer to their indices as "IDs" to avoid confusion). Again, I can explain more if this is not clear.

Change History (2)

comment:1 Changed 14 years ago by Kevin Milner

Type: defecttask

comment:2 Changed 14 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

done...although somewhat kludgy

Note: See TracTickets for help on using tickets.