pywatershed.PRMSChannelFlowNodeMaker#
- class pywatershed.PRMSChannelFlowNodeMaker(discretization, parameters, calc_method=None, verbose=None)[source]#
A FlowNodeMaker for PRMSChannelFlowNodes.
See
PRMSChannelFlowNodefor additional details and the required parameters.See
FlowGraphfor discussion and a worked example. The notebook examples/06_flow_graph_starfit.ipynb highlights adding a StarfitFlowNode aFlowGraphotherwised comprised ofPRMSChannelFlowNodes using the helper functionsprms_channel_flow_graph_to_model_dict()andprms_channel_flow_graph_postprocess().- __init__(discretization, parameters, calc_method=None, verbose=None)[source]#
Instantiate a PRMSChannelFlowNodeMaker.
- Parameters:
discretization (
Parameters) – a discretization of class Parametersparameters (
Parameters) – a parameter object of class Parameterscalc_method (
Literal['numba','numpy']) – one of [“fortran”, “numba”, “numpy”]. None defaults to “numba”.verbose (
bool) – Print extra information or not?
Methods
__init__(discretization, parameters[, ...])Instantiate a PRMSChannelFlowNodeMaker.
Get a tuple of dimension names for this PRMSChannelFlowNodeMaker.
get_node(control, index)Instantiate FlowNode at a given index.
Get a tuple of parameter names for PRMSChannelFlowNodeMaker.
- static get_dimensions()[source]#
Get a tuple of dimension names for this PRMSChannelFlowNodeMaker.
- Return type: