|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.commons.data.siteData.AbstractSiteData<String>
org.opensha.commons.data.siteData.impl.WillsMap2000
public class WillsMap2000
| Field Summary | |
|---|---|
static double |
maxLat
|
static double |
maxLon
|
static double |
minLat
|
static double |
minLon
|
static String |
NAME
|
static String |
SERVLET_URL
|
static String |
SHORT_NAME
|
static double |
spacing
|
| Fields inherited from interface org.opensha.commons.data.siteData.SiteData |
|---|
TYPE_DEPTH_TO_1_0, TYPE_DEPTH_TO_2_5, TYPE_ELEVATION, TYPE_FLAG_INFERRED, TYPE_FLAG_MEASURED, TYPE_TOPOGRAPHIC_SLOPE, TYPE_VS30, TYPE_WILLS_CLASS, XML_METADATA_NAME |
| Constructor Summary | |
|---|---|
WillsMap2000()
|
|
WillsMap2000(boolean useServlet)
|
|
WillsMap2000(String fileName)
|
|
| Method Summary | |
|---|---|
protected Element |
addXMLParameters(Element paramsEl)
If your SiteData provider has data that needs to be saved in order to be recreated from XML, then override this method. |
static WillsMap2000 |
fromXMLParams(Element paramsElem)
|
Region |
getApplicableRegion()
This gives the applicable region for this data set. |
Location |
getClosestDataLocation(Location loc)
Get the location of the closest data point |
String |
getDataMeasurementType()
Get the measurement type for this data, such as "Measured" or "Inferred" |
String |
getDataType()
Get the data type of this dataset |
String |
getMetadata()
Returns the metadata for this dataset. |
String |
getName()
Get the name of this dataset |
double |
getResolution()
This gives the resolution of the dataset in degrees, or 0 for infinite resolution. |
String |
getShortName()
Get the short name of this dataset |
String |
getValue(Location loc)
Get the value at the closest location |
ArrayList<String> |
getValues(LocationList locs)
Returns a list of the values at each location. |
boolean |
isValueValid(String val)
Returns true if the value is valid, and not NaN, N/A, or equivelant for the data type |
static void |
main(String[] args)
|
| Methods inherited from class org.opensha.commons.data.siteData.AbstractSiteData |
|---|
certifyMinMaxBasinDepth, certifyMinMaxVs30, fromXMLMetadata, getAdjustableParameterList, getAnnotatedValue, getAnnotatedValues, getParameterListEditor, hasDataForLocation, initDefaultBasinParams, initDefaultVS30Params, initParamListEditor, toXMLMetadata, toXMLMetadata |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
public static final String SHORT_NAME
public static final double minLat
public static final double maxLat
public static final double minLon
public static final double maxLon
public static final double spacing
public static final String SERVLET_URL
| Constructor Detail |
|---|
public WillsMap2000()
public WillsMap2000(String fileName)
public WillsMap2000(boolean useServlet)
| Method Detail |
|---|
public Region getApplicableRegion()
SiteData
public Location getClosestDataLocation(Location loc)
throws IOException
SiteData
IOExceptionpublic String getName()
SiteData
public double getResolution()
SiteData
public String getShortName()
SiteData
public String getMetadata()
SiteData
public String getDataType()
SiteData
public String getDataMeasurementType()
SiteData
public String getValue(Location loc)
throws IOException
SiteData
IOException
public ArrayList<String> getValues(LocationList locs)
throws IOException
AbstractSiteData
getValues in interface SiteData<String>getValues in class AbstractSiteData<String>IOExceptionpublic boolean isValueValid(String val)
SiteData
protected Element addXMLParameters(Element paramsEl)
AbstractSiteData
addXMLParameters in class AbstractSiteData<String>public static WillsMap2000 fromXMLParams(Element paramsElem)
public static void main(String[] args)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||