edu.iris.dmc.extensions.fetch
Class TraceData

java.lang.Object
  extended by edu.iris.dmc.extensions.fetch.TraceData

public class TraceData
extends Object


Field Summary
static String BASE_URL
           
static String SACPZ_URL
           
static String STATION_URL
           
static boolean VERBOSE
           
static String WAVEFORM_URL
           
 
Constructor Summary
TraceData()
           
 
Method Summary
static Trace[] fetchTraces(StationCriteria[] aSc, boolean includePolesZeros)
           
static Trace[] fetchTraces(StationCriteria[] aSc, Character qualityChar, boolean includePolesZeros)
           
static Trace[] fetchTraces(StationCriteria[] aSc, Character qualityChar, boolean includePolesZeros, String username, String password)
           
static Trace[] fetchTraces(StationCriteria[] aSc, Character qualityChar, String username, String password, boolean includePolesZeros)
           
static Trace[] fetchTraces(StationCriteria[] aSc, String username, String password, boolean includePolesZeros)
           
static Trace[] fetchTraces(String network, String station, String location, String channel, Date startDate, Date endDate, char qualityChar, boolean includePolesZeros)
           
static Trace[] fetchTraces(String network, String station, String location, String channel, Date startDate, Date endDate, char qualityChar, boolean includePolesZeros, String username, String password)
           
static Trace[] fetchTraces(String network, String station, String location, String channel, String startDateStr, String endDateStr, char qualityChar, boolean includePolesZeros)
           
static Trace[] fetchTraces(String network, String station, String location, String channel, String startDateStr, String endDateStr, char qualityChar, boolean includePolesZeros, String username, String password)
           
static void setAppName(String appName)
           
static void setBASE_URL(String bASE_URL)
           
static void setSACPZ_URL(String sACPZ_URL)
           
static void setSTATION_URL(String sTATION_URL)
           
static void setVerbosity(boolean verbose)
           
static void setWAVEFORM_URL(String wAVEFORM_URL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

public static boolean VERBOSE

BASE_URL

public static String BASE_URL

SACPZ_URL

public static String SACPZ_URL

STATION_URL

public static String STATION_URL

WAVEFORM_URL

public static String WAVEFORM_URL
Constructor Detail

TraceData

public TraceData()
Method Detail

setAppName

public static void setAppName(String appName)

setVerbosity

public static void setVerbosity(boolean verbose)

fetchTraces

public static Trace[] fetchTraces(String network,
                                  String station,
                                  String location,
                                  String channel,
                                  String startDateStr,
                                  String endDateStr,
                                  char qualityChar,
                                  boolean includePolesZeros)
                           throws Exception
Parameters:
network -
station -
location -
channel -
startDateStr -
endDateStr -
qualityChar -
includePolesZeros -
Returns:
Trace[]
Throws:
Exception

fetchTraces

public static Trace[] fetchTraces(String network,
                                  String station,
                                  String location,
                                  String channel,
                                  String startDateStr,
                                  String endDateStr,
                                  char qualityChar,
                                  boolean includePolesZeros,
                                  String username,
                                  String password)
                           throws Exception
Parameters:
network -
station -
location -
channel -
startDateStr -
endDateStr -
qualityChar -
includePolesZeros -
username -
password -
Returns:
Trace[]
Throws:
Exception

fetchTraces

public static Trace[] fetchTraces(String network,
                                  String station,
                                  String location,
                                  String channel,
                                  Date startDate,
                                  Date endDate,
                                  char qualityChar,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
network -
station -
location -
channel -
startDate -
endDate -
qualityChar -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(String network,
                                  String station,
                                  String location,
                                  String channel,
                                  Date startDate,
                                  Date endDate,
                                  char qualityChar,
                                  boolean includePolesZeros,
                                  String username,
                                  String password)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
network -
station -
location -
channel -
startDate -
endDate -
qualityChar -
includePolesZeros -
username -
password -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  String username,
                                  String password,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
username -
password -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  Character qualityChar,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
qualityChar -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  Character qualityChar,
                                  String username,
                                  String password,
                                  boolean includePolesZeros)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
qualityChar -
username -
password -
includePolesZeros -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

fetchTraces

public static Trace[] fetchTraces(StationCriteria[] aSc,
                                  Character qualityChar,
                                  boolean includePolesZeros,
                                  String username,
                                  String password)
                           throws IOException,
                                  NoDataFoundException,
                                  CriteriaException,
                                  Exception
Parameters:
aSc -
qualityChar -
includePolesZeros -
username -
password -
Returns:
Trace[]
Throws:
IOException
NoDataFoundException
CriteriaException
Exception

setBASE_URL

public static void setBASE_URL(String bASE_URL)

setSACPZ_URL

public static void setSACPZ_URL(String sACPZ_URL)

setSTATION_URL

public static void setSTATION_URL(String sTATION_URL)

setWAVEFORM_URL

public static void setWAVEFORM_URL(String wAVEFORM_URL)


Copyright © 2013. All Rights Reserved.