org.opensha.gem.GEM1.calc.gemModelParsers.gshap.africa
Class GshapAfrica2GemSourceData

java.lang.Object
  extended by org.opensha.gem.GEM1.calc.gemModelParsers.GemFileParser
      extended by org.opensha.gem.GEM1.calc.gemModelParsers.gshap.africa.GshapAfrica2GemSourceData

public class GshapAfrica2GemSourceData
extends GemFileParser

The present class reads a general input file format provided by Sesame Project and used in GSHAP; returns a list of GEMAreaSourceData. The following models can be read with this parser: EastMagreb, Egypt, Israel, WestAfrica A slight modification of this parser would read the IberoMagreb (In the near future, these two versions will be merged in one parser)

Author:
l.danciu

Field Summary
 
Fields inherited from class org.opensha.gem.GEM1.calc.gemModelParsers.GemFileParser
srcDataList
 
Constructor Summary
GshapAfrica2GemSourceData(String inputfile)
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class org.opensha.gem.GEM1.calc.gemModelParsers.GemFileParser
getAreaSourceList, getFaultSourceList, getList, getNumSources, getPointSourceList, getSubductionFaultSourceList, setList, writeAreaGMTfile, writeAreaKMLfile, writeFaultGMTfile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GshapAfrica2GemSourceData

public GshapAfrica2GemSourceData(String inputfile)
                          throws FileNotFoundException
Parameters:
inputfile: - name of the file containing input model
trt: - tectonic region
Throws:
FileNotFoundException
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException