org.opensha.nshmp.sha.data
Class DataGenerator_FEMA

java.lang.Object
  extended by org.opensha.nshmp.sha.data.DataGenerator_NEHRP
      extended by org.opensha.nshmp.sha.data.DataGenerator_FEMA
All Implemented Interfaces:
DataGeneratorAPI_NEHRP

public class DataGenerator_FEMA
extends DataGenerator_NEHRP

Title: DataGenerator_FEMA

Description:

Version:
1.0
Author:
Ned Field, Nitin Gupta and Vipin Gupta

Field Summary
 
Fields inherited from class org.opensha.nshmp.sha.data.DataGenerator_NEHRP
dataEdition, dataInfo, faVal, fvVal, geographicRegion, lat, lon, mapSpectrumSaSdFunction, mapSpectrumSaTFunction, metadataForPlots, saFunction, sdSpectrumSaSdFunction, sdSpectrumSaTFunction, selectedSpectraType, siteClass, smSpectrumSaSdFunction, smSpectrumSaTFunction, zipCode
 
Constructor Summary
DataGenerator_FEMA()
           
 
Method Summary
 void calculateSsS1(double lat, double lon)
          Gets the data for SsS1 in case region specified is not a Territory and user specifies Lat-Lon for the location.
 void calculateSsS1(String zipCode)
          Gets the data for SsS1 in case region specified is not a Territory and user specifies zip code for the location.
 double getSa()
          Returns the SA at 1 sec
 double getSs()
          Returns the SA at .2sec
 
Methods inherited from class org.opensha.nshmp.sha.data.DataGenerator_NEHRP
addDataInfo, calculatedSDSsS1, calculateMapSpectrum, calculateMapSpectrum, calculateSDSpectrum, calculateSDSpectrum, calculateSDSsS1, calculateSMSpectrum, calculateSMSpectrum, calculateSMsSm1SDsSD1, calculateSMSsS1, calculateSMSsS1, calculateSsS1, calculateSsS1, clearData, createMetadataForPlots, getCalculatedSDSsS1Function, getCalculateSDSsS1Function, getCalculateSMSsS1Function, getCalculateSMSsS1Function, getCalculateSsS1Function, getCalculateSsS1Function, getCalculateSsS1Function, getDataInfo, getFunctionsForMapSpectrum, getFunctionsForSDSpectrum, getFunctionsForSMSpectrum, getFunctionsToPlotForSA, getSaFunction, getSelectedSiteClass, setEdition, setFa, setFv, setNoLocation, setRegion, setSiteClass, setSpectraType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataGenerator_FEMA

public DataGenerator_FEMA()
Method Detail

getSs

public double getSs()
Returns the SA at .2sec

Specified by:
getSs in interface DataGeneratorAPI_NEHRP
Overrides:
getSs in class DataGenerator_NEHRP
Returns:
double

getSa

public double getSa()
Returns the SA at 1 sec

Specified by:
getSa in interface DataGeneratorAPI_NEHRP
Overrides:
getSa in class DataGenerator_NEHRP
Returns:
double

calculateSsS1

public void calculateSsS1(double lat,
                          double lon)
                   throws RemoteException
Gets the data for SsS1 in case region specified is not a Territory and user specifies Lat-Lon for the location.

Specified by:
calculateSsS1 in interface DataGeneratorAPI_NEHRP
Overrides:
calculateSsS1 in class DataGenerator_NEHRP
Throws:
RemoteException

calculateSsS1

public void calculateSsS1(String zipCode)
                   throws ZipCodeErrorException,
                          RemoteException
Gets the data for SsS1 in case region specified is not a Territory and user specifies zip code for the location.

Specified by:
calculateSsS1 in interface DataGeneratorAPI_NEHRP
Overrides:
calculateSsS1 in class DataGenerator_NEHRP
Throws:
ZipCodeErrorException
RemoteException