|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.commons.mapping.gmt.GMT_MapGenerator
org.opensha.sha.mapping.GMT_MapGeneratorForShakeMaps
public class GMT_MapGeneratorForShakeMaps
Title: GMT_MapGeneratorForShakeMaps
Description: This class extends the GMT_MapGenerator to extend the GMT functionality for the shakeMaps.
| Field Summary | |
|---|---|
protected static String |
C
Name of the class |
protected static boolean |
D
|
static String |
HAZUS_SHAPE_PARAM_NAME
|
static String |
OPENSHA_HAZUS_SERVLET_URL
|
static String |
PGA
|
static String |
PGV
|
static String |
RUP_PLOT_PARAM_INFO
|
static String |
RUP_PLOT_PARAM_NAME
|
static String |
RUP_PLOT_PARAM_NOTHING
|
static String |
RUP_PLOT_PARAM_PERIMETER
|
static String |
RUP_PLOT_PARAM_POINTS
|
static String |
SA_03
|
static String |
SA_10
|
| Constructor Summary | |
|---|---|
GMT_MapGeneratorForShakeMaps()
|
|
| Method Summary | |
|---|---|
protected void |
addFinalGMT_ScriptLines(ArrayList gmtCommandLines)
Function adds script lines to generate Hazus Shape files if that option has been selected. |
static void |
addHAZUS_Lines(ArrayList<String> gmtCommandLines,
GMT_Map map,
String imt,
String hazusPrefix)
|
protected void |
addIntermediateGMT_ScriptLines(ArrayList gmtLines)
This method adds intermediate script commands to plot the earthquake rupture and hypocenter. |
static void |
addRupture(GMT_Map map,
EvenlyGriddedSurface surface,
Location hypo,
String rupPlot)
|
GMT_Map |
getGMTMapSpecification(GeoDataSet xyzData)
|
String[] |
makeHazusFileSetLocally(GeoDataSet sa03DataSet,
GeoDataSet sa10DataSet,
GeoDataSet pgaDataSet,
GeoDataSet pgvDataSet,
EqkRupture eqkRupture,
String metadata,
String dirName)
|
String[] |
makeHazusFileSetUsingServlet(GeoDataSet sa03DataSet,
GeoDataSet sa10DataSet,
GeoDataSet pgaDataSet,
GeoDataSet pgvDataSet,
EqkRupture eqkRupture,
String metadata,
String dirName)
|
String |
makeMapLocally(GeoDataSet xyzDataSet,
EqkRupture eqkRupture,
String imtString,
String metadata,
String directoryName)
Makes scenarioshake maps locally using the GMT on the users own computer |
String |
makeMapUsingServlet(GeoDataSet xyzDataSet,
EqkRupture eqkRupture,
String imtString,
String metadata,
String dirName)
Makes scenarioshake maps using the GMT on the gravity.usc.edu server(Linux server). |
String |
makeMapUsingWebServer(GeoDataSet xyzDataSet,
EqkRupture eqkRupture,
String imtString,
String metadata)
Makes scenarioshake maps using the GMT on the gravity.usc.edu server(Linux server). |
protected String |
openServletConnection(GeoDataSet sa03_xyzDataVals,
GeoDataSet sa10_xyzDataVals,
GeoDataSet pga_xyzDataVals,
GeoDataSet pgv_xyzDataVals,
GMT_Map[] maps,
String metadata,
String dirName)
sets up the connection with the servlet on the server (gravity.usc.edu) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String C
public static final String OPENSHA_HAZUS_SERVLET_URL
protected static final boolean D
public static final String SA_10
public static final String SA_03
public static final String PGA
public static final String PGV
public static final String RUP_PLOT_PARAM_NAME
public static final String RUP_PLOT_PARAM_PERIMETER
public static final String RUP_PLOT_PARAM_POINTS
public static final String RUP_PLOT_PARAM_NOTHING
public static final String RUP_PLOT_PARAM_INFO
public static final String HAZUS_SHAPE_PARAM_NAME
| Constructor Detail |
|---|
public GMT_MapGeneratorForShakeMaps()
| Method Detail |
|---|
public String[] makeHazusFileSetLocally(GeoDataSet sa03DataSet,
GeoDataSet sa10DataSet,
GeoDataSet pgaDataSet,
GeoDataSet pgvDataSet,
EqkRupture eqkRupture,
String metadata,
String dirName)
throws GMT_MapException
sa03DataSet - sa10DataSet - pgaDataSet - pgvDataSet - eqkRupture - returns the String[] of the image file names
GMT_MapException
public String[] makeHazusFileSetUsingServlet(GeoDataSet sa03DataSet,
GeoDataSet sa10DataSet,
GeoDataSet pgaDataSet,
GeoDataSet pgvDataSet,
EqkRupture eqkRupture,
String metadata,
String dirName)
throws GMT_MapException
sa03DataSet - sa10DataSet - pgaDataSet - pgvDataSet - eqkRupture -
GMT_MapException
protected String openServletConnection(GeoDataSet sa03_xyzDataVals,
GeoDataSet sa10_xyzDataVals,
GeoDataSet pga_xyzDataVals,
GeoDataSet pgv_xyzDataVals,
GMT_Map[] maps,
String metadata,
String dirName)
throws RuntimeException
sa03_xyzDataVals - : XYZ data for the SA-0.3secsa10_xyzDataVals - : XYZ data for the SA-1.0secpga_xyzDataVals - : XYZ data for the PGApgv_xyzDataVals - : XYZ data for the PGVgmtFileLines - : Script lines to be executed on the servermetadataLines - : MetadataLines
RuntimeException
public String makeMapLocally(GeoDataSet xyzDataSet,
EqkRupture eqkRupture,
String imtString,
String metadata,
String directoryName)
throws GMT_MapException
xyzDataSet: - XYZ DataeqkRup - : EarthRupture ObjecthypLoc - :Hypocenter LocationimtString - - the IMT string for labeling and filenames
GMT_MapException
public String makeMapUsingServlet(GeoDataSet xyzDataSet,
EqkRupture eqkRupture,
String imtString,
String metadata,
String dirName)
throws GMT_MapException,
RuntimeException
xyzDataSet: - XYZ DataeqkRup - : EarthRupture ObjecthypLoc - : Hypocenter LocationimtString - - the IMT string for labeling and filenames
GMT_MapException
RuntimeException
public String makeMapUsingWebServer(GeoDataSet xyzDataSet,
EqkRupture eqkRupture,
String imtString,
String metadata)
throws GMT_MapException
xyzDataSet: - XYZ DataeqkRup - : EarthRupture ObjecthypLoc - :Hypocenter LocationimtString - - the IMT string for labeling and filenames
GMT_MapException
public static void addHAZUS_Lines(ArrayList<String> gmtCommandLines,
GMT_Map map,
String imt,
String hazusPrefix)
protected void addFinalGMT_ScriptLines(ArrayList gmtCommandLines)
addFinalGMT_ScriptLines in class GMT_MapGeneratorgmtCommandLines - : ArrayList to store the command line
public static final void addRupture(GMT_Map map,
EvenlyGriddedSurface surface,
Location hypo,
String rupPlot)
public GMT_Map getGMTMapSpecification(GeoDataSet xyzData)
getGMTMapSpecification in class GMT_MapGeneratorprotected void addIntermediateGMT_ScriptLines(ArrayList gmtLines)
addIntermediateGMT_ScriptLines in class GMT_MapGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||