Package hec.rss.model
Class RssTSRecordImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.model.AbstractTSRecord
hec.clientapp.model.TSRecordImpl
hec.rss.model.RssTSRecordImpl
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,TSRecord,Serializable,Cloneable,Comparable,Observer,mil.army.usace.hec.metadata.VerticalDatum,rma.lang.Modifiable
- See Also:
-
Field Summary
FieldsFields inherited from class hec.clientapp.model.TSRecordImpl
_tsDataSetFields inherited from class hec.model.AbstractTSRecord
_beginDate, _beginTime, _compressData, _dataArray, _dssArray, _dssFilename, _dssPathname, _endTime, _inputDataPos, _interpUnitsType, _isObservedData, _numSteps, _paramName, _size, _startTime, _timeArray, _timeIncrString, _timeStepMin, _timeWindow, _units, _unitsType, _varId, _vdc, INPUT, OUTPUTFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENTFields inherited from interface hec.model.TSRecord
DEFAULT_INPUT, OBS_INPUT, SUMMARY_AVG, SUMMARY_CNT, SUMMARY_MAX, SUMMARY_MIN, SUMMARY_NUMID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRssTSRecordImpl(TSDataSet tsData, int index) RssTSRecordImpl(TSDataSet tsData, Integer index) RssTSRecordImpl(TSRecordImpl tsRecord) -
Method Summary
Modifier and TypeMethodDescriptionbooleancopyInto(RssTSRecordImpl newTsRec) Copy data from this RssTSRecordImpl into the given RssTSRecordImpl.protected booleanOverride Check if data should be interpolatedprotected booleanCheck if data is evaporation, and if so, is it PER-CUMprotected booleanCheck if data is Input Data, ie External Variablevoidprotected booleanreturn true to interpolate evap dataprotected booleanChecks if interpolated input data should be written out to the DSS file.Methods inherited from class hec.clientapp.model.TSRecordImpl
checkTSData, getAltName, getDataSet, getRelativePath, isValidValue, isValidValue, loadRawTSData, loadRawTSData, loadTSData, loadTSData, loadTSData, loadTSData, setTSDataSet, unloadTSData, writeTSData, writeTSData, writeTSData, writeTSDataAsMethods inherited from class hec.model.AbstractTSRecord
average, clone, copyInto, forceVerticalDatum, getBeginDate, getBeginTime, getCumulativeTotal, getCumulativeTotal, getCurrentOffset, getCurrentOffset, getCurrentValue, getCurrentVerticalDatum, getDataArrayFor, getDSSFilename, getDSSPathname, getFieldObject, getInputDataPos, getInterpolatedTSArray, getInterpUnitsType, getLaggedValue, getNativeVerticalDatum, getNAVD88Offset, getNAVD88Offset, getNGVD29Offset, getNGVD29Offset, getNumSteps, getParamName, getPeriodAverage, getPeriodAverage, getPeriodAverage, getPeriodAverage, getPreviousValue, getSummaryArray, getTimeArray, getTimeSeriesContainer, getTimeSeriesContainerFor, getTimeStepMinutes, getTimeWindowString, getTSArray, getTSContainer, getTSValueAt, getUnits, getUnitsType, getValue, getValue, getVariableId, getVerticalDatumContainer, getVerticalDatumInfo, hasVerticalDatum, initialize, initialize, isCurrentVerticalDatumEstimated, isDefaultData, isNAVD88OffsetEstimated, isNGVD29OffsetEstimated, isObservedData, max, min, parseDssPath, readData, readDataFromRas, reinitialize, reset, setCompressData, setCurrentValue, setCurrentValue, setDSSFilename, setDSSPathname, setDSSPathname, setFieldObject, setInputDataPos, setInterpUnitsType, setParamName, setTimeWindow, setTimeWindowString, setUnits, setUnitsType, setVariableId, setVerticalDatumContainer, setVerticalDatumInfo, shiftLeft, shiftLeft, standardDeviation, sum, toNativeVerticalDatum, toNAVD88, toNGVD29, toVerticalDatum, writeData, writeDataToRasMethods inherited from class hec.lang.NamedType
addModifiableListener, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
_rssRun
-
-
Constructor Details
-
RssTSRecordImpl
protected RssTSRecordImpl() -
RssTSRecordImpl
-
RssTSRecordImpl
-
RssTSRecordImpl
-
-
Method Details
-
copyInto
Copy data from this RssTSRecordImpl into the given RssTSRecordImpl. A deep copy is made of data specific to this time series records. A shallow copy is made for references to global data model objects such as RssRun and TSDataSet.- Parameters:
newTsRec- the object that will receive the copied data- Returns:
- true if the copy was successful
-
isEvapData
protected boolean isEvapData()Check if data is evaporation, and if so, is it PER-CUM- Overrides:
isEvapDatain classTSRecordImpl- Returns:
- true, if is evap data
-
shouldInterpEvapData
protected boolean shouldInterpEvapData()return true to interpolate evap data- Overrides:
shouldInterpEvapDatain classTSRecordImpl- Returns:
- false by default
-
isInputData
protected boolean isInputData()Check if data is Input Data, ie External Variable- Overrides:
isInputDatain classTSRecordImpl- Returns:
- false by default
-
writeInterpolatedInputData
protected boolean writeInterpolatedInputData()Description copied from class:TSRecordImplChecks if interpolated input data should be written out to the DSS file.- Overrides:
writeInterpolatedInputDatain classTSRecordImpl- Returns:
- true, if is input data should write out
-
setRssRun
- Parameters:
run-
-
doInterpolations
protected boolean doInterpolations()Override Check if data should be interpolated- Overrides:
doInterpolationsin classTSRecordImpl- Returns:
- true by default
-