|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.commons.data.siteData.AbstractSiteData<Double>
org.opensha.commons.data.siteData.impl.SRTM30PlusTopography
public class SRTM30PlusTopography
| Field Summary | |
|---|---|
static double |
arcSecondSpacing
|
static double |
minLat
|
static double |
minLon
|
static String |
NAME
|
static int |
nx
|
static int |
ny
|
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 | |
|---|---|
SRTM30PlusTopography()
|
|
SRTM30PlusTopography(String fileName)
|
|
| Method Summary | |
|---|---|
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 |
Double |
getValue(Location loc)
Get the value at the closest location |
ArrayList<Double> |
getValues(LocationList locs)
Returns a list of the values at each location. |
boolean |
isValueValid(Double 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 |
|---|
addXMLParameters, 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 arcSecondSpacing
public static final double spacing
public static final int nx
public static final int ny
public static final double minLon
public static final double minLat
public static final String SERVLET_URL
| Constructor Detail |
|---|
public SRTM30PlusTopography()
throws IOException
IOException
public SRTM30PlusTopography(String fileName)
throws IOException
IOException| Method Detail |
|---|
public Region getApplicableRegion()
SiteData
public Location getClosestDataLocation(Location loc)
throws IOException
SiteData
IOExceptionpublic String getMetadata()
SiteData
public String getName()
SiteData
public double getResolution()
SiteData
public String getShortName()
SiteData
public String getDataType()
SiteData
public String getDataMeasurementType()
SiteData
public Double getValue(Location loc)
throws IOException
SiteData
IOException
public ArrayList<Double> getValues(LocationList locs)
throws IOException
AbstractSiteData
getValues in interface SiteData<Double>getValues in class AbstractSiteData<Double>IOExceptionpublic boolean isValueValid(Double val)
SiteData
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 | |||||||||