public class SacToFissures
extends java.lang.Object
Constructor and Description |
---|
SacToFissures() |
Modifier and Type | Method and Description |
---|---|
static ChannelImpl |
getChannel(SacHeader header) |
static ChannelImpl |
getChannel(SacTimeSeries sac) |
static ChannelId |
getChannelId(SacHeader header) |
static ChannelId |
getChannelId(SacHeader header,
java.lang.String siteCode) |
static ChannelId |
getChannelId(SacTimeSeries sac) |
static ChannelId |
getChannelId(SacTimeSeries sac,
java.lang.String siteCode) |
static CacheEvent |
getEvent(SacHeader header) |
static CacheEvent |
getEvent(SacTimeSeries sac) |
static MicroSecondDate |
getEventOriginTime(SacHeader header) |
static MicroSecondDate |
getEventOriginTime(SacTimeSeries sac)
calculates the event origin time from the sac headers O, NZYEAR, NZJDAY,
NZHOUR, NZMIN, NZSEC, NZMSEC.
|
static MicroSecondDate |
getNZTime(SacHeader header)
calculates the reference (NZ) time from the sac headers NZYEAR, NZJDAY,
NZHOUR, NZMIN, NZSEC, NZMSEC.
|
static MicroSecondDate |
getNZTime(SacTimeSeries sac)
calculates the reference (NZ) time from the sac headers NZYEAR, NZJDAY,
NZHOUR, NZMIN, NZSEC, NZMSEC.
|
static LocalSeismogramImpl |
getSeismogram(java.io.File sacFile) |
static LocalSeismogramImpl |
getSeismogram(java.io.InputStream in) |
static LocalSeismogramImpl |
getSeismogram(SacTimeSeries sac) |
static LocalSeismogramImpl |
getSeismogram(SacTimeSeries sac,
SeismogramAttr attr)
Gets a LocalSeismogram.
|
static SeismogramAttrImpl |
getSeismogramAttr(SacTimeSeries sac) |
static MicroSecondDate |
getSeismogramBeginTime(SacHeader header)
calculates the seismogram begin time from the sac headers B, NZYEAR,
NZJDAY, NZHOUR, NZMIN, NZSEC, NZMSEC.
|
static MicroSecondDate |
getSeismogramBeginTime(SacTimeSeries sac)
calculates the seismogram begin time from the sac headers B, NZYEAR,
NZJDAY, NZHOUR, NZMIN, NZSEC, NZMSEC.
|
public static LocalSeismogramImpl getSeismogram(java.io.File sacFile) throws java.io.FileNotFoundException, java.io.IOException, FissuresException
java.io.FileNotFoundException
java.io.IOException
FissuresException
public static LocalSeismogramImpl getSeismogram(java.io.InputStream in) throws java.io.IOException, FissuresException
java.io.IOException
FissuresException
public static LocalSeismogramImpl getSeismogram(SacTimeSeries sac, SeismogramAttr attr) throws FissuresException
FissuresException
public static LocalSeismogramImpl getSeismogram(SacTimeSeries sac) throws FissuresException
FissuresException
public static SeismogramAttrImpl getSeismogramAttr(SacTimeSeries sac) throws FissuresException
FissuresException
public static ChannelId getChannelId(SacTimeSeries sac)
public static ChannelId getChannelId(SacTimeSeries sac, java.lang.String siteCode)
public static ChannelImpl getChannel(SacTimeSeries sac)
public static ChannelImpl getChannel(SacHeader header)
public static MicroSecondDate getNZTime(SacTimeSeries sac)
public static MicroSecondDate getNZTime(SacHeader header)
public static MicroSecondDate getEventOriginTime(SacTimeSeries sac)
public static MicroSecondDate getEventOriginTime(SacHeader header)
public static MicroSecondDate getSeismogramBeginTime(SacTimeSeries sac)
public static MicroSecondDate getSeismogramBeginTime(SacHeader header)
public static CacheEvent getEvent(SacTimeSeries sac)
public static CacheEvent getEvent(SacHeader header)