Class Outputs

java.lang.Object
edu.sc.seis.TauP.Outputs

public class Outputs extends Object
Outputs.java contains formating, similar to printf, routines for the output types in the TauP package. Created: Tue Sep 21 11:45:35 1999
  • Field Details

    • locale

      public static Locale locale
    • depthFormat

      public static String depthFormat
    • depthFormatNoPad

      public static String depthFormatNoPad
    • distanceFormat

      public static String distanceFormat
    • timeFormat

      public static String timeFormat
    • distanceFormatNoPad

      public static String distanceFormatNoPad
    • velocityFormat

      public static String velocityFormat
    • timeFormatNoPad

      public static String timeFormatNoPad
    • rayParamFormat

      public static String rayParamFormat
    • dpddegFormat

      public static String dpddegFormat
    • latLonFormat

      public static String latLonFormat
    • ampFactorFormat

      public static String ampFactorFormat
  • Constructor Details

    • Outputs

      public Outputs()
  • Method Details

    • configure

      public static void configure(Properties props)
    • formatStringForAxisType

      public static String formatStringForAxisType(String axisType)
      Gets appropriate format spec for a given data type. Usually one of ModelAxisType or AxisType.
      Parameters:
      axisType - data type
      Returns:
      output format like %3.2f for use in formatting floats
    • formatStringForAxisType

      public static String formatStringForAxisType(ModelAxisType axisType)
    • formatStringForAxisType

      public static String formatStringForAxisType(AxisType axisType)
    • formatStringForAxisType

      public static String formatStringForAxisType(ReflTransAxisType axisType)
    • formatDepth

      public static String formatDepth(double depth)
    • formatDepthNoPad

      public static String formatDepthNoPad(double depth)
    • formatVelocity

      public static String formatVelocity(double velocity)
    • formatDistance

      public static String formatDistance(double distance)
    • formatKilometer

      public static String formatKilometer(double kilometers)
    • formatTime

      public static String formatTime(double time)
    • formatDistanceNoPad

      public static String formatDistanceNoPad(double distance)
    • formatTimeNoPad

      public static String formatTimeNoPad(double time)
    • formatRayParam

      public static String formatRayParam(double rayParam)
    • formatDpDdeg

      public static String formatDpDdeg(double dpddeg)
    • formatLatLon

      public static String formatLatLon(double latlon)
    • formatAmpFactor

      public static String formatAmpFactor(double ampFactor)