edu.sc.seis.fissuresUtil.stationxml
Class StationXMLToFissures

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.stationxml.StationXMLToFissures

public class StationXMLToFissures
extends java.lang.Object


Field Summary
static TimeInterval ONE_SECOND
           
static Filter UNITY_COEFFICENT_FILTER
           
static Filter UNITY_POLE_ZERO
           
static java.lang.String UNKNOWN
           
 
Constructor Summary
StationXMLToFissures()
           
 
Method Summary
static java.util.List<ChannelSensitivityBundle> convert(Channel xml, StationImpl station)
           
static Response convert(java.util.List<Response> respList, InstrumentSensitivity overallGain)
           
static NetworkAttrImpl convert(Network net)
           
static java.util.List<StationImpl> convert(Station xml)
           
static StationImpl convert(StationEpoch xml, NetworkAttrImpl netAttr, java.lang.String staCode)
           
static java.util.List<StationChannelBundle> convert(Station xml, java.util.List<NetworkAttrImpl> knownNets, boolean extractChannels)
           
static java.util.List<StationChannelBundle> convert(Station xml, NetworkAttrImpl attr, boolean extractChannels)
           
static java.util.List<StationChannelBundle> convert(Station xml, Network net, boolean extractChannels)
           
static ChannelSensitivityBundle convertChannel(Epoch chanEpoch, Channel parentChannel, StationImpl station)
           
static ComplexNumberErrored convertComplex(PoleZero pz)
           
static Decimation convertDecimation(Decimation dec)
           
static Filter convertFilter(AbstractResponseType resp)
           
static InstrumentationImpl convertInstrumentation(Epoch xmlChan)
           
static Normalization convertNormalization(PolesZeros poleZero)
           
static Time convertTime(java.lang.String xml)
           
static UnitImpl convertUnit(java.lang.String xml)
           
static TransferType getTransferType(Response response)
           
static java.lang.String makeNoNull(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNITY_POLE_ZERO

public static final Filter UNITY_POLE_ZERO

UNITY_COEFFICENT_FILTER

public static final Filter UNITY_COEFFICENT_FILTER

UNKNOWN

public static final java.lang.String UNKNOWN
See Also:
Constant Field Values

ONE_SECOND

public static final TimeInterval ONE_SECOND
Constructor Detail

StationXMLToFissures

public StationXMLToFissures()
Method Detail

convert

public static NetworkAttrImpl convert(Network net)

convert

public static StationImpl convert(StationEpoch xml,
                                  NetworkAttrImpl netAttr,
                                  java.lang.String staCode)

convert

public static java.util.List<StationImpl> convert(Station xml)
                                           throws StationXMLException
Throws:
StationXMLException

convert

public static java.util.List<StationChannelBundle> convert(Station xml,
                                                           java.util.List<NetworkAttrImpl> knownNets,
                                                           boolean extractChannels)
                                                    throws StationXMLException
Throws:
StationXMLException

convert

public static java.util.List<StationChannelBundle> convert(Station xml,
                                                           Network net,
                                                           boolean extractChannels)
                                                    throws StationXMLException
Throws:
StationXMLException

convert

public static java.util.List<StationChannelBundle> convert(Station xml,
                                                           NetworkAttrImpl attr,
                                                           boolean extractChannels)
                                                    throws StationXMLException
Throws:
StationXMLException

convertChannel

public static ChannelSensitivityBundle convertChannel(Epoch chanEpoch,
                                                      Channel parentChannel,
                                                      StationImpl station)

convert

public static java.util.List<ChannelSensitivityBundle> convert(Channel xml,
                                                               StationImpl station)
                                                        throws StationXMLException
Throws:
StationXMLException

convertInstrumentation

public static InstrumentationImpl convertInstrumentation(Epoch xmlChan)
                                                  throws StationXMLException
Throws:
StationXMLException

convert

public static Response convert(java.util.List<Response> respList,
                               InstrumentSensitivity overallGain)
                        throws StationXMLException
Throws:
StationXMLException

convertDecimation

public static Decimation convertDecimation(Decimation dec)

convertFilter

public static Filter convertFilter(AbstractResponseType resp)
                            throws StationXMLException
Throws:
StationXMLException

convertNormalization

public static Normalization convertNormalization(PolesZeros poleZero)

convertComplex

public static ComplexNumberErrored convertComplex(PoleZero pz)

getTransferType

public static TransferType getTransferType(Response response)
                                    throws StationXMLException
Throws:
StationXMLException

convertUnit

public static UnitImpl convertUnit(java.lang.String xml)
                            throws StationXMLException
Throws:
StationXMLException

convertTime

public static Time convertTime(java.lang.String xml)

makeNoNull

public static java.lang.String makeNoNull(java.lang.String s)