Package hec.hecmath
Class PairedDataMathVertDatum
java.lang.Object
hec.hecmath.HecMath
hec.hecmath.PairedDataMath
hec.hecmath.PairedDataMathVertDatum
- All Implemented Interfaces:
IRating,IVerticalDatumOperations<PairedDataMath,,HecMathException> Constants,mil.army.usace.hec.metadata.VerticalDatum
public class PairedDataMathVertDatum
extends PairedDataMath
implements mil.army.usace.hec.metadata.VerticalDatum
-
Field Summary
Fields inherited from class hec.hecmath.PairedDataMath
_curveNumberFields inherited from class hec.hecmath.HecMath
_dc, _dssPath, ABS, ADD, COS, DIVIDE, EXPONENTIATION, INVERSE, LOG, LOG10, MULTIPLY, ROUND, SIN, SQRT, SUBTRACT, TAN, TRUNCATEFields inherited from interface hec.script.Constants
FALSE, ITS_DELETE_INSERT, ITS_MERGE, RTS_REPLACE_ALL, RTS_REPLACE_ALL_CREATE, RTS_REPLACE_ALL_DELETE, RTS_REPLACE_MISSING_VALUES_ONLY, RTS_REPLACE_WITH_NON_MISSING, TRUE, UNDEFINED, UNDEFINED_DOUBLE, UNDEFINED_FLOAT, UNDEFINED_INT, UNDEFINED_LONG, UNDEFINED_TIME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Create a duplicate copy of the paired data set.booleanforceVerticalDatum(String datum) doubledoublegetCurrentOffset(String unit) getData()Copy the current PairedDataContainer data in the PairedDataMath object intocontainer.voidgetData(DataContainer container) Copy the current PairedDataContainer data in the PairedDataMath object intocontainer.doubledoublegetNAVD88Offset(String unit) doubledoublegetNGVD29Offset(String unit) mil.army.usace.hec.metadata.VerticalDatumContainerReturns the Vertical Datum Container form the Data ContainerbooleanbooleanbooleanvoidsetData(DataContainer container) Set the PairedDataContainer data for the current PairedDataMath object.voidsetVerticalDatumContainer(mil.army.usace.hec.metadata.VerticalDatumContainer vdc) Sets the Vertical Datum ContainervoidsetVerticalDatumInfo(String xmlStr) booleanbooleantoNAVD88()booleantoNGVD29()booleantoVerticalDatum(String datum) Methods inherited from class hec.hecmath.PairedDataMath
abs, add, add, applyMultipleLinearRegression, canDetermineUnitSystem, checkPairedData, checkPairedDataCurve, collapseVerticalDatum, conicInterpolation, convertToEnglishUnits, convertToMetricUnits, correlationCoefficients, cos, divide, divide, expandVerticalDatum, exponentiation, generateDataPairs, getCreateDates, getDataUnits, getDefaultValueTime, getEffectiveDates, getIndParamCount, getName, getRatingExtents, getRatingExtents, getRatingParameters, getRatingTime, getRatingUnits, getSelectedCurve, getStandardUnits, getUnits, interpolate, inverse, isEnglish, isMetric, isValid, log, log10, makeTscs, mergePairedDataSets, modifiedPulsRouting, multiply, multiply, pairedDataOps, polynomialTransformation, polynomialTransformationWithIntegral, rate, rate, rate, rate, rate, rate, rate, rate, rate, rate, rate, rate, rateOne, rateOne, rateOne2, rateOne2, ratingTableInterpolation, replaceSpecificValues, replaceValuesInRange, resetDefaultValuetime, resetRatingTime, reverseRate, reverseRate, reverseRate, reverseRate, reverseRate, reverseRate, reverseRate, reverseRatingTableInterpolation, round, roundOff, screenWithMaxMin, setCurve, setCurve, setDataUnits, setDefaultValueTime, setName, setRatingTime, setUnits, sin, sqrt, subtract, subtract, tan, transformWithFunction, translateXY, truncate, twoVariableRatingTableInterpolationMethods inherited from class hec.hecmath.HecMath
accumulation, applyMultipleLinearRegression, bisearch, bisearch, centeredMovingAverage, checkContainer, convertToIrregular, createInstance, createInstance, cyclicAnalysis, decayingBasinWetnessParameter, durationAnalysis, durationAnalysis, durationAnalysis, durationAnalysis, estimateForMissingPrecipValues, estimateForMissingValues, extractTimeSeriesDataForTimeSpecification, flowAccumulatorGageProcessor, forwardMovingAverage, generateDataPairs, generatePairedData, generateRegularIntervalTimeSeries, generateRegularIntervalTimeSeries, generateRegularIntervalTimeSeries, getFunctionName, getPath, hunt, interpolateDataAtRegularInterval, isMissing, isValid, kurtosisCoefficient, lastValidDate, lastValidValue, max, maxDate, mean, med, mergeTimeSeries, min, minDate, mode, modifiedPulsRouting, multipleLinearRegression, multipleRegression, muskingumRouting, numberMissingValues, numberValidValues, olympicSmoothing, p1, p10, p2, p20, p25, p5, p75, p80, p90, p95, p98, p99, periodConstants, polynomialTransformation, polynomialTransformationWithIntegral, ratingTableInterpolation, reverseRatingTableInterpolation, roundOffValue, screenWithForwardMovingAverage, screenWithMaxMin, setDPart, setEPart, setLocation, setParameterPart, setPathname, setTimeInterval, setVersion, setWatershed, shiftAdjustment, shiftInTime, skewCoefficient, snapToRegularInterval, standardDeviation, standardNormalDeviate, straddleStaggerRouting, successiveDifferences, sum, timeDerivative, transformTimeSeries, transformTimeSeries, transformTimeSeries, transformTimeSeries, twoVariableRatingTableInterpolation
-
Constructor Details
-
PairedDataMathVertDatum
public PairedDataMathVertDatum() -
PairedDataMathVertDatum
- Throws:
HecMathException
-
-
Method Details
-
setData
Description copied from class:PairedDataMathSet the PairedDataContainer data for the current PairedDataMath object. The current PairedDataMath will use a copy ofcontainer.- Overrides:
setDatain classPairedDataMath- Parameters:
container- the PairedDataContainer data to be used by this PairedDataMath object.- Throws:
HecMathException- ifcontaineris null or not of type PairedDataContainer.
-
getData
Description copied from class:PairedDataMathCopy the current PairedDataContainer data in the PairedDataMath object intocontainer.- Overrides:
getDatain classPairedDataMath- Parameters:
container- the PairedDataContainer to receive the copy of paired data from this PairedDataMath object.- Throws:
HecMathException
-
getData
Description copied from class:PairedDataMathCopy the current PairedDataContainer data in the PairedDataMath object intocontainer.- Overrides:
getDatain classPairedDataMath- Returns:
- a copy of the PairedDataContainer held in the current PairedDataMath object.
- Throws:
HecMathException
-
copy
Description copied from class:PairedDataMathCreate a duplicate copy of the paired data set.- Overrides:
copyin classPairedDataMath- Returns:
- a duplicate copy of the paired data set
- Throws:
HecMathException
-
getNativeVerticalDatum
- Specified by:
getNativeVerticalDatumin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getCurrentVerticalDatum
- Specified by:
getCurrentVerticalDatumin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
isCurrentVerticalDatumEstimated
public boolean isCurrentVerticalDatumEstimated() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
isCurrentVerticalDatumEstimatedin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
toNativeVerticalDatum
public boolean toNativeVerticalDatum() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
toNativeVerticalDatumin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
toNGVD29
public boolean toNGVD29() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
toNGVD29in interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
toNAVD88
public boolean toNAVD88() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
toNAVD88in interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
toVerticalDatum
public boolean toVerticalDatum(String datum) throws mil.army.usace.hec.metadata.VerticalDatumException - Specified by:
toVerticalDatumin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
forceVerticalDatum
public boolean forceVerticalDatum(String datum) throws mil.army.usace.hec.metadata.VerticalDatumException - Specified by:
forceVerticalDatumin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getCurrentOffset
public double getCurrentOffset() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
getCurrentOffsetin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getCurrentOffset
public double getCurrentOffset(String unit) throws mil.army.usace.hec.metadata.VerticalDatumException - Specified by:
getCurrentOffsetin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getNGVD29Offset
public double getNGVD29Offset() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
getNGVD29Offsetin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getNGVD29Offset
public double getNGVD29Offset(String unit) throws mil.army.usace.hec.metadata.VerticalDatumException - Specified by:
getNGVD29Offsetin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getNAVD88Offset
public double getNAVD88Offset() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
getNAVD88Offsetin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getNAVD88Offset
public double getNAVD88Offset(String unit) throws mil.army.usace.hec.metadata.VerticalDatumException - Specified by:
getNAVD88Offsetin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
isNGVD29OffsetEstimated
public boolean isNGVD29OffsetEstimated() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
isNGVD29OffsetEstimatedin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
isNAVD88OffsetEstimated
public boolean isNAVD88OffsetEstimated() throws mil.army.usace.hec.metadata.VerticalDatumException- Specified by:
isNAVD88OffsetEstimatedin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getVerticalDatumInfo
- Specified by:
getVerticalDatumInfoin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
setVerticalDatumInfo
public void setVerticalDatumInfo(String xmlStr) throws mil.army.usace.hec.metadata.VerticalDatumException - Specified by:
setVerticalDatumInfoin interfacemil.army.usace.hec.metadata.VerticalDatum- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-
getVerticalDatumContainer
public mil.army.usace.hec.metadata.VerticalDatumContainer getVerticalDatumContainer()Returns the Vertical Datum Container form the Data Container- Specified by:
getVerticalDatumContainerin interfacemil.army.usace.hec.metadata.VerticalDatum- Returns:
-
setVerticalDatumContainer
public void setVerticalDatumContainer(mil.army.usace.hec.metadata.VerticalDatumContainer vdc) throws mil.army.usace.hec.metadata.VerticalDatumException Sets the Vertical Datum Container- Throws:
mil.army.usace.hec.metadata.VerticalDatumException
-