Package hec.rss.model
Class LocalTSRecordImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.model.AbstractTSRecord
hec.clientapp.model.TSRecordImpl
hec.rss.model.LocalTSRecordImpl
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,LocalTSRecord,TSRecord,Serializable,Cloneable,Comparable,Observer,mil.army.usace.hec.metadata.VerticalDatum,rma.lang.Modifiable
- See Also:
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionLocalTSRecordImpl(int size, double initialValue) LocalTSRecordImpl(TimeSeriesContainer tsContainer) -
Method Summary
Modifier and TypeMethodDescriptionbooleanloadRawTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager) Load raw ts data.booleanloadRawTSData(mil.army.usace.hec.rmi.server.RemoteWrapper dssManagerWrapper) booleanloadTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager) Read Time Series record from DSS and perform interpolation in time if an offset occurs in data.booleanloadTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager, HecTime startTime, HecTime endTime) Load ts data.booleanloadTSData(mil.army.usace.hec.rmi.server.RemoteWrapper dssManagerWrapper) booleanloadTSData(mil.army.usace.hec.rmi.server.RemoteWrapper dssManagerWrapper, HecTime startTime, HecTime endTime) booleanreadData(BufferedReader input) Read write methods for storing TSRecords to an ASCII filebooleanreadDataFromRas(BufferedReader input) Reads time series record parameters from an existing opened BufferedReader according to RAS v.2.2 flow file formatbooleanwriteData(BufferedWriter out) booleanMethods inherited from class hec.clientapp.model.TSRecordImpl
checkTSData, doInterpolations, getAltName, getDataSet, getRelativePath, isEvapData, isInputData, isValidValue, isValidValue, loadRawTSData, loadTSData, loadTSData, setTSDataSet, shouldInterpEvapData, unloadTSData, writeInterpolatedInputData, 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, 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, toVerticalDatumMethods 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, setChangedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hec.model.TSRecord
average, checkTSData, getBeginDate, getBeginTime, getCumulativeTotal, getCumulativeTotal, getCurrentValue, getDataArrayFor, getDSSFilename, getDSSPathname, getFactor, getIndex, getInputDataPos, getInterpolatedTSArray, getInterpUnitsType, getLaggedValue, getName, getNumSteps, getParamName, getPeriodAverage, getPeriodAverage, getPreviousValue, getSummaryArray, getTimeArray, getTimeSeriesContainer, getTimeSeriesContainerFor, getTimeStepMinutes, getTimeWindowString, getTSArray, getTSContainer, getTSValueAt, getUnits, getUnitsType, getValue, getValue, getVariableId, initialize, initialize, isDefaultData, isInput, isObservedData, isValidValue, loadRawTSData, loadTSData, loadTSData, max, min, reinitialize, reset, setCompressData, setCurrentValue, setCurrentValue, setDSSFilename, setDSSPathname, setDSSPathname, setIndex, setInput, setInputDataPos, setInterpUnitsType, setName, setParamName, setTimeWindow, setTimeWindowString, setUnits, setUnitsType, setVariableId, shiftLeft, shiftLeft, standardDeviation, sum, writeTSData, writeTSDataAs
-
Constructor Details
-
LocalTSRecordImpl
public LocalTSRecordImpl() -
LocalTSRecordImpl
public LocalTSRecordImpl(int size, double initialValue) -
LocalTSRecordImpl
-
-
Method Details
-
loadRawTSData
public boolean loadRawTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager) Description copied from class:TSRecordImplLoad raw ts data.- Overrides:
loadRawTSDatain classTSRecordImpl- Parameters:
dssManager- the dss manager- Returns:
- true, if successful
-
loadRawTSData
public boolean loadRawTSData(mil.army.usace.hec.rmi.server.RemoteWrapper dssManagerWrapper) -
loadTSData
public boolean loadTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager, HecTime startTime, HecTime endTime) Description copied from class:TSRecordImplLoad ts data.- Overrides:
loadTSDatain classTSRecordImpl- Parameters:
dssManager- the dss managerstartTime- the start timeendTime- the end time- Returns:
- true, if successful
-
loadTSData
public boolean loadTSData(mil.army.usace.hec.rmi.csinterface.DSSManager dssManager) Description copied from class:TSRecordImplRead Time Series record from DSS and perform interpolation in time if an offset occurs in data. Convert data type to PER-AVER or INST-VAL if applicable. Time window and time step size must be first set in one of the initialize() methods. This form of loadTSData() reads in the data for the time window and interpolates if necessary to an interval given by _timeStepMin.- Overrides:
loadTSDatain classTSRecordImpl- Parameters:
dssManager- the dss manager- Returns:
- true, if successful
-
loadTSData
-
loadTSData
public boolean loadTSData(mil.army.usace.hec.rmi.server.RemoteWrapper dssManagerWrapper) -
readData
Description copied from interface:TSRecordRead write methods for storing TSRecords to an ASCII file- Specified by:
readDatain interfaceTSRecord- Overrides:
readDatain classAbstractTSRecord
-
readDataFromRas
Description copied from class:AbstractTSRecordReads time series record parameters from an existing opened BufferedReader according to RAS v.2.2 flow file format- Specified by:
readDataFromRasin interfaceTSRecord- Overrides:
readDataFromRasin classAbstractTSRecord
-
writeData
- Specified by:
writeDatain interfaceTSRecord- Overrides:
writeDatain classAbstractTSRecord
-
writeDataToRas
- Specified by:
writeDataToRasin interfaceTSRecord- Overrides:
writeDataToRasin classAbstractTSRecord
-