public class TimeSeriesMathVertDatum extends TimeSeriesMath implements hec.data.IVerticalDatum
ACCUMULATE, AVERAGE, COUNT_VALID, INST, INST_CUM, INST_VAL, INTEGRATE, INTERPOLATE, LEVEL_DAYMONTH_STRING, LEVEL_DAYWEEK_STRING, LEVEL_MONTH_STRING, LEVEL_TIME_STRING, LEVEL_YEAR_STRING, MAX, MIN, PER_AVER, PER_CUM, TYPE_UNDEFINED, VOLUMEEXTRAPOLATE, 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 |
|---|
TimeSeriesMathVertDatum() |
TimeSeriesMathVertDatum(TimeSeriesContainer tsc) |
| Modifier and Type | Method and Description |
|---|---|
HecMath |
copy()
Create a duplicate copy of the time series object.
|
boolean |
forceVerticalDatum(java.lang.String datum)
Sets the objects current vertical datum to the specified vertical datum without changing any elevations.
|
double |
getCurrentOffset()
Retrieves the offset added to the an elevation in the native vertical datum to generate an elevation in the current datum in the current unit
|
double |
getCurrentOffset(java.lang.String unit)
Retrieves the offset added to the an elevation in the native vertical datum to generate an elevation in the current datum
|
java.lang.String |
getCurrentVerticalDatum()
Retrieves the current vertical datum of the object's elevation(s)
|
DataContainer |
getData()
Copy the current TimeSeriesContainer data in the TimeSeriesMath object
into
container. |
void |
getData(DataContainer container)
Copy the current TimeSeriesContainer data in the TimeSeriesMath object
into
container. |
java.lang.String |
getNativeVerticalDatum()
Retrieves the native vertical datum of the object's elevation(s)
|
double |
getNAVD88Offset()
Retrieves the offset added to the an elevation in the native vertical datum to generate an elevation in NAVD88 in the current unit
|
double |
getNAVD88Offset(java.lang.String unit)
Retrieves the offset added to the an elevation in the native vertical datum to generate an elevation in NAVD88
|
double |
getNGVD29Offset()
Retrieves the offset added to the an elevation in the native vertical datum to generate an elevation in NGVD29 in the current unit
|
double |
getNGVD29Offset(java.lang.String unit)
Retrieves the offset added to the an elevation in the native vertical datum to generate an elevation in NGVD29
|
java.lang.String |
getVerticalDatumInfo()
Retrieves a text representation of the vertical datum information
|
boolean |
isCurrentVerticalDatumEstimated()
Retrieves whether the elevation(s) in the current vertical datum were generated by an estimated offset
|
boolean |
isNAVD88OffsetEstimated()
Retrieves whether the offset added to the an elevation in the native vertical datum to generate an elevation in NAVD88 is an estimate
|
boolean |
isNGVD29OffsetEstimated()
Retrieves whether the offset added to the an elevation in the native vertical datum to generate an elevation in NGVD29 is an estimate
|
void |
setData(DataContainer container)
Set the TimeSeriesContainer data for the current TimeSeriesMath object.
|
void |
setVerticalDatumInfo(java.lang.String xmlStr)
Initializes the object from a string initializer
|
boolean |
toNativeVerticalDatum()
Changes the object's elevation(s) (if necessary) to its native vertical datum
|
boolean |
toNAVD88()
Changes the object's elevation(s) (if necessary) to NAVD88
|
boolean |
toNGVD29()
Changes the object's elevation(s) (if necessary) to NGVD29
|
boolean |
toVerticalDatum(java.lang.String datum)
Changes the object's elevation(s) (if necessary) to the specified vertical datum
|
abs, accumulation, acos, add, add, asin, atan, canDetermineUnitSystem, ceil, centeredMovingAverage, checkTimeSeries, checkTimeSeriesMatch, checkTimeSeriesMath, computeSimpleFrequency, convertToEnglishUnits, convertToIrregular, convertToMetricUnits, correlationCoefficients, cos, cyclicAnalysis, cyclicAnalysis, decayingBasinWetnessParameter, divide, divide, durationAnalysisBin, durationAnalysisStandard, estimateForMissingPrecipValues, estimateForMissingValues, exp, exponentiation, exponentiation, extractTimeSeriesDataForTimeSpecification, firstValidDate, firstValidValue, floor, flowAccumulatorGageProcessor, fmod, fmod, forwardMovingAverage, forwardMovingAverage, generateDataPairs, generateRegularIntervalTimeSeries, generateRegularIntervalTimeSeries, generateRegularIntervalTimeSeries, getContainer, getSortedPeaks, getStandardUnits, getType, getUnits, gmean, hmean, integer_divide, integer_divide, integerDivide, integerDivide, interpolateDataAtRegularInterval, inverse, isEnglish, isMetric, isMuskingumRoutingStable, isValid, kurtosisCoefficient, lastValidDate, lastValidValue, log, log10, max, max, maxDate, mean, mean, med, med, mergeTimeSeries, min, min, minDate, mode, modulo, modulo, multipleRegression, multiply, multiply, muskingumRouting, neg, negative, numberInvalidValues, numberMissingValues, numberQuestionedValues, numberRejectedValues, numberValidValues, olympicSmoothing, p1, p1, p10, p10, p2, p2, p20, p20, p25, p25, p5, p5, p75, p75, p80, p80, p90, p90, p95, p95, p98, p98, p99, p99, periodConstants, product, replaceSpecificValues, rms, round, roundOff, screenWithConstantValue, screenWithDurationMagnitude, screenWithForwardMovingAverage, screenWithForwardMovingAverage, screenWithMaxMin, screenWithMaxMin, screenWithMaxMin, screenWithMaxMin, screenWithRateOfChange, setParameterPart, setType, setUnits, shiftAdjustment, shiftInTime, shiftInTime, shiftInTime, shiftInTime, sign, sin, skewCoefficient, snapToRegularInterval, sqrt, standardDeviation, standardDeviation, stddev, straddleStaggerRouting, subtract, subtract, successiveDifferences, sum, sum, tan, timeDerivative, transformTimeSeries, transformTimeSeries, transformTimeSeries, transformTimeSeries, transformTimeSeries, truncate, var, varianceapplyMultipleLinearRegression, checkContainer, conicInterpolation, createInstance, createInstance, durationAnalysis, durationAnalysis, durationAnalysis, durationAnalysis, getPath, getSelectedCurve, isMissing, isValid, mergePairedDataSets, modifiedPulsRouting, multipleLinearRegression, polynomialTransformation, polynomialTransformationWithIntegral, ratingTableInterpolation, reverseRatingTableInterpolation, roundOffValue, setCurve, setCurve, setDPart, setEPart, setLocation, setPathname, setTimeInterval, setVersion, setWatershed, twoVariableRatingTableInterpolationpublic TimeSeriesMathVertDatum()
public TimeSeriesMathVertDatum(TimeSeriesContainer tsc) throws HecMathException
HecMathExceptionpublic void setData(DataContainer container) throws HecMathException
TimeSeriesMathcontainer.setData in class TimeSeriesMathcontainer - The DataContainer data to be used by this HecMath object.HecMathException - if container is null or not of type
TimeSeriesContainer.public DataContainer getData() throws HecMathException
TimeSeriesMathcontainer.getData in class TimeSeriesMathHecMathExceptionpublic void getData(DataContainer container) throws HecMathException
TimeSeriesMathcontainer.getData in class TimeSeriesMathcontainer - The TimeSeriesContainer to receive the copy of data from
this time series.HecMathExceptionpublic HecMath copy() throws HecMathException
TimeSeriesMathcopy in class TimeSeriesMathHecMathExceptionpublic java.lang.String getNativeVerticalDatum()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetNativeVerticalDatum in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the native vertical datum is not setpublic java.lang.String getCurrentVerticalDatum()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetCurrentVerticalDatum in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the current vertical datum is not setpublic boolean isCurrentVerticalDatumEstimated()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumisCurrentVerticalDatumEstimated in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the current vertical datum is not setpublic boolean toNativeVerticalDatum()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumtoNativeVerticalDatum in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the native vertical datum is not setpublic boolean toNGVD29()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumtoNGVD29 in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the object doesn't contain enough information to perform the operationpublic boolean toNAVD88()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumtoNAVD88 in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the object doesn't contain enough information to perform the operationpublic boolean toVerticalDatum(java.lang.String datum)
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumtoVerticalDatum in interface hec.data.IVerticalDatumdatum - the vertical datum to change to: hec.data.VerticalDatumException - if the object doesn't contain enough information to perform the operationpublic boolean forceVerticalDatum(java.lang.String datum)
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumforceVerticalDatum in interface hec.data.IVerticalDatumdatum - the vertical datum to change to: hec.data.VerticalDatumException - if the object doesn't contain enough information to perform the operationpublic double getCurrentOffset()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetCurrentOffset in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the object doesn't contain the required offset informationpublic double getCurrentOffset(java.lang.String unit)
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetCurrentOffset in interface hec.data.IVerticalDatumunit - the unit to retrieve the offset inhec.data.VerticalDatumException - if the object doesn't contain the required offset informationpublic double getNGVD29Offset()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetNGVD29Offset in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the object doesn't contain the required offset informationpublic double getNGVD29Offset(java.lang.String unit)
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetNGVD29Offset in interface hec.data.IVerticalDatumunit - the unit to retrieve the offset inhec.data.VerticalDatumException - if the object doesn't contain the required offset informationpublic double getNAVD88Offset()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetNAVD88Offset in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the object doesn't contain the required offset informationpublic double getNAVD88Offset(java.lang.String unit)
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetNAVD88Offset in interface hec.data.IVerticalDatumunit - the unit to retrieve the offset inhec.data.VerticalDatumException - if the object doesn't contain the required offset informationpublic boolean isNGVD29OffsetEstimated()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumisNGVD29OffsetEstimated in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the object doesn't contain the required offset informationpublic boolean isNAVD88OffsetEstimated()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumisNAVD88OffsetEstimated in interface hec.data.IVerticalDatumhec.data.VerticalDatumException - if the object doesn't contain the required offset informationpublic java.lang.String getVerticalDatumInfo()
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumgetVerticalDatumInfo in interface hec.data.IVerticalDatumhec.data.VerticalDatumExceptionpublic void setVerticalDatumInfo(java.lang.String xmlStr)
throws hec.data.VerticalDatumException
hec.data.IVerticalDatumsetVerticalDatumInfo in interface hec.data.IVerticalDatumxmlStr - String initializer. May be either an XML fragment of the following format or
simply the name of the native vertical datum (in which case no datum conversion
is supported).
<vertical-datum-info "unit"="ft">
<native-datum>OTHER</native-datum>
<local-datum-name>Pensacola</local-datum-name>
<elevation>1407.22</elevation>
<offset "estimate"="true">
<to-datum>NAVD-88</to-datum>
<value>1.457</value>
</offset>
<offset "estimate"="false">
<to-datum>NGVD-29</to-datum>
<value>1.07</value>
</offset>
</vertical-datum-info>
The <native-datum> element must be one of:
All <offset> elements specify the value to add to an
elevation in the native datum to get an elevation in the datum specified <to-datum>
datum (in the unit specified in the <vertical-datum-info> element.
The <to-datum> values are limited to NGVD-29 and NAVD-88. No offset
is required to be specified for the native datum.
hec.data.VerticalDatumException