org.opensha.sha.cybershake.db
Interface PeakAmplitudesFromDBAPI
- All Known Implementing Classes:
- PeakAmplitudesFromDB
public interface PeakAmplitudesFromDBAPI
getSupportedIMs
ArrayList<CybershakeIM> getSupportedIMs()
- Returns:
- the supported SA Period as list of strings.
getSupportedIMs
ArrayList<CybershakeIM> getSupportedIMs(int runID)
- Returns:
- the supported SA Period as list of strings.
getRupVarationsForRupture
ArrayList<Integer> getRupVarationsForRupture(int erfId,
int srcId,
int rupId)
- Parameters:
erfId - srcId - rupId -
- Returns:
- the rupture variation ids for the rupture
getIM_Value
double getIM_Value(int runID,
int srcId,
int rupId,
int rupVarId,
CybershakeIM im)
- Parameters:
siteId - erfId - srcId - rupId - rupVarId -
- Returns:
- the IM Value for the particular IM type
getIM_Values
ArrayList<Double> getIM_Values(int runID,
int srcId,
int rupId,
CybershakeIM im)
throws SQLException
- Parameters:
siteId - erfId - srcId - rupId -
- Returns:
- the a list of IM Values for the particular IM type
- Throws:
SQLException
getSGTVarIDs
ArrayList<Integer> getSGTVarIDs()
- Returns:
- all possible SGT Variation IDs
getRupVarScenarioIDs
ArrayList<Integer> getRupVarScenarioIDs()
- Returns:
- all possible Rup Var Scenario IDs
deleteAllAmpsForSite
int deleteAllAmpsForSite(int siteID)
- delete all peak amplitudes for a given site
- Parameters:
siteId -
- Returns:
deleteAmpsForRun
int deleteAmpsForRun(int runID)
- delete all peak amplitudes for a given run
- Parameters:
siteId -
- Returns: