org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis
Class GenerateFilesForHypoRatesMaps

java.lang.Object
  extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis.GenerateFilesForHypoRatesMaps

public class GenerateFilesForHypoRatesMaps
extends Object

This class generates Statewide Rates files that are used to plot Statewide maps. These maps were made for UCERF2 report. The steps to create the maps were sent to Ned in an email (The email that listed the steps to make each figure in UCERF2 report).

Author:
vipingupta

Constructor Summary
GenerateFilesForHypoRatesMaps()
           
 
Method Summary
static void generateNedsBulgeFiles(String fileNamePrefix, RELM_ERF_ToGriddedHypoMagFreqDistForecast griddedHypoMagFeqDistForecast)
          This function generates 4 files: 1.
static void generateRatioFiles(String fileNamePrefix, RELM_ERF_ToGriddedHypoMagFreqDistForecast griddedHypoMagFeqDistForecast1, RELM_ERF_ToGriddedHypoMagFreqDistForecast griddedHypoMagFeqDistForecast2)
          It generates 2 files: 1.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateFilesForHypoRatesMaps

public GenerateFilesForHypoRatesMaps()
Method Detail

main

public static void main(String[] args)

generateRatioFiles

public static void generateRatioFiles(String fileNamePrefix,
                                      RELM_ERF_ToGriddedHypoMagFreqDistForecast griddedHypoMagFeqDistForecast1,
                                      RELM_ERF_ToGriddedHypoMagFreqDistForecast griddedHypoMagFeqDistForecast2)
It generates 2 files: 1. File that has ratio of cumulative rates at Mag 5 for each location 2. File that has ratio of cumulative rates at Mag 6.5 for each location

Parameters:
fileNamePrefix -
griddedHypoMagFeqDistForecast1 -
griddedHypoMagFeqDistForecast2 -

generateNedsBulgeFiles

public static void generateNedsBulgeFiles(String fileNamePrefix,
                                          RELM_ERF_ToGriddedHypoMagFreqDistForecast griddedHypoMagFeqDistForecast)
This function generates 4 files: 1. Lat/Lon/Pred(5.0) 2. Lat/Lon/Pred(6.5) 3. Lat/Lon/Extrapolated(6.5) 4. Lat/Lon/Ratio of Pred(6.5) and Extrapolated(6.5) It assumes a B-value of 0.8