Class FDSNSourceId

java.lang.Object
edu.sc.seis.seisFile.mseed3.FDSNSourceId

public class FDSNSourceId extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • parse

      public static FDSNSourceId parse(String sourceIdUrl) throws FDSNSourceIdException
      Throws:
      FDSNSourceIdException
    • fromNSLC

      public static FDSNSourceId fromNSLC(String networkCode, String stationCode, String locationCode, String channelCode)
    • getNetworkCode

      public String getNetworkCode()
    • getStationCode

      public String getStationCode()
    • getLocationCode

      public String getLocationCode()
    • getBandCode

      public String getBandCode()
    • getSourceCode

      public String getSourceCode()
    • getSubsourceCode

      public String getSubsourceCode()
    • getChannelCode

      public String getChannelCode()
      If band, source and subsource are all length 1, returns a 3-char channel code like BHZ. Otherwise, return separated by '_' like B_XY_Z.
      Returns:
      combination of band, source and subsource code
    • toString

      public String toString()
      Overrides:
      toString in class Object