public class Functions
extends java.lang.Object
Constructor and Description |
---|
Functions() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
adt_atcffilename(java.lang.String StormNameInput,
java.lang.String StormSiteIDInput)
Derived ATCF file name using various input parameters.
|
static double |
adt_getpwval(int PressureWindIDValue,
double CIValue,
double LatitudeInput,
double LongitudeInput)
Obtain pressure or wind value (for Atlantic or West Pacific storms) given
the intensity estimate value.
|
static java.lang.String |
adt_julian2cmonth(int JulianDateInputValue)
Convert julian date to YYYYMMMDD format for output.
|
static int[] |
adt_oceanbasin(double LatitudeInput,
double LongitudeInput)
Determine ocean basin given latitude and longitude position of storm.
|
static java.lang.String |
adt_sattypes(int SatelliteIDInput)
Obtain satellite name given ID number.
|
static double |
adt_slopecal(double SearchTimeInterval,
int SlopeInterceptFlag)
Calculate slope or y-intercept of all points over SearchTimeInterval
period Inputs : SearchTimeInterval - time period to calculate slope or
y-intercept SlopeInterceptFlag - flag value indicating slope or
y-intercept calculation and parameter to utilize 1 = Final T# (will
return slope) 2 = Adjusted Raw T# (will return slope) 3 = latitude (will
return y-intercept) 4 = longitude (will return y-intercept)
HistoryCurrentPointer_Global contains current analysis information
|
static double |
adt_XLZA(double rlat,
double rlon,
double plat,
double plon)
Approximate local zenith angle (angle from vertical to the satellite).
|
static int[] |
adt_yddmy(int JulianDateInput)
Convert yyyyddd to dd/mm/yy format.
|
static double |
calctime(int InputJulianDate,
int InputHMSTime)
Compute time in ADT xxxxx.yyy units, where xxxxx is the day and yyy is
the percentage of the day.
|
static int |
cmonth2julian(java.lang.String InputDateCharString)
Convert YYYYMMMDD format character string value to julian date Integer.
|
static double[] |
distance_angle(double EndLatitudeInput,
double EndLongitudeInput,
double StartLatitudeInput,
double StartLongitudeInput,
int UnitFlagID) |
static double[] |
distance_angle2(double StartLatitudeInput,
double StartLongitudeInput,
double DistanceInput,
double AngleInput)
Calculate a latitude and longitude position from an initial
latitude/longitude and distance/angle values.
|
static int |
idmyyd(int InputDay,
int InputMonth,
int InputYear)
Convert dd/mm/yy to yyyyddd format.
|
public static double calctime(int InputJulianDate, int InputHMSTime)
InputJulianDate
- Julian date.InputHMSTime
- Time in HHMMSS format.public static int cmonth2julian(java.lang.String InputDateCharString)
InputDateCharString
- Character representation of date in YYYYmonDD format where DD
and YYYY are integers and mon is a three character
abbreviation for the month (e.g. 2000MAR13).0
if there was a problem.public static int idmyyd(int InputDay, int InputMonth, int InputYear)
InputDay
- Day.InputMonth
- Month (integer).InputYear
- Year (YY or YYYY).public static int[] adt_yddmy(int JulianDateInput)
JulianDateInput
- Julian day (yyyyddd).public static java.lang.String adt_julian2cmonth(int JulianDateInputValue)
JulianDateInputValue
- Julian date representation of date.public static double[] distance_angle(double EndLatitudeInput, double EndLongitudeInput, double StartLatitudeInput, double StartLongitudeInput, int UnitFlagID)
public static double[] distance_angle2(double StartLatitudeInput, double StartLongitudeInput, double DistanceInput, double AngleInput)
StartLatitudeInput
- Initial latitude.StartLongitudeInput
- Initial longitude.DistanceInput
- Distance from initial position.AngleInput
- Angle from initial position.
Outputs : EndLatitude_Return - derived latitude
EndLongitude_Return - derived longitudepublic static int[] adt_oceanbasin(double LatitudeInput, double LongitudeInput)
LatitudeInput
- Latitude.LongitudeInput
- Longitude.public static double adt_slopecal(double SearchTimeInterval, int SlopeInterceptFlag)
public static double adt_getpwval(int PressureWindIDValue, double CIValue, double LatitudeInput, double LongitudeInput)
PressureWindIDValue
- Flag for wind (1) or pressure (0) output.CIValue
- Current Intensity (CI) valueLatitudeInput
- Latitude value of analysisLongitudeInput
- Longitude value of analysispublic static java.lang.String adt_sattypes(int SatelliteIDInput)
SatelliteIDInput
- Internal ADT satellite ID number.public static java.lang.String adt_atcffilename(java.lang.String StormNameInput, java.lang.String StormSiteIDInput)
public static double adt_XLZA(double rlat, double rlon, double plat, double plon)
rlat
- Latitude of target position on earth.rlon
- Longitude of target position on earth.plat
- Latitude of sub-satellite point.plon
- Longitude of sub-satellite point.