Class Forecasts

java.lang.Object
edu.wisc.ssec.mcidasv.adt.Forecasts

public class Forecasts extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static double[]
     
    private static double[]
     
    private static double[]
     
    private static final org.slf4j.Logger
     
    private static String[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static double
    adt_polint(double[] TimeArrayInput, double[] PositionArrayInput, int NumberOfPointsInput, double CurrentTime)
    Polynomial interpolation scheme program derived from FORTRAN program POLINT in : Numerical Recipies - The Art of Scientific Computing, 1986, Press, Flannery, Teukolsky, and Vetterling, Cambridge Press
    static double[]
    ReadForecasts(String ForecastFileName, int ForecastFileType, double ThresholdTime)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • ReadForecasts

      public static double[] ReadForecasts(String ForecastFileName, int ForecastFileType, double ThresholdTime) throws IOException
      Throws:
      IOException
    • adt_polint

      private static double adt_polint(double[] TimeArrayInput, double[] PositionArrayInput, int NumberOfPointsInput, double CurrentTime)
      Polynomial interpolation scheme program derived from FORTRAN program POLINT in : Numerical Recipies - The Art of Scientific Computing, 1986, Press, Flannery, Teukolsky, and Vetterling, Cambridge Press
      Parameters:
      TimeArrayInput - Array containing time values.
      PositionArrayInput - Array containing variable to interpolate.
      NumberOfPointsInput - Number of points in array.
      CurrentTime - Time to interpolate to.
      Returns:
      Interpolated position value. Note: if value is -999.5, it means that the denominator is 0, signifying that there was an interpolation error.