pywr.parameters.TablesArrayParameter¶
-
class
pywr.parameters.TablesArrayParameter¶ -
__init__()¶ This Parameter reads array data from a PyTables HDF database.
The parameter reads data using the PyTables array interface and therefore does not require loading the entire dataset in to memory. This is useful for large model runs.
Parameters: - h5file : tables.File or filename
The tables file handle or filename to attach the CArray objects to. If a filename is given the object will open and close the file handles.
- node : string
Name of the node in the tables database to read data from
- where : string
Path to read the node from.
- scenario : Scenario
Scenario to use as the second index in the array.
Methods
afterbeforefinishget_all_indicesget_all_valuesget_double_lower_boundsget_double_upper_boundsget_double_variablesget_indexget_integer_lower_boundsget_integer_upper_boundsget_integer_variablesget_valueindexReturns the current index loadlower_boundsregisterresetset_double_variablesset_integer_variablessetupunregisterupdateupper_boundsvalueReturns the current index as a float Attributes
childrencommentdouble_sizeh5fileh5storeinteger_sizeis_variablemodelnamenodeparentsscenariosizewhere-