public abstract class HecMath extends java.lang.Object implements Constants
HecMath class together with the TimeSeriesMath and
PairedDataMath subclasses provide the user with a method to manipulate
an entire time series or paired data set with simple function calls. For example, each
value in a time series may be scaled by the value 3.0 using:
ts is a TimeSeriesMath object
HecMath class provides the math functions in an abstract form. The
actual function operations are overriden and performed in the TimeSeriesMath and
PairedDataMath subclasses.
TimeSeriesMath and PairedDataMath essentially wrap around
the hec.io.TimeSeriesContainer (time series data) and
hec.io.PairedDataContainer (paired data) classes and have no data
of their own. The TimeSeriesMath class provides the user a way of
manipulating time series data. Similarly, PairedDataMath class provides
the user with functions to manipulate paired data.
The static method HecMath.createInstance( DataContainer dc ) can be used to create
the HecMath subclass appropriate to the data type. That is if dc is of
type TimeSeriesContainer, a TimeSeriesMath object
will be created containing the TimeSeriesContainer. Conversly,
if dc is of type PairedDataContainer,
a PairedDataMath object will be created.
The HecMath class provides several concrete methods which modify the
data in the DataContainer, and are thus common to both TimeSeriesContainer and
PairedDataContainer. These primarily concern the record path name and the
file name associated with the time series or paired data.
If errors in the processing and computation of the math functions occur,
such as the attempted operation on an empty data set or the use of invalid parameter values,
an HecMathException will be thrown by the function and must be
caught by the caller. Runtime errors ( java.lang.RuntimeException )
are caught in HecMath, TimeSeriesMath and PairedDataMath and
converted to an HecMathException.
HecMath,
PairedDataMath,
TimeSeriesMath,
HecMathException,
TimeSeriesContainerEXTRAPOLATE, FALSE, ITS_DELETE_INSERT, ITS_MERGE, LIN_INTERP, LIN_INTERP_TO_NONE, LOG_INTERP, NOT_ALLOWED, RTS_REPLACE_ALL, RTS_REPLACE_ALL_CREATE, RTS_REPLACE_ALL_DELETE, RTS_REPLACE_MISSING_VALUES_ONLY, RTS_REPLACE_WITH_NON_MISSING, STEP_NEAREST, STEP_NEXT, STEP_PREV, TRUE, UNDEFINED, UNDEFINED_DOUBLE, UNDEFINED_FLOAT, UNDEFINED_INT, UNDEFINED_LONG, UNDEFINED_TIME, USE_NEAREST, USE_NONE, USE_VALUE, USGS_INTERP| Constructor and Description |
|---|
HecMath() |
| Modifier and Type | Method and Description |
|---|---|
HecMath |
abs() |
HecMath |
accumulation() |
HecMath |
add(double constant) |
HecMath |
add(HecMath math) |
HecMath |
applyMultipleLinearRegression(java.lang.String startTimeString,
java.lang.String endTimeString,
HecMath[] tsMathArray,
double minimumLimit,
double maximumLimit) |
abstract boolean |
canDetermineUnitSystem() |
HecMath |
centeredMovingAverage(int numberToAverageOver,
boolean onlyValidValues,
boolean useReduced) |
static boolean |
checkContainer(DataContainer dc)
Check if
dc is null. |
HecMath |
conicInterpolation(HecMath tsMath,
java.lang.String inputType,
java.lang.String outputType,
double storageScaleFactor) |
abstract HecMath |
convertToEnglishUnits() |
HecMath |
convertToIrregular(java.lang.String timeIntervalString) |
abstract HecMath |
convertToMetricUnits() |
abstract HecMath |
copy() |
LinearRegressionStatistics |
correlationCoefficients(HecMath tsMath) |
HecMath |
cos() |
static HecMath |
createInstance(DataContainer dc)
Static method to create an instance of
TimeSeriesMath
or PairedDataMath depending upon the type of
DataContainer. |
static HecMath |
createInstance(TSRecord tsRecord)
Static method to create an instance of
TimeSeriesMath from the
hec.model.TSRecord |
HecMath[] |
cyclicAnalysis() |
HecMath |
decayingBasinWetnessParameter(HecMath math,
double decayRate) |
HecMath |
divide(double constant) |
HecMath |
divide(HecMath math) |
HecMath[] |
durationAnalysis(DurationPeriod[] durationPeriods) |
HecMath[] |
durationAnalysis(DurationPeriod[] durationPeriods,
java.lang.String plotScaleType,
java.lang.String plottingPointsType,
int numberOfIntervals) |
HecMath[] |
durationAnalysis(java.lang.String durationPeriodType) |
HecMath[] |
durationAnalysis(java.lang.String durationPeriodType,
java.lang.String plotScaleType,
java.lang.String plottingPointsType,
int numberOfIntervals) |
HecMath |
estimateForMissingPrecipValues(int maxMissingAllowed) |
HecMath |
estimateForMissingValues(int maxMissingAllowed) |
HecMath |
exponentiation(double constant) |
HecMath |
extractTimeSeriesDataForTimeSpecification(java.lang.String timeLevelString,
java.lang.String rangeString,
boolean isInclusive,
int intervalWindow,
boolean setAsIrregular) |
HecMath |
flowAccumulatorGageProcessor(HecMath math) |
HecMath |
forwardMovingAverage(int numberToAverageOver) |
HecMath |
generateDataPairs(HecMath math,
boolean sort) |
HecMath |
generateDataPairs(HecMath math,
double buffer) |
static HecMath |
generateRegularIntervalTimeSeries(java.lang.String startTimeString,
java.lang.String endTimeString,
int timeIntervalMinutes,
int timeOffsetMinutes,
double initialValue) |
static HecMath |
generateRegularIntervalTimeSeries(java.lang.String startTimeString,
java.lang.String endTimeString,
java.lang.String timeIntervalString,
double initialValue) |
static HecMath |
generateRegularIntervalTimeSeries(java.lang.String startTimeString,
java.lang.String endTimeString,
java.lang.String timeIntervalString,
java.lang.String timeOffsetString,
double initialValue) |
abstract DataContainer |
getData()
Copy the current DataContainer data in the HecMath object
into
container. |
abstract void |
getData(DataContainer container)
Copy the current DataContainer data in the HecMath object
into
container. |
java.lang.String |
getPath()
returns the DSS Path that this HecMath's DataContainer represents
|
int |
getSelectedCurve() |
java.lang.String |
getStandardUnits() |
java.lang.String |
getUnits() |
HecMath |
interpolateDataAtRegularInterval(java.lang.String timeIntervalString,
java.lang.String timeOffsetString) |
HecMath |
inverse() |
abstract boolean |
isEnglish() |
abstract boolean |
isMetric() |
static boolean |
isMissing(double value)
Check if
value is set to the missing value
(HecMath.UNDEFINED). |
static boolean |
isValid(byte[] bytes) |
boolean |
isValid(int index) |
double |
kurtosisCoefficient() |
int |
lastValidDate() |
double |
lastValidValue() |
HecMath |
log() |
HecMath |
log10() |
double |
max() |
int |
maxDate() |
double |
mean() |
double |
med() |
HecMath |
mergePairedDataSets(HecMath math) |
HecMath |
mergeTimeSeries(HecMath math) |
double |
min() |
int |
minDate() |
double |
mode() |
HecMath |
modifiedPulsRouting(HecMath math,
int numberSubreaches,
double muskingumX) |
HecMath |
multipleLinearRegression(HecMath[] tsMathArray,
double minimumLimit,
double maximumLimit) |
HecMath |
multipleRegression(HecMath[] tsMathArray,
double minimumLimit,
double maximumLimit) |
HecMath |
multiply(double constant) |
HecMath |
multiply(HecMath math) |
HecMath |
muskingumRouting(int numberSubreaches,
double muskingumK,
double muskingumX) |
int |
numberMissingValues() |
int |
numberValidValues() |
HecMath |
olympicSmoothing(int numberToAverageOver,
boolean onlyValidValues,
boolean useReduced) |
double |
p1() |
double |
p10() |
double |
p2() |
double |
p20() |
double |
p25() |
double |
p5() |
double |
p75() |
double |
p80() |
double |
p90() |
double |
p95() |
double |
p98() |
double |
p99() |
HecMath |
periodConstants(HecMath math) |
HecMath |
polynomialTransformation(HecMath tsMath) |
HecMath |
polynomialTransformationWithIntegral(HecMath tsMath) |
HecMath |
ratingTableInterpolation(HecMath tsMath) |
HecMath |
replaceSpecificValues(HecDouble from,
HecDouble to) |
HecMath |
replaceValuesInRange(HecDouble min,
HecDouble max,
HecDouble to) |
HecMath |
reverseRatingTableInterpolation(HecMath tsMath) |
HecMath |
round() |
HecMath |
roundOff(int digitsPrecision,
int powerOfTensPlace) |
static double |
roundOffValue(double dvalue,
int desiredPrecision,
int powerOfTensPlace)
round off an individual value
|
HecMath |
screenWithForwardMovingAverage(int numberToAverageOver,
double changeLimit,
boolean setInvalidToMissingValue,
java.lang.String qualityFlagForInvalidValue) |
HecMath |
screenWithMaxMin(double minValueLimit,
double maxValueLimit,
double changeLimit,
boolean setInvalidToreplacementValue,
double replacementValue,
java.lang.String qualityFlagForInvalidValue) |
HecMath |
screenWithMaxMin(double minValueLimit,
double maxValueLimit,
double changeLimit,
boolean setInvalidToMissingValue,
java.lang.String qualityFlagForInvalidValue) |
void |
setCurve(int curveNumber) |
void |
setCurve(java.lang.String curveName) |
abstract void |
setData(DataContainer container)
Set the DataContainer data for the current HecMath object.
|
void |
setDPart(java.lang.String dPart)
set the D part of the DSS Pathname
|
void |
setEPart(java.lang.String ePart)
set the E part of the DSS Pathname
|
void |
setLocation(java.lang.String location)
set the Location part (B Part) of the DSS Pathname
|
void |
setParameterPart(java.lang.String paramString)
set the parameter type (C Part) of the DSS Pathname
|
void |
setPathname(java.lang.String pathname)
set the pathname for this HecMath object
|
void |
setTimeInterval(java.lang.String timeInterval)
set the Time Interval part (E Part) of the DSS Pathname.
|
abstract void |
setUnits(java.lang.String unitsString) |
void |
setVersion(java.lang.String version)
set the Version part (F Part) of the DSS Pathname
|
void |
setWatershed(java.lang.String watershed)
set the watershed part (A Part) of the DSS Pathname
|
HecMath |
shiftAdjustment(HecMath math) |
HecMath |
shiftInTime(java.lang.String timeShiftString) |
HecMath |
sin() |
double |
skewCoefficient() |
HecMath |
snapToRegularInterval(java.lang.String timeIntervalString,
java.lang.String timeOffsetString,
java.lang.String timeBackwardString,
java.lang.String timeForwardString) |
HecMath |
sqrt() |
double |
standardDeviation() |
HecMath |
standardNormalDeviate() |
HecMath |
straddleStaggerRouting(int numberToAverage,
int numberToLag,
int numberSubreaches) |
HecMath |
subtract(double constant) |
HecMath |
subtract(HecMath math) |
HecMath |
successiveDifferences() |
double |
sum() |
HecMath |
tan() |
HecMath |
timeDerivative() |
HecMath |
transformTimeSeries(HecMath math,
java.lang.String functionTypeString) |
HecMath |
transformTimeSeries(HecMath math,
java.lang.String functionTypeString,
boolean toIrregular) |
HecMath |
transformTimeSeries(java.lang.String timeIntervalString,
java.lang.String timeOffsetString,
java.lang.String functionTypeString) |
HecMath |
transformTimeSeries(java.lang.String timeIntervalString,
java.lang.String timeOffsetString,
java.lang.String functionTypeString,
boolean toIrregular) |
HecMath |
transformWithFunction(hec.hecmath.computation.ScalarOperable transformer) |
HecMath |
truncate() |
HecMath |
twoVariableRatingTableInterpolation(HecMath tsMathX,
HecMath tsMathZ) |
public HecMath abs() throws HecMathException
HecMathExceptionpublic HecMath accumulation() throws HecMathException
HecMathExceptionpublic HecMath add(double constant) throws HecMathException
HecMathExceptionpublic HecMath add(HecMath math) throws HecMathException
HecMathExceptionpublic HecMath applyMultipleLinearRegression(java.lang.String startTimeString, java.lang.String endTimeString, HecMath[] tsMathArray, double minimumLimit, double maximumLimit) throws HecMathException
HecMathExceptionpublic HecMath centeredMovingAverage(int numberToAverageOver, boolean onlyValidValues, boolean useReduced) throws HecMathException
HecMathExceptionpublic HecMath conicInterpolation(HecMath tsMath, java.lang.String inputType, java.lang.String outputType, double storageScaleFactor) throws HecMathException
HecMathExceptionpublic LinearRegressionStatistics correlationCoefficients(HecMath tsMath) throws HecMathException
HecMathExceptionpublic HecMath cos() throws HecMathException
HecMathExceptionpublic HecMath[] cyclicAnalysis() throws HecMathException
HecMathExceptionpublic HecMath decayingBasinWetnessParameter(HecMath math, double decayRate) throws HecMathException
HecMathExceptionpublic HecMath divide(double constant) throws HecMathException
HecMathExceptionpublic HecMath divide(HecMath math) throws HecMathException
HecMathExceptionpublic HecMath[] durationAnalysis(java.lang.String durationPeriodType) throws HecMathException
HecMathExceptionpublic HecMath[] durationAnalysis(java.lang.String durationPeriodType, java.lang.String plotScaleType, java.lang.String plottingPointsType, int numberOfIntervals) throws HecMathException
HecMathExceptionpublic HecMath[] durationAnalysis(DurationPeriod[] durationPeriods) throws HecMathException
HecMathExceptionpublic HecMath[] durationAnalysis(DurationPeriod[] durationPeriods, java.lang.String plotScaleType, java.lang.String plottingPointsType, int numberOfIntervals) throws HecMathException
HecMathExceptionpublic HecMath estimateForMissingPrecipValues(int maxMissingAllowed) throws HecMathException
HecMathExceptionpublic HecMath estimateForMissingValues(int maxMissingAllowed) throws HecMathException
HecMathExceptionpublic HecMath replaceSpecificValues(HecDouble from, HecDouble to) throws HecMathException
HecMathExceptionpublic HecMath replaceValuesInRange(HecDouble min, HecDouble max, HecDouble to) throws HecMathException
HecMathExceptionpublic HecMath exponentiation(double constant) throws HecMathException
HecMathExceptionpublic HecMath extractTimeSeriesDataForTimeSpecification(java.lang.String timeLevelString, java.lang.String rangeString, boolean isInclusive, int intervalWindow, boolean setAsIrregular) throws HecMathException
HecMathExceptionpublic HecMath flowAccumulatorGageProcessor(HecMath math) throws HecMathException
HecMathExceptionpublic HecMath forwardMovingAverage(int numberToAverageOver) throws HecMathException
HecMathExceptionpublic HecMath generateDataPairs(HecMath math, boolean sort) throws HecMathException
HecMathExceptionpublic HecMath generateDataPairs(HecMath math, double buffer) throws HecMathException
HecMathExceptionpublic java.lang.String getStandardUnits()
public java.lang.String getUnits()
public HecMath interpolateDataAtRegularInterval(java.lang.String timeIntervalString, java.lang.String timeOffsetString) throws HecMathException
HecMathExceptionpublic HecMath inverse() throws HecMathException
HecMathExceptionpublic boolean isValid(int index)
public int lastValidDate()
throws HecMathException
HecMathExceptionpublic double lastValidValue()
throws HecMathException
HecMathExceptionpublic HecMath log() throws HecMathException
HecMathExceptionpublic HecMath transformWithFunction(hec.hecmath.computation.ScalarOperable transformer) throws HecMathException
HecMathExceptionpublic HecMath log10() throws HecMathException
HecMathExceptionpublic double max()
throws HecMathException
HecMathExceptionpublic int maxDate()
throws HecMathException
HecMathExceptionpublic double mean()
throws HecMathException
HecMathExceptionpublic HecMath mergePairedDataSets(HecMath math) throws HecMathException
HecMathExceptionpublic HecMath mergeTimeSeries(HecMath math) throws HecMathException
HecMathExceptionpublic double min()
throws HecMathException
HecMathExceptionpublic int minDate()
throws HecMathException
HecMathExceptionpublic HecMath modifiedPulsRouting(HecMath math, int numberSubreaches, double muskingumX) throws HecMathException
HecMathExceptionpublic HecMath multipleLinearRegression(HecMath[] tsMathArray, double minimumLimit, double maximumLimit) throws HecMathException
HecMathExceptionpublic HecMath multipleRegression(HecMath[] tsMathArray, double minimumLimit, double maximumLimit) throws HecMathException
HecMathExceptionpublic HecMath multiply(double constant) throws HecMathException
HecMathExceptionpublic HecMath multiply(HecMath math) throws HecMathException
HecMathExceptionpublic HecMath muskingumRouting(int numberSubreaches, double muskingumK, double muskingumX) throws HecMathException
HecMathExceptionpublic int numberMissingValues()
throws HecMathException
HecMathExceptionpublic int numberValidValues()
throws HecMathException
HecMathExceptionpublic HecMath olympicSmoothing(int numberToAverageOver, boolean onlyValidValues, boolean useReduced) throws HecMathException
HecMathExceptionpublic HecMath periodConstants(HecMath math) throws HecMathException
HecMathExceptionpublic HecMath polynomialTransformation(HecMath tsMath) throws HecMathException
HecMathExceptionpublic HecMath polynomialTransformationWithIntegral(HecMath tsMath) throws HecMathException
HecMathExceptionpublic HecMath ratingTableInterpolation(HecMath tsMath) throws HecMathException
HecMathExceptionpublic HecMath reverseRatingTableInterpolation(HecMath tsMath) throws HecMathException
HecMathExceptionpublic HecMath round() throws HecMathException
HecMathExceptionpublic HecMath roundOff(int digitsPrecision, int powerOfTensPlace) throws HecMathException
HecMathExceptionpublic HecMath screenWithForwardMovingAverage(int numberToAverageOver, double changeLimit, boolean setInvalidToMissingValue, java.lang.String qualityFlagForInvalidValue) throws HecMathException
HecMathExceptionpublic HecMath screenWithMaxMin(double minValueLimit, double maxValueLimit, double changeLimit, boolean setInvalidToMissingValue, java.lang.String qualityFlagForInvalidValue) throws HecMathException
HecMathExceptionpublic HecMath screenWithMaxMin(double minValueLimit, double maxValueLimit, double changeLimit, boolean setInvalidToreplacementValue, double replacementValue, java.lang.String qualityFlagForInvalidValue) throws HecMathException
HecMathExceptionpublic void setCurve(int curveNumber)
throws HecMathException
HecMathExceptionpublic void setCurve(java.lang.String curveName)
throws HecMathException
HecMathExceptionpublic HecMath shiftAdjustment(HecMath math) throws HecMathException
HecMathExceptionpublic HecMath shiftInTime(java.lang.String timeShiftString) throws HecMathException
HecMathExceptionpublic HecMath sin() throws HecMathException
HecMathExceptionpublic double skewCoefficient()
throws HecMathException
HecMathExceptionpublic double kurtosisCoefficient()
throws HecMathException
HecMathExceptionpublic double mode()
throws HecMathException
HecMathExceptionpublic double med()
throws HecMathException
HecMathExceptionpublic double p1()
throws HecMathException
HecMathExceptionpublic double p2()
throws HecMathException
HecMathExceptionpublic double p5()
throws HecMathException
HecMathExceptionpublic double p10()
throws HecMathException
HecMathExceptionpublic double p20()
throws HecMathException
HecMathExceptionpublic double p25()
throws HecMathException
HecMathExceptionpublic double p75()
throws HecMathException
HecMathExceptionpublic double p80()
throws HecMathException
HecMathExceptionpublic double p90()
throws HecMathException
HecMathExceptionpublic double p95()
throws HecMathException
HecMathExceptionpublic double p98()
throws HecMathException
HecMathExceptionpublic double p99()
throws HecMathException
HecMathExceptionpublic HecMath snapToRegularInterval(java.lang.String timeIntervalString, java.lang.String timeOffsetString, java.lang.String timeBackwardString, java.lang.String timeForwardString) throws HecMathException
HecMathExceptionpublic HecMath sqrt() throws HecMathException
HecMathExceptionpublic double standardDeviation()
throws HecMathException
HecMathExceptionpublic HecMath standardNormalDeviate() throws HecMathException
HecMathExceptionpublic HecMath straddleStaggerRouting(int numberToAverage, int numberToLag, int numberSubreaches) throws HecMathException
HecMathExceptionpublic HecMath subtract(double constant) throws HecMathException
HecMathExceptionpublic HecMath subtract(HecMath math) throws HecMathException
HecMathExceptionpublic HecMath successiveDifferences() throws HecMathException
HecMathExceptionpublic double sum()
throws HecMathException
HecMathExceptionpublic HecMath tan() throws HecMathException
HecMathExceptionpublic HecMath timeDerivative() throws HecMathException
HecMathExceptionpublic HecMath transformTimeSeries(HecMath math, java.lang.String functionTypeString) throws HecMathException
HecMathExceptionpublic HecMath transformTimeSeries(HecMath math, java.lang.String functionTypeString, boolean toIrregular) throws HecMathException
HecMathExceptionpublic HecMath transformTimeSeries(java.lang.String timeIntervalString, java.lang.String timeOffsetString, java.lang.String functionTypeString, boolean toIrregular) throws HecMathException
HecMathExceptionpublic HecMath truncate() throws HecMathException
HecMathExceptionpublic HecMath twoVariableRatingTableInterpolation(HecMath tsMathX, HecMath tsMathZ) throws HecMathException
HecMathExceptionpublic HecMath convertToIrregular(java.lang.String timeIntervalString) throws HecMathException
HecMathExceptionpublic HecMath transformTimeSeries(java.lang.String timeIntervalString, java.lang.String timeOffsetString, java.lang.String functionTypeString) throws HecMathException
HecMathExceptionpublic abstract void setData(DataContainer container) throws HecMathException
container.container - The DataContainer data to be used by this HecMath object.HecMathException - if container is null or not the
correct type of DataContainer.public abstract void getData(DataContainer container) throws HecMathException
container.container - The TimeSeriesContainer to receive the copy of data from
this time series.HecMathExceptionpublic abstract DataContainer getData() throws HecMathException
container.HecMathExceptionpublic int getSelectedCurve()
public abstract HecMath convertToEnglishUnits() throws HecMathException
HecMathExceptionpublic abstract HecMath convertToMetricUnits() throws HecMathException
HecMathExceptionpublic abstract boolean isMetric()
throws HecMathException
HecMathExceptionpublic abstract boolean isEnglish()
throws HecMathException
HecMathExceptionpublic abstract boolean canDetermineUnitSystem()
public static HecMath generateRegularIntervalTimeSeries(java.lang.String startTimeString, java.lang.String endTimeString, java.lang.String timeIntervalString, java.lang.String timeOffsetString, double initialValue) throws HecMathException
HecMathExceptionpublic static HecMath generateRegularIntervalTimeSeries(java.lang.String startTimeString, java.lang.String endTimeString, java.lang.String timeIntervalString, double initialValue) throws HecMathException
HecMathExceptionpublic static HecMath generateRegularIntervalTimeSeries(java.lang.String startTimeString, java.lang.String endTimeString, int timeIntervalMinutes, int timeOffsetMinutes, double initialValue) throws HecMathException
HecMathExceptionpublic abstract HecMath copy() throws HecMathException
HecMathExceptionpublic abstract void setUnits(java.lang.String unitsString)
public static HecMath createInstance(DataContainer dc) throws HecMathException
TimeSeriesMath
or PairedDataMath depending upon the type of
DataContainer. If DataContainer is an
hec.io.TimeSeriesContainer, a TimeSeriesMath object will be returned.
If DataContainer is an hec.io.PairedDataContainer
a PairedDataMath object will be returned.
TimeSeriesMath or PairedDataMath.HecMathException - if DataContainer is null or not
a TimeSeriesContainer or a PairedDataContainerpublic static HecMath createInstance(TSRecord tsRecord) throws HecMathException
TimeSeriesMath from the
hec.model.TSRecord
TimeSeriesMathHecMathException - if tsRecord is nullpublic static boolean isValid(byte[] bytes)
public static boolean checkContainer(DataContainer dc) throws HecMathException
dc is null.
dc is not null.HecMathException - if dc is null.public static boolean isMissing(double value)
value is set to the missing value
(HecMath.UNDEFINED).
double - valuevalue equals HecMath.UNDEFINED,
otherwise returns false.public void setPathname(java.lang.String pathname)
throws HecMathException
pathname - the new pathnameHecMathExceptionpublic void setWatershed(java.lang.String watershed)
throws HecMathException
watershed - the new watershed partHecMathExceptionpublic void setLocation(java.lang.String location)
throws HecMathException
location - the new location partHecMathExceptionpublic void setTimeInterval(java.lang.String timeInterval)
throws HecMathException
timeInterval - the new Time Interval partHecMathExceptionpublic void setDPart(java.lang.String dPart)
throws HecMathException
version - the new version partHecMathExceptionpublic void setEPart(java.lang.String ePart)
throws HecMathException
version - the new version partHecMathExceptionpublic void setVersion(java.lang.String version)
throws HecMathException
version - the new version partHecMathExceptionpublic void setParameterPart(java.lang.String paramString)
throws HecMathException
paramString - the new parameter typeHecMathExceptionpublic static double roundOffValue(double dvalue,
int desiredPrecision,
int powerOfTensPlace)
public java.lang.String getPath()