org.opensha.sha.cybershake.plot
Class HazardCurves2XYZ

java.lang.Object
  extended by org.opensha.sha.cybershake.plot.HazardCurves2XYZ

public class HazardCurves2XYZ
extends Object


Constructor Summary
HazardCurves2XYZ(DBAccess db, int erfID, int rupVarScenarioID, int sgtVarID, int velModelID, int imTypeID)
           
HazardCurves2XYZ(DBAccess db, int erfID, int rupVarScenarioID, int sgtVarID, int velModelID, int imTypeID, ArrayList<Integer> siteTypeIDs)
           
 
Method Summary
static void main(String[] args)
           
 void writeLabelsFile(String labelsFile)
           
static void writeLabelsFile(String labelsFile, List<CybershakeSite> sites)
           
 void writeXYZ(String fileName, boolean isProbAt_IML, double level)
           
static void writeXYZ(String fileName, List<CybershakeSite> sites, List<Double> vals, List<Integer> siteTypeIDs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HazardCurves2XYZ

public HazardCurves2XYZ(DBAccess db,
                        int erfID,
                        int rupVarScenarioID,
                        int sgtVarID,
                        int velModelID,
                        int imTypeID)

HazardCurves2XYZ

public HazardCurves2XYZ(DBAccess db,
                        int erfID,
                        int rupVarScenarioID,
                        int sgtVarID,
                        int velModelID,
                        int imTypeID,
                        ArrayList<Integer> siteTypeIDs)
Method Detail

writeXYZ

public static void writeXYZ(String fileName,
                            List<CybershakeSite> sites,
                            List<Double> vals,
                            List<Integer> siteTypeIDs)
                     throws IOException
Throws:
IOException

writeXYZ

public void writeXYZ(String fileName,
                     boolean isProbAt_IML,
                     double level)
              throws IOException
Throws:
IOException

writeLabelsFile

public void writeLabelsFile(String labelsFile)
                     throws IOException
Throws:
IOException

writeLabelsFile

public static void writeLabelsFile(String labelsFile,
                                   List<CybershakeSite> sites)
                            throws IOException
Throws:
IOException

main

public static void main(String[] args)