public class FissuresToSac
extends java.lang.Object
Constructor and Description |
---|
FissuresToSac() |
Modifier and Type | Method and Description |
---|---|
static void |
addChannel(SacHeader header,
Channel channel)
Adds the Channel information, including station location and channel
orientation to the sac object.
|
static void |
addOrigin(SacHeader header,
Origin origin)
Adds origin informtion to the sac object, including the o marker.
|
static SacPoleZero |
getPoleZero(Response response) |
static SacTimeSeries |
getSAC(LocalSeismogramImpl seis)
Creates a SacTimeSeries object from a LocalSeismogram.
|
static SacTimeSeries |
getSAC(LocalSeismogramImpl seis,
Channel channel)
Creates a SacTimeSeries object from a LocalSeismogram.
|
static SacTimeSeries |
getSAC(LocalSeismogramImpl seis,
Channel channel,
Origin origin)
Creates a SacTimeSeries object from a LocalSeismogram.
|
static SacTimeSeries |
getSAC(LocalSeismogramImpl seis,
Origin origin)
Creates a SacTimeSeries object from a LocalSeismogram.
|
static void |
setKZTime(SacHeader header,
MicroSecondDate date) |
public static SacTimeSeries getSAC(LocalSeismogramImpl seis) throws CodecException
seis
- the LocalSeismogramImpl
with the dataSacTimeSeries
with data and headers filledCodecException
public static SacTimeSeries getSAC(LocalSeismogramImpl seis, Channel channel) throws CodecException
seis
- a LocalSeismogramImpl
valuechannel
- a Channel
valueSacTimeSeries
valueCodecException
public static SacTimeSeries getSAC(LocalSeismogramImpl seis, Origin origin) throws CodecException
seis
- a LocalSeismogramImpl
valueorigin
- an Origin
valueSacTimeSeries
valueCodecException
public static SacTimeSeries getSAC(LocalSeismogramImpl seis, Channel channel, Origin origin) throws CodecException
seis
- a LocalSeismogramImpl
valuechannel
- a Channel
valueorigin
- an Origin
valueSacTimeSeries
valueCodecException
public static void addChannel(SacHeader header, Channel channel)
sac
- a SacTimeSeries
object to be modifiedchannel
- a Channel
public static void addOrigin(SacHeader header, Origin origin)
sac
- a SacTimeSeries
object to be modifiedorigin
- an Origin
valuepublic static void setKZTime(SacHeader header, MicroSecondDate date)
public static SacPoleZero getPoleZero(Response response) throws InvalidResponse
InvalidResponse