public class PairedDataMathVertDatum extends PairedDataMath implements hec.data.IVerticalDatum
EXTRAPOLATE, 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 |
|---|
PairedDataMathVertDatum() |
PairedDataMathVertDatum(PairedDataContainer pdc) |
| Modifier and Type | Method and Description |
|---|---|
HecMath |
copy()
Create a duplicate copy of the paired data set.
|
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 PairedDataContainer data in the PairedDataMath object
into
container. |
void |
getData(DataContainer container)
Copy the current PairedDataContainer data in the PairedDataMath 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
|
VerticalDatumContainer |
getVerticalDatumContainer()
Returns the Vertical Datum Container form the Data Container
|
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 PairedDataContainer data for the current PairedDataMath object.
|
void |
setVerticalDatumContainer(VerticalDatumContainer vdc)
Sets the Vertical Datum Container
|
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, 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, 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, twoVariableRatingTableInterpolationaccumulation, applyMultipleLinearRegression, centeredMovingAverage, checkContainer, convertToIrregular, createInstance, createInstance, cyclicAnalysis, decayingBasinWetnessParameter, durationAnalysis, durationAnalysis, durationAnalysis, durationAnalysis, estimateForMissingPrecipValues, estimateForMissingValues, extractTimeSeriesDataForTimeSpecification, flowAccumulatorGageProcessor, forwardMovingAverage, generateDataPairs, generateRegularIntervalTimeSeries, generateRegularIntervalTimeSeries, generateRegularIntervalTimeSeries, getPath, 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, twoVariableRatingTableInterpolationpublic PairedDataMathVertDatum()
public PairedDataMathVertDatum(PairedDataContainer pdc) throws HecMathException
HecMathExceptionpublic void setData(DataContainer container) throws HecMathException
PairedDataMathcontainer.setData in class PairedDataMathcontainer - The DataContainer data to be used by this HecMath object.HecMathException - if container is null or not of type
PairedDataContainer.public void getData(DataContainer container) throws HecMathException
PairedDataMathcontainer.getData in class PairedDataMathcontainer - The TimeSeriesContainer to receive the copy of data from
this time series.HecMathExceptionpublic DataContainer getData() throws HecMathException
PairedDataMathcontainer.getData in class PairedDataMathHecMathExceptionpublic HecMath copy() throws HecMathException
PairedDataMathcopy in class PairedDataMathHecMathExceptionpublic 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.VerticalDatumExceptionpublic VerticalDatumContainer getVerticalDatumContainer()
getVerticalDatumContainer in interface hec.data.IVerticalDatumpublic void setVerticalDatumContainer(VerticalDatumContainer vdc) throws hec.data.VerticalDatumException
setVerticalDatumContainer in interface hec.data.IVerticalDatumhec.data.VerticalDatumException