Boundary conditions#

These are the primary properties for getting and setting the grid boundary conditions. Changes made to status_at_node automatically update the conditions defined at other grid elements.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_faces

Get array of active faces.

active_links

Get array of active links.

boundary_nodes

Get array of boundary nodes.

closed_boundary_nodes

Get array of closed boundary nodes.

core_cells

Get array of core cells.

core_nodes

Get array of core nodes.

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_links

Get array of fixed links.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

looped_neighbors_at_cell

For each cell in a raster, return the D8 neighboring cells, looping across grid boundaries as necessary.

node_at_core_cell

Get array of nodes associated with core cells.

node_has_boundary_neighbor

Check if nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

number_of_active_faces

Total number of active faces.

number_of_active_links

Number of active links.

number_of_core_cells

Number of core cells.

number_of_core_nodes

Number of core nodes.

number_of_fixed_links

Number of fixed links.

number_of_patches_present_at_link

Return the number of patches at a link without a closed node.

number_of_patches_present_at_node

Return the number of patches at a node without a closed node.

open_boundary_nodes

Get array of open boundary nodes.

second_ring_looped_neighbors_at_cell

Get list of second ring looped neighbor cell IDs (all 16 neighbors).

set_closed_boundaries_at_grid_edges

Set boundary not to be closed.

set_fixed_value_boundaries_at_grid_edges

Create fixed values boundaries.

set_looped_boundaries

Create wrap-around boundaries.

set_nodata_nodes_to_closed

Make no-data nodes closed boundaries.

set_nodata_nodes_to_fixed_gradient

Make no-data nodes fixed gradient boundaries.

set_open_nodes_disconnected_from_watershed_to_closed

Identifys all non-closed nodes that are disconnected from the node given in.

set_status_at_node_on_edges

Set node status on grid edges.

set_watershed_boundary_condition

Finds the node adjacent to a boundary node with the smallest value.

set_watershed_boundary_condition_outlet_coords

Set the boundary conditions for a watershed.

set_watershed_boundary_condition_outlet_id

Set the boundary conditions for a watershed.

status_at_link

Get array of the status of all links.

status_at_node

Get array of the boundary status for each node.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_faces

Get array of active faces.

active_links

Get array of active links.

boundary_nodes

Get array of boundary nodes.

closed_boundary_nodes

Get array of closed boundary nodes.

core_cells

Get array of core cells.

core_nodes

Get array of core nodes.

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_links

Get array of fixed links.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

node_at_core_cell

Get array of nodes associated with core cells.

node_has_boundary_neighbor

Check if ModelGrid nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

number_of_active_faces

Total number of active faces.

number_of_active_links

Number of active links.

number_of_core_cells

Number of core cells.

number_of_core_nodes

Number of core nodes.

number_of_fixed_links

Number of fixed links.

number_of_patches_present_at_link

Return the number of patches at a link without a closed node.

number_of_patches_present_at_node

Return the number of patches at a node without a closed node.

open_boundary_nodes

Get array of open boundary nodes.

set_nodata_nodes_to_closed

Make no-data nodes closed boundaries.

set_nodata_nodes_to_fixed_gradient

Make no-data nodes fixed gradient boundaries.

set_watershed_boundary_condition

Find the node adjacent to a boundary node with the smallest value.

set_watershed_boundary_condition_outlet_id

Set the boundary conditions for a watershed.

status_at_link

Get array of the status of all links.

status_at_node

Get array of the boundary status for each node.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_faces

Get array of active faces.

active_links

Get array of active links.

boundary_nodes

Get array of boundary nodes.

closed_boundary_nodes

Get array of closed boundary nodes.

core_cells

Get array of core cells.

core_nodes

Get array of core nodes.

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_links

Get array of fixed links.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

node_at_core_cell

Get array of nodes associated with core cells.

node_has_boundary_neighbor

Check if ModelGrid nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

number_of_active_faces

Total number of active faces.

number_of_active_links

Number of active links.

number_of_core_cells

Number of core cells.

number_of_core_nodes

Number of core nodes.

number_of_fixed_links

Number of fixed links.

number_of_patches_present_at_link

Return the number of patches at a link without a closed node.

number_of_patches_present_at_node

Return the number of patches at a node without a closed node.

open_boundary_nodes

Get array of open boundary nodes.

perimeter_nodes

Get nodes on the convex hull of a Graph.

set_nodata_nodes_to_closed

Make no-data nodes closed boundaries.

set_nodata_nodes_to_fixed_gradient

Make no-data nodes fixed gradient boundaries.

status_at_link

Get array of the status of all links.

status_at_node

Get array of the boundary status for each node.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_faces

Get array of active faces.

active_links

Get array of active links.

boundary_nodes

Get array of boundary nodes.

closed_boundary_nodes

Get array of closed boundary nodes.

core_cells

Get array of core cells.

core_nodes

Get array of core nodes.

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_links

Get array of fixed links.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

node_at_core_cell

Get array of nodes associated with core cells.

node_has_boundary_neighbor

Check if ModelGrid nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

number_of_active_faces

Total number of active faces.

number_of_active_links

Number of active links.

number_of_core_cells

Number of core cells.

number_of_core_nodes

Number of core nodes.

number_of_fixed_links

Number of fixed links.

number_of_patches_present_at_link

Return the number of patches at a link without a closed node.

number_of_patches_present_at_node

Return the number of patches at a node without a closed node.

open_boundary_nodes

Get array of open boundary nodes.

perimeter_nodes

Get nodes on the convex hull of a Graph.

set_nodata_nodes_to_closed

Make no-data nodes closed boundaries.

set_nodata_nodes_to_fixed_gradient

Make no-data nodes fixed gradient boundaries.

status_at_link

Get array of the status of all links.

status_at_node

Get array of the boundary status for each node.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_faces

Get array of active faces.

active_links

Get array of active links.

boundary_nodes

Get array of boundary nodes.

closed_boundary_nodes

Get array of closed boundary nodes.

core_cells

Get array of core cells.

core_nodes

Get array of core nodes.

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_links

Get array of fixed links.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

node_at_core_cell

Get array of nodes associated with core cells.

node_has_boundary_neighbor

Check if ModelGrid nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

number_of_active_faces

Total number of active faces.

number_of_active_links

Number of active links.

number_of_core_cells

Number of core cells.

number_of_core_nodes

Number of core nodes.

number_of_fixed_links

Number of fixed links.

number_of_patches_present_at_link

Return the number of patches at a link without a closed node.

number_of_patches_present_at_node

Return the number of patches at a node without a closed node.

open_boundary_nodes

Get array of open boundary nodes.

set_nodata_nodes_to_closed

Make no-data nodes closed boundaries.

set_nodata_nodes_to_fixed_gradient

Make no-data nodes fixed gradient boundaries.

status_at_link

Get array of the status of all links.

status_at_node

Get array of the boundary status for each node.