Package hec.rss.model
Class WaterAccountCurveDataReader
java.lang.Object
hec.rss.model.WaterAccountCurveDataReader
-
Constructor Summary
ConstructorsConstructorDescriptionWaterAccountCurveDataReader(RssRun rssRun) This class aids in the reading of water account data from DSS. -
Method Summary
Modifier and TypeMethodDescriptioncreateDssBPart(String name, boolean isDefault) getGuideCurveTSDS(int reservoirIndex) Gets the guide curve time series data set for the reservoir at that index in the water account set.getPoolActualStorageTSDS(int reservoir) getReservoir(int i) Returns the reservoir at index i in the water account set.getTimeSeriesContainer(String dssPathname) Gets a time series container using the dssPathnamegetTimeSeriesDataSetForReservoir(int reservoirIndex, int variableId) Gets the time series data set for the reservoir at that index in the water account set.getTimeSeriesDataSetForWaterAccount(hec.rss.client.WaterAccountPlotRowItem selectedRowItem, int variableId) Gets the time series data set using the WaterAccountPlotRowItem and variable id.
-
Constructor Details
-
WaterAccountCurveDataReader
This class aids in the reading of water account data from DSS.- Parameters:
rssRun- The rssRun
-
-
Method Details
-
getTimeSeriesContainer
Gets a time series container using the dssPathname -
getTimeSeriesDataSetForWaterAccount
public TimeSeriesDataSet getTimeSeriesDataSetForWaterAccount(hec.rss.client.WaterAccountPlotRowItem selectedRowItem, int variableId) Gets the time series data set using the WaterAccountPlotRowItem and variable id.- Parameters:
selectedRowItem- The selected water account. This is used to get the B part.variableId- These integer values come from RssModelVariableConstants class. for example: RssModelVariableConstants.VID_WA_CURRENT_VOLUME
-
getReservoir
Returns the reservoir at index i in the water account set. -
getTimeSeriesDataSetForReservoir
Gets the time series data set for the reservoir at that index in the water account set.- Parameters:
reservoirIndex- The reservoir index in the water account set.variableId- These integer values come from RssModelVariableConstants class. for example: RssModelVariableConstants.VID_WA_CURRENT_VOLUME
-
getGuideCurveTSDS
Gets the guide curve time series data set for the reservoir at that index in the water account set.- Parameters:
reservoirIndex- The reservoir index in the water account set.
-
getPoolActualStorageTSDS
-
createDssBPart
- Parameters:
name- this should be the water account name or the reservoir name if it is defaultisDefault- Is this the default water account
-