fastscapelib.FlowSnapshot¶
- class fastscapelib.FlowSnapshot¶
Flow snapshot operator.
A special flow operator used to save intermediate states of the flow graph and/or topographic elevation values while applying the other operators in chain.
Those saved states are accessible from
FlowGraph.graph_snapshot()andFlowGraph.elevation_snapshot().- __init__(self, snapshot_name: str, save_graph: bool = True, save_elevation: bool = False) None¶
FlowSnapshot initializer.
Methods
__init__(self, snapshot_name[, save_graph, ...])FlowSnapshot initializer.
Attributes
elevation_updatedgraph_updatedin_flowdirnameFlow operator's name.
out_flowdirsave_elevationIf True, saves the intermediate topography elevation.
save_graphIf True, saves the intermediate graph state.
snapshot_nameThe snapshot name.