Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
landlab
Logo

Getting Started

  • Install
  • Getting started
  • User Guide
    • Grid & Component reference
      • Landlab Grids
      • Layers
      • Values
      • Components
    • List of Components
    • List of Landlab Fields
    • List of Grid Methods
      • Nodes, Links, and Patches
      • Corners, Faces, and Cells
      • Boundary conditions
      • Subsets of elements
      • Mapping between elements
      • Gradients, fluxes, and divergences
      • Surface analysis
      • Fields
      • Uncategorized or Deprecated
    • Introduction to Landlab’s Gridding Library
    • The Component Library
    • What goes into a Landlab model?
    • How Landlab Is/Is Not Unit Agnostic
    • Time steps
    • Frequently Asked Questions
    • Overland Flow Component User Manual
    • CellLab-CTS User Guide
  • Tutorials
    • Gallery
      • TVD advection solver and related functions
      • Agent-based modeling with Landlab and Mesa
      • Coupling a Landlab groundwater with a Mesa agent-based model
      • Wolf-Sheep-Grass Model with Soil Creep
      • Setting Boundary Conditions: interior rectangle
      • Setting Boundary Conditions on the Perimeter of a Raster.
      • Setting Boundary Conditions on a Voronoi.
      • Setting watershed boundary conditions on a raster grid
      • The Carbonate Producer component
      • Getting to know the Landlab component library
      • DataRecord Tutorial
      • Tutorial For Cellular Automaton Vegetation Model Coupled With Ecohydrologic Model
      • Tutorial For Cellular Automaton Vegetation Model Coupled With Ecohydrologic Model
      • Introduction to Landlab: Creating a simple 2D scarp diffusion model
      • Understanding and working with Landlab data fields
      • Using the Landlab 1D flexure component
      • Using the Landlab flexure component
      • Landscape evolution model with Priority flood and Space_v2
      • Introduction to priority flood component
      • Comparison of FlowDirectors
      • Introduction to the FlowAccumulator
      • Introduction to FlowDirectors
      • Introduction to PriorityFloodFlowRouter (priorityFlood filler, director and accumulator)
      • Using the Landlab FractureGridGenerator component
      • Using Landlab’s gradient and flux divergence functions
      • Diverse grid classes
      • What happens when you create a grid object?
      • How to create and visualize a Landlab Icosphere Grid
      • Icosphere example models
      • Modeling groundwater flow in a conceptual catchment
      • Component Overview: DepthDependentTaylorDiffuser
      • Component Overview: TaylorNonLinearDiffuser
      • The transport-length hillslope diffuser
      • The Basics
      • Example 1:
      • Example 2:
      • Unit tests and parameterization for AreaSlopeTransporter
      • Example of a transport-limited LEM using AreaSlopeTransporter
      • Introduction to the ErosionDeposition component
      • Using the Landlab Shared Stream Power Model
      • Run with Transient Uplift
      • Unit Tests for the Landlab GravelBedrockEroder Component
      • The Landlab GravelRiverTransporter Component
      • HyLands: modelling the evolution of landscapes and mass movements
      • Adding a discharge point source to a LEM
      • The StreamPowerSmoothThresholdEroder component
      • User guide and example for the Landlab SPACE_large_Scale_eroder component
      • User guide and example for the Landlab SPACE component
      • User guide and example for the Landlab threshold_eroder component
      • Introduction to the Lithology and LithoLayers objects
      • Tips on Writing Landlab Components
      • How to write a Landlab component
      • Mapping values between grid elements
      • Using the Landlab SimpleSubmarineDiffuser component
      • Landslide Runout Animation
      • Synthetic landscape animation
      • Building a matrix for numerical methods using a Landlab grid
      • Using the Landlab BedParcelInitializer components to initialize river bed sediment parcels for the NetworkSedimentTransporter component
      • Create A Network Grid from Raster Grid
      • Using plotting tools associated with the Landlab NetworkSedimentTransporter component
      • Using the Landlab NetworkSedimentTransporter component
      • Using USGS NHDPlus HR Datasets With the Landlab NetworkSedimentTransporter Component
      • Using the Landlab NetworkSedimentTransporter component starting with a shapefile river network
      • Profiling and Scaling Analysis of the NetworkSedimentTransporter
      • Generate a Network Model Grid on an OpenTopography DEM
      • Using SedimentPulserAtLinks to add sediment parcels to a channel network
      • Using SedimentPulserEachParcel to add sediment parcels to a channel network
      • Introduction to the NormalFault component
      • Writing with legacy vtk files
      • A coupled rainfall-runoff model in Landlab
      • How to do “D4” pit-filling on a digital elevation model (DEM)
      • The deAlmeida Overland Flow Component
      • The Implicit Kinematic Wave Overland Flow Component
      • The Linear Diffusion Overland Flow Router
      • Components for modeling overland flow erosion
      • Green-Ampt infiltration and kinematic wave overland flow
      • Animate Landlab output
      • Plotting grid data with Landlab
      • A super-brief intro to Python and NumPy
      • How to read a DEM as a Landlab grid
      • 2D Surface Water Flow component
      • 2D Surface Water Flow component
      • River Flow Dynamics Simulation with Landlab
      • Introduction to the SpeciesEvolver component
      • Using the Landlab ListricKinematicExtender component
      • Using the ChiFinder Component
      • Using the DrainageDensity Component
      • Application of the flow__distance utility on a Sicilian basin
      • Using the HackCalculator Component
      • Using the SteepnessFinder Component
      • Tidal Flow Calculator
      • Importing Landlab .obj format output into Blender
      • Viewing Landlab output in ParaView
  • Teaching with Landlab
    • Getting started
    • Gallery
      • Quantifying river channel evolution with Landlab
      • Modeling Hillslopes and Channels with Landlab
      • Linear diffusion exercise with Landlab
      • Using Landlab to explore a diffusive hillslope in the piedmont of North Carolina
      • Exploring rainfall driven hydrographs with Landlab

Contributing

  • Developer Install
    • Virtual Environments
    • Updating and uninstalling
  • Developer Guide
    • Guidelines for Contributing Code to Landlab
      • Develop your own component or utility
      • Recommendations and Rules for User-Contributed Components
      • Ongoing Development in Landlab
      • Desired Contributions to Landlab
      • Workflow to submit your Landlab contribution to Journal of Open Source Software
    • Software Development Practices
      • Develop with Git
      • Continuous Integration Practices
      • Style Guidelines and Enforcement
      • Writing docstring and unit tests for your component (or utility)
      • How to create a Landlab release
      • How Landlab Specifies Dependencies
    • Package Organization
  • API Reference
    • bmi
      • bmi_bridge
      • components
      • standard_names
    • ca
      • boundaries
        • hex_lattice_tectonicizer
      • celllab_cts
      • hex_cts
      • oriented_hex_cts
      • oriented_raster_cts
      • raster_cts
    • cmd
      • authors
      • landlab
    • components
      • advection
        • advection_solver_tvd
        • flux_limiters
      • area_slope_transporter
        • area_slope_transporter
      • bedrock_landslider
        • bedrock_landslider
      • carbonate
        • carbonate_producer
      • chi_index
        • channel_chi
      • concentration_tracker
        • concentration_tracker_for_diffusion
        • concentration_tracker_for_space
      • depression_finder
        • floodstatus
        • lake_mapper
      • depth_dependent_diffusion
        • hillslope_depth_dependent_linear_flux
      • depth_dependent_taylor_soil_creep
        • hillslope_depth_dependent_taylor_flux
      • detachment_ltd_erosion
        • generate_detachment_ltd_erosion
        • generate_erosion_by_depth_slope
      • diffusion
        • diffusion
      • dimensionless_discharge
        • dimensionless_discharge
      • discharge_diffuser
        • diffuse_by_discharge
      • drainage_density
        • drainage_density
      • erosion_deposition
        • erosion_deposition
        • generalized_erosion_deposition
        • shared_stream_power
      • fire_generator
        • generate_fire
      • flexure
        • flexure
        • flexure_1d
        • funcs
      • flow_accum
        • flow_accum_bw
        • flow_accum_to_n
        • flow_accumulator
        • lossy_flow_accumulator
      • flow_director
        • flow_direction_DN
        • flow_direction_dinf
        • flow_direction_mfd
        • flow_director
        • flow_director_d8
        • flow_director_dinf
        • flow_director_mfd
        • flow_director_steepest
        • flow_director_to_many
        • flow_director_to_one
      • flow_router
        • ext
          • single_flow
            • priority_routing
      • fracture_grid
        • fracture_grid
      • gflex
        • flexure
      • gravel_bedrock_eroder
        • gravel_bedrock_eroder
      • gravel_river_transporter
        • gravel_river_transporter
      • groundwater
        • dupuit_percolator
      • hack_calculator
        • hack_calculator
      • hand_calculator
        • hand_calculator
      • lake_fill
        • lake_fill_barnes
      • landslides
        • landslide_probability
      • lateral_erosion
        • lateral_erosion
        • node_finder
      • lithology
        • litholayers
        • lithology
      • marine_sediment_transport
        • simple_submarine_diffuser
      • mass_wasting_runout
        • mass_wasting_runout
        • mass_wasting_saver
      • network_sediment_transporter
        • bed_parcel_initializers
        • network_sediment_transporter
        • sediment_pulser_at_links
        • sediment_pulser_base
        • sediment_pulser_each_parcel
      • nonlinear_diffusion
        • Perron_nl_diffuse
      • normal_fault
        • normal_fault
      • overland_flow
        • generate_overland_flow_Bates
        • generate_overland_flow_deAlmeida
        • generate_overland_flow_implicit_kinwave
        • generate_overland_flow_kinwave
        • kinematic_wave_rengers
        • linear_diffusion_overland_flow_router
      • pet
        • potential_evapotranspiration_field
      • plant_competition_ca
        • plant_competition_ca
      • potentiality_flowrouting
        • route_flow_by_boundary
      • priority_flood_flow_router
        • priority_flood_flow_router
      • profiler
        • base_profiler
        • channel_profiler
        • profiler
        • trickle_down_profiler
      • radiation
        • radiation
      • river_flow_dynamics
        • river_flow_dynamics
      • sink_fill
        • fill_sinks
        • sink_fill_barnes
      • soil_moisture
        • infiltrate_soil_green_ampt
        • soil_moisture_dynamics
      • space
        • space
        • space_large_scale_eroder
      • spatial_precip
        • generate_spatial_precip
      • species_evolution
        • base_taxon
        • record
        • species_evolver
        • zone
        • zone_controller
        • zone_taxon
      • steepness_index
        • channel_steepness
      • stream_power
        • fastscape_stream_power
        • sed_flux_dep_incision
        • stream_power
        • stream_power_smooth_threshold
      • taylor_nonlinear_hillslope_flux
        • taylor_nonlinear_hillslope_flux
      • tectonics
        • listric_kinematic_extender
      • threshold_eroder
        • threshold_eroder
      • tidal_flow
        • tidal_flow_calculator
      • transport_length_diffusion
        • transport_length_hillslope_diffusion
      • uniform_precip
        • generate_uniform_precip
      • vegetation_dynamics
        • vegetation_dynamics
      • weathering
        • exponential_weathering
        • exponential_weathering_integrated
    • core
      • errors
      • messages
      • model_component
      • model_parameter_loader
      • utils
    • data_record
      • aggregators
      • data_record
    • field
      • errors
      • graph_field
    • framework
      • component
      • decorators
      • interfaces
    • graph
      • ext
      • framed_voronoi
        • dual_framed_voronoi
        • framed_voronoi
      • hex
        • ext
        • dual_hex
        • hex
      • matrix
        • ext
        • at_node
        • at_patch
      • object
        • ext
        • at_node
        • at_patch
      • quantity
        • ext
        • of_link
        • of_patch
      • quasi_spherical
        • dual_icosphere
        • refinable_icosahedron
      • radial
        • dual_radial
        • radial
      • sort
        • ext
        • intpair
        • sort
      • structured_quad
        • ext
        • dual_structured_quad
        • structured_quad
      • voronoi
        • ext
        • dual_voronoi
        • voronoi
        • voronoi_to_graph
      • dual
      • graph
      • graph_convention
      • ugrid
    • grid
      • unstructured
        • base
        • cells
        • links
        • nodes
        • status
      • base
      • create
      • create_network
      • decorators
      • diagonals
      • divergence
      • framed_voronoi
      • gradients
      • grid_funcs
      • hex
      • hex_mappers
      • icosphere
      • linkorientation
      • linkstatus
      • mappers
      • network
      • nodestatus
      • radial
      • raster
      • raster_aspect
      • raster_divergence
      • raster_funcs
      • raster_gradients
      • raster_mappers
      • raster_set_status
      • voronoi
      • warnings
    • io
      • netcdf
        • dump
        • errors
        • load
        • read
        • write
      • esri_ascii
      • legacy_vtk
      • native_landlab
      • obj
      • shapefile
    • layers
      • ext
      • eventlayers
      • materiallayers
    • plot
      • network_sediment_transporter
        • locate_parcel_xy
        • plot_network_and_parcels
      • colors
      • drainage_plot
      • event_handler
      • graph
      • imshow
      • imshowhs
      • layers
      • video_out
    • utils
      • ext
      • add_halo
      • count_repeats
      • decorators
      • depth_dependent_roughness
      • distance_to_divide
      • fault_facet_finder
      • flow__distance
      • jaggedarray
      • jaggedarray_ma
      • matrix
      • return_array
      • source_tracking_algorithm
      • stable_priority_queue
      • structured_grid
      • suppress_output
      • watershed
      • window_statistic
    • values
      • synthetic

About

  • Release Notes
  • Contact
  • Citing Landlab
  • Funding
  • Contributors
  • License
  • Used by

Project Links

  • GitHub
  • PyPI
  • Conda-Forge
Back to top
View this page
Edit this page

Nodes, Links, and Patches¶

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_link_dirs_at_node

Return link directions into each node.

adjacent_nodes_at_node

Get adjacent nodes.

all_node_azimuths_map

Get azimuths from every node to every other node.

all_node_distances_map

Get distances from every node to every other node.

boundary_nodes

Get array of boundary nodes.

calc_aspect_at_node

Get array of aspect of a surface.

calc_distances_of_nodes_to_point

Get distances for nodes to a given point.

calc_flux_div_at_cell

Calculate divergence of link-based fluxes at cells.

calc_flux_div_at_node

Calculate divergence of link-based fluxes at nodes.

calc_grad_along_node_links

grid.calc_grad_along_node_links(node_values, [cell_ids], out=None)

calc_hillshade_at_node

Get array of hillshade.

calc_net_flux_at_node

Calculate net link fluxes at nodes.

calc_slope_at_node

Array of slopes at nodes, averaged over neighboring patches.

calculate_slope_aspect_at_nodes_burrough

Calculate topographic slope.

cell_area_at_node

Cell areas in a nnodes-long array.

closed_boundary_nodes

Get array of closed boundary nodes.

core_nodes

Get array of core nodes.

d8s_at_node

Links and diagonals attached to nodes.

diagonal_adjacent_nodes_at_node

Get adjacent nodes along diagonals.

diagonals_at_node

Diagonals attached to nodes.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

find_nearest_node

Node nearest a point.

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

grid_coords_to_node_id

Convert node indices to node ID.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_max_of_inlinks_to_node

Map the maximum of links entering a node to the node.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_max_of_outlinks_to_node

Map the max of links leaving a node to the node.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_horizontal_active_links_to_node

Map the mean of active links in the x direction touching node to the node.

map_mean_of_horizontal_links_to_node

Map the mean of links in the x direction touching a node to the node.

map_mean_of_inlinks_to_node

Map the mean of links entering a node to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_mean_of_links_to_node

Map the mean of links touching a node to the node.

map_mean_of_outlinks_to_node

Map the mean of links leaving a node to the node.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_mean_of_vertical_active_links_to_node

Map the mean of active links in the y direction touching node to the node.

map_mean_of_vertical_links_to_node

Map the mean of links in the y direction touching a node to the node.

map_min_of_inlinks_to_node

Map the minimum of links entering a node to the node.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_min_of_outlinks_to_node

Map the min of links leaving a node to the node.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

map_node_to_cell

Map values for nodes to cells.

map_sum_of_inlinks_to_node

Map the sum of links entering a node to the node.

map_sum_of_outlinks_to_node

Map the sum of links leaving a node to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

node_at_core_cell

Get array of nodes associated with core cells.

node_at_link_head

Get nodes at link head.

node_at_link_tail

Get nodes at link tail.

node_axis_coordinates

Get the coordinates of nodes along a particular axis.

node_has_boundary_neighbor

Check if nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

node_vector_to_raster

Unravel an array of node values.

nodes_around_point

Get the nodes surrounding a point.

nodes_at_link

Get nodes at either end of links.

nodes_at_patch

Get the nodes that define a patch.

number_of_cell_columns

Number of cell columns.

number_of_core_nodes

Number of core nodes.

number_of_interior_nodes

Number of interior nodes.

number_of_nodes

Get total number of nodes.

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.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

roll_nodes_ud

Roll (shift) specified data on nodes up or down in a raster grid.

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_node

Get array of the boundary status for each node.

unit_vector_sum_xcomponent_at_node

Get array of x-component of unit vector sums at each node.

unit_vector_sum_ycomponent_at_node

Get array of y-component of unit vector sums at each node.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

x_of_node

Get x-coordinate of node.

xy_of_node

Get x and y-coordinates of node.

y_of_node

Get y-coordinate of node.

active_link_dirs_at_node

Return link directions into each node.

active_links

Get array of active links.

angle_of_link

Get the angle of each link.

angle_of_link_about_head

Find and return the angle of a link about the node at the link head.

calc_diff_at_d8

Calculate differences of node values over links and diagonals.

calc_diff_at_diagonal

Calculate differences of node values over diagonals.

calc_diff_at_link

Calculate differences in node_values at links.

calc_grad_along_node_links

grid.calc_grad_along_node_links(node_values, [cell_ids], out=None)

calc_grad_at_d8

Calculate gradients over all diagonals and links.

calc_grad_at_diagonal

Calculate gradients over all diagonals.

calc_grad_at_link

Calculate gradients in node_values at links.

d8s_at_node

Links and diagonals attached to nodes.

diagonals_at_node

Diagonals attached to nodes.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_links

Get array of fixed links.

length_of_d8

Length of links and diagonals.

length_of_link

Get the length of links.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

links_at_patch

Get the links that define a patch.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_inlinks_to_node

Map the maximum of links entering a node to the node.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_max_of_outlinks_to_node

Map the max of links leaving a node to the node.

map_mean_of_horizontal_active_links_to_node

Map the mean of active links in the x direction touching node to the node.

map_mean_of_horizontal_links_to_node

Map the mean of links in the x direction touching a node to the node.

map_mean_of_inlinks_to_node

Map the mean of links entering a node to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_mean_of_links_to_node

Map the mean of links touching a node to the node.

map_mean_of_outlinks_to_node

Map the mean of links leaving a node to the node.

map_mean_of_vertical_active_links_to_node

Map the mean of active links in the y direction touching node to the node.

map_mean_of_vertical_links_to_node

Map the mean of links in the y direction touching a node to the node.

map_min_of_inlinks_to_node

Map the minimum of links entering a node to the node.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_min_of_outlinks_to_node

Map the min of links leaving a node to the node.

map_sum_of_inlinks_to_node

Map the sum of links entering a node to the node.

map_sum_of_outlinks_to_node

Map the sum of links leaving a node to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

midpoint_of_link

Get the middle of links.

number_of_active_links

Number of active links.

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.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

resolve_values_on_links

Resolve the xy-components of links.

status_at_link

Get array of the status of all links.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

area_of_patch

Get the area of each patch.

calc_grad_at_patch

Calculate the components of the gradient of each raster patch.

calc_slope_at_patch

Calculate the slope (positive magnitude of gradient) at raster patches.

calc_unit_normal_at_patch

Calculate and return the unit normal vector <a, b, c> to a patch.

calc_unit_normals_at_patch_subtriangles

Calculate unit normals on a patch.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

number_of_patches

Get the number of patches.

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.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

xy_of_patch

Get the centroid of each patch.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_link_dirs_at_node

Return link directions into each node.

adjacent_nodes_at_node

Get adjacent nodes.

all_node_azimuths_map

Get azimuths from every node to every other node.

all_node_distances_map

Get distances from every node to every other node.

boundary_nodes

Get array of boundary nodes.

calc_aspect_at_node

Get array of aspect of a surface.

calc_distances_of_nodes_to_point

Get distances for nodes to a given point.

calc_flux_div_at_cell

Calculate divergence of link-based fluxes at cells.

calc_flux_div_at_node

Calculate divergence of link-based fluxes at nodes.

calc_hillshade_at_node

Get array of hillshade.

calc_net_flux_at_node

Calculate net link fluxes at nodes.

calc_slope_at_node

Array of slopes at nodes, averaged over neighboring patches.

cell_area_at_node

Cell areas in a nnodes-long array.

closed_boundary_nodes

Get array of closed boundary nodes.

core_nodes

Get array of core nodes.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

map_node_to_cell

Map values for nodes to cells.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

node_at_core_cell

Get array of nodes associated with core cells.

node_at_link_head

Get nodes at link head.

node_at_link_tail

Get nodes at link tail.

node_axis_coordinates

Get the coordinates of nodes along a particular axis.

node_has_boundary_neighbor

Check if ModelGrid nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

nodes

Get identifier for each node.

nodes_at_link

Get nodes at either end of links.

nodes_at_patch

Get the nodes that define a patch.

number_of_core_nodes

Number of core nodes.

number_of_nodes

Get total number of nodes.

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.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

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_node

Get array of the boundary status for each node.

unit_vector_sum_xcomponent_at_node

Get array of x-component of unit vector sums at each node.

unit_vector_sum_ycomponent_at_node

Get array of y-component of unit vector sums at each node.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

x_of_node

Get x-coordinate of node.

xy_of_node

Get x and y-coordinates of node.

y_of_node

Get y-coordinate of node.

active_link_dirs_at_node

Return link directions into each node.

active_links

Get array of active links.

angle_of_link

Get the angle of each link.

angle_of_link_about_head

Find and return the angle of a link about the node at the link head.

calc_diff_at_link

Calculate differences of node values over links.

calc_grad_at_link

Calculate gradients of node values at links.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_links

Get array of fixed links.

length_of_link

Get the length of links.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

links_at_node

Get links touching a node.

links_at_patch

Get the links that define a patch.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

midpoint_of_link

Get the middle of links.

number_of_active_links

Number of active links.

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.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

resolve_values_on_links

Resolve the xy-components of links.

status_at_link

Get array of the status of all links.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

area_of_patch

Get the area of each patch.

calc_grad_at_patch

Calculate the components of the gradient at each patch.

calc_slope_at_patch

Calculate the slope (positive magnitude of gradient) at patches.

calc_unit_normal_at_patch

Calculate and return the unit normal vector <a, b, c> to a patch.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

number_of_patches

Get the number of patches.

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.

patches_at_link

Get the patches on either side of each link.

patches_at_node

Get the patches that touch each node.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

xy_of_patch

Get the centroid of each patch.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_link_dirs_at_node

Return link directions into each node.

adjacent_nodes_at_node

Get adjacent nodes.

all_node_azimuths_map

Get azimuths from every node to every other node.

all_node_distances_map

Get distances from every node to every other node.

boundary_nodes

Get array of boundary nodes.

calc_aspect_at_node

Get array of aspect of a surface.

calc_distances_of_nodes_to_point

Get distances for nodes to a given point.

calc_flux_div_at_cell

Calculate divergence of link-based fluxes at cells.

calc_flux_div_at_node

Calculate divergence of link-based fluxes at nodes.

calc_hillshade_at_node

Get array of hillshade.

calc_net_flux_at_node

Calculate net link fluxes at nodes.

calc_slope_at_node

Array of slopes at nodes, averaged over neighboring patches.

cell_area_at_node

Cell areas in a nnodes-long array.

closed_boundary_nodes

Get array of closed boundary nodes.

core_nodes

Get array of core nodes.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

map_node_to_cell

Map values for nodes to cells.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

node_at_core_cell

Get array of nodes associated with core cells.

node_at_link_head

Get nodes at link head.

node_at_link_tail

Get nodes at link tail.

node_axis_coordinates

Get the coordinates of nodes along a particular axis.

node_has_boundary_neighbor

Check if ModelGrid nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

nodes

Get identifier for each node.

nodes_at_link

Get nodes at either end of links.

nodes_at_patch

Get the nodes that define a patch.

number_of_core_nodes

Number of core nodes.

number_of_node_columns

Number of node columns hex grid.

number_of_node_rows

Number of node rows in a rectangular-shaped and/or horizontally oriented hex grid.

number_of_nodes

Get total number of nodes.

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.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

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_node

Get array of the boundary status for each node.

unit_vector_sum_xcomponent_at_node

Get array of x-component of unit vector sums at each node.

unit_vector_sum_ycomponent_at_node

Get array of y-component of unit vector sums at each node.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

x_of_node

Get x-coordinate of node.

xy_of_node

Get x and y-coordinates of node.

y_of_node

Get y-coordinate of node.

active_link_dirs_at_node

Return link directions into each node.

active_links

Get array of active links.

angle_of_link

Get the angle of each link.

angle_of_link_about_head

Find and return the angle of a link about the node at the link head.

calc_diff_at_link

Calculate differences of node values over links.

calc_grad_at_link

Calculate gradients of node values at links.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_links

Get array of fixed links.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

links_at_node

Get links touching a node.

links_at_patch

Get the links that define a patch.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

midpoint_of_link

Get the middle of links.

number_of_active_links

Number of active links.

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.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

resolve_values_on_links

Resolve the xy-components of links.

status_at_link

Get array of the status of all links.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

area_of_patch

Get the area of each patch.

calc_grad_at_patch

Calculate the components of the gradient at each patch.

calc_slope_at_patch

Calculate the slope (positive magnitude of gradient) at patches.

calc_unit_normal_at_patch

Calculate and return the unit normal vector <a, b, c> to a patch.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

number_of_patches

Get the number of patches.

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.

patches_at_link

Get the patches on either side of each link.

patches_at_node

Get the patches that touch each node.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

xy_of_patch

Get the centroid of each patch.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_link_dirs_at_node

Return link directions into each node.

all_node_azimuths_map

Get azimuths from every node to every other node.

all_node_distances_map

Get distances from every node to every other node.

boundary_nodes

Get array of boundary nodes.

calc_aspect_at_node

Get array of aspect of a surface.

calc_distances_of_nodes_to_point

Get distances for nodes to a given point.

calc_flux_div_at_cell

Calculate divergence of link-based fluxes at cells.

calc_flux_div_at_node

Calculate divergence of link-based fluxes at nodes.

calc_hillshade_at_node

Get array of hillshade.

calc_net_flux_at_node

Calculate net link fluxes at nodes.

calc_slope_at_node

Array of slopes at nodes, averaged over neighboring patches.

cell_area_at_node

Cell areas in a nnodes-long array.

closed_boundary_nodes

Get array of closed boundary nodes.

core_nodes

Get array of core nodes.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

map_node_to_cell

Map values for nodes to cells.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

node_at_core_cell

Get array of nodes associated with core cells.

node_axis_coordinates

Get the coordinates of nodes along a particular axis.

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_core_nodes

Number of core nodes.

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.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

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_node

Get array of the boundary status for each node.

unit_vector_sum_xcomponent_at_node

Get array of x-component of unit vector sums at each node.

unit_vector_sum_ycomponent_at_node

Get array of y-component of unit vector sums at each node.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

active_link_dirs_at_node

Return link directions into each node.

active_links

Get array of active links.

angle_of_link_about_head

Find and return the angle of a link about the node at the link head.

calc_diff_at_link

Calculate differences of node values over links.

calc_grad_at_link

Calculate gradients of node values at links.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_links

Get array of fixed links.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

number_of_active_links

Number of active links.

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.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

resolve_values_on_links

Resolve the xy-components of links.

status_at_link

Get array of the status of all links.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

calc_grad_at_patch

Calculate the components of the gradient at each patch.

calc_slope_at_patch

Calculate the slope (positive magnitude of gradient) at patches.

calc_unit_normal_at_patch

Calculate and return the unit normal vector <a, b, c> to a patch.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

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.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

active_links

Get array of active links.

adjacent_nodes_at_node

Get adjacent nodes.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

node_at_link_head

Get nodes at link head.

node_at_link_tail

Get nodes at link tail.

nodes

Get identifier for each node.

nodes_at_link

Get nodes at either end of links.

number_of_nodes

Get total number of nodes.

perimeter_nodes

Get nodes on the convex hull of a Graph.

status_at_node

Get array of the boundary status for each node.

x_of_node

Get x-coordinate of node.

xy_of_node

Get x and y-coordinates of node.

y_of_node

Get y-coordinate of node.

angle_of_link

Get the angle of each link.

calc_grad_at_link

Calculate gradients of node values at links.

length_of_link

Get the length of links.

links_at_node

Get links touching a node.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

midpoint_of_link

Get the middle of links.

status_at_link

Get array of the status of all links.

x_of_link

Get array of the x-coordinates of link midpoints.

y_of_link

Get array of the y-coordinates of link midpoints.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_link_dirs_at_node

Return link directions into each node.

adjacent_nodes_at_node

Get adjacent nodes.

all_node_azimuths_map

Get azimuths from every node to every other node.

all_node_distances_map

Get distances from every node to every other node.

boundary_nodes

Get array of boundary nodes.

calc_aspect_at_node

Get array of aspect of a surface.

calc_distances_of_nodes_to_point

Get distances for nodes to a given point.

calc_flux_div_at_cell

Calculate divergence of link-based fluxes at cells.

calc_flux_div_at_node

Calculate divergence of link-based fluxes at nodes.

calc_hillshade_at_node

Get array of hillshade.

calc_net_flux_at_node

Calculate net link fluxes at nodes.

calc_slope_at_node

Array of slopes at nodes, averaged over neighboring patches.

cell_area_at_node

Cell areas in a nnodes-long array.

closed_boundary_nodes

Get array of closed boundary nodes.

core_nodes

Get array of core nodes.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

map_node_to_cell

Map values for nodes to cells.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

node_at_core_cell

Get array of nodes associated with core cells.

node_at_link_head

Get nodes at link head.

node_at_link_tail

Get nodes at link tail.

node_axis_coordinates

Get the coordinates of nodes along a particular axis.

node_has_boundary_neighbor

Check if ModelGrid nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

nodes

Get identifier for each node.

nodes_at_link

Get nodes at either end of links.

nodes_at_patch

Get the nodes that define a patch.

number_of_core_nodes

Number of core nodes.

number_of_nodes

Get total number of nodes.

number_of_nodes_in_ring

Number of nodes in each ring.

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.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

perimeter_nodes

Get nodes on the convex hull of a Graph.

radius_at_node

Distance for center node to each node.

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_node

Get array of the boundary status for each node.

unit_vector_sum_xcomponent_at_node

Get array of x-component of unit vector sums at each node.

unit_vector_sum_ycomponent_at_node

Get array of y-component of unit vector sums at each node.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

x_of_node

Get x-coordinate of node.

xy_of_node

Get x and y-coordinates of node.

y_of_node

Get y-coordinate of node.

active_link_dirs_at_node

Return link directions into each node.

active_links

Get array of active links.

angle_of_link

Get the angle of each link.

angle_of_link_about_head

Find and return the angle of a link about the node at the link head.

calc_diff_at_link

Calculate differences of node values over links.

calc_grad_at_link

Calculate gradients of node values at links.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_links

Get array of fixed links.

length_of_link

Get the length of links.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

links_at_node

Get links touching a node.

links_at_patch

Get the links that define a patch.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

midpoint_of_link

Get the middle of links.

number_of_active_links

Number of active links.

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.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

resolve_values_on_links

Resolve the xy-components of links.

status_at_link

Get array of the status of all links.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

area_of_patch

Get the area of each patch.

calc_grad_at_patch

Calculate the components of the gradient at each patch.

calc_slope_at_patch

Calculate the slope (positive magnitude of gradient) at patches.

calc_unit_normal_at_patch

Calculate and return the unit normal vector <a, b, c> to a patch.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

number_of_patches

Get the number of patches.

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.

patches_at_link

Get the patches on either side of each link.

patches_at_node

Get the patches that touch each node.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

xy_of_patch

Get the centroid of each patch.

active_adjacent_nodes_at_node

Adjacent nodes for each grid node.

active_link_dirs_at_node

Return link directions into each node.

adjacent_nodes_at_node

Get adjacent nodes.

all_node_azimuths_map

Get azimuths from every node to every other node.

all_node_distances_map

Get distances from every node to every other node.

boundary_nodes

Get array of boundary nodes.

calc_aspect_at_node

Get array of aspect of a surface.

calc_distances_of_nodes_to_point

Get distances for nodes to a given point.

calc_flux_div_at_cell

Calculate divergence of link-based fluxes at cells.

calc_flux_div_at_node

Calculate divergence of link-based fluxes at nodes.

calc_hillshade_at_node

Get array of hillshade.

calc_net_flux_at_node

Calculate net link fluxes at nodes.

calc_slope_at_node

Array of slopes at nodes, averaged over neighboring patches.

cell_area_at_node

Cell areas in a nnodes-long array.

closed_boundary_nodes

Get array of closed boundary nodes.

core_nodes

Get array of core nodes.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_gradient_boundary_nodes

Get array of fixed gradient boundary nodes.

fixed_value_boundary_nodes

Get array of fixed value boundary nodes.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

map_node_to_cell

Map values for nodes to cells.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

node_at_core_cell

Get array of nodes associated with core cells.

node_at_link_head

Get nodes at link head.

node_at_link_tail

Get nodes at link tail.

node_axis_coordinates

Get the coordinates of nodes along a particular axis.

node_has_boundary_neighbor

Check if ModelGrid nodes have neighbors that are boundary nodes.

node_is_boundary

Check if nodes are boundary nodes.

nodes

Get identifier for each node.

nodes_at_link

Get nodes at either end of links.

nodes_at_patch

Get the nodes that define a patch.

number_of_core_nodes

Number of core nodes.

number_of_nodes

Get total number of nodes.

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.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

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_node

Get array of the boundary status for each node.

unit_vector_sum_xcomponent_at_node

Get array of x-component of unit vector sums at each node.

unit_vector_sum_ycomponent_at_node

Get array of y-component of unit vector sums at each node.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

x_of_node

Get x-coordinate of node.

xy_of_node

Get x and y-coordinates of node.

y_of_node

Get y-coordinate of node.

active_link_dirs_at_node

Return link directions into each node.

active_links

Get array of active links.

angle_of_link

Get the angle of each link.

angle_of_link_about_head

Find and return the angle of a link about the node at the link head.

calc_diff_at_link

Calculate differences of node values over links.

calc_grad_at_link

Calculate gradients of node values at links.

downwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are downwind of each node, according to values (array or field).

fixed_links

Get array of fixed links.

length_of_link

Get the length of links.

link_at_node_is_downwind

Return a boolean the same shape as links_at_node which flags links which are downwind of the node as True.

link_at_node_is_upwind

Return a boolean the same shape as links_at_node which flags links which are upwind of the node as True.

links_at_node

Get links touching a node.

links_at_patch

Get the links that define a patch.

map_downwind_node_link_max_to_node

Map the largest magnitude of the links carrying flux from the node to the node.

map_downwind_node_link_mean_to_node

Map the mean magnitude of the links carrying flux out of the node to the node.

map_link_head_node_to_link

Map values from a link head nodes to links.

map_link_tail_node_to_link

Map values from a link tail nodes to links.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_link_nodes_to_link

Map the maximum of a link's nodes to the link.

map_max_of_node_links_to_node

Map the maximum value of a nodes' links to the node.

map_mean_of_link_nodes_to_link

Map the mean of a link's nodes to the link.

map_min_of_link_nodes_to_link

Map the minimum of a link's nodes to the link.

map_min_of_node_links_to_node

Map the minimum value of a nodes' links to the node.

map_upwind_node_link_max_to_node

Map the largest magnitude of the links bringing flux into the node to the node.

map_upwind_node_link_mean_to_node

Map the mean magnitude of the links bringing flux into the node to the node.

map_value_at_downwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links carrying fluxes out of the node, found in a second node array or field.

map_value_at_max_node_to_link

Map the the value found in one node array to a link, based on the maximum value found in a second node field or array.

map_value_at_min_node_to_link

Map the the value found in one node array to a link, based on the minimum value found in a second node field or array.

map_value_at_upwind_node_link_max_to_node

Map the the value found in one link array to a node, based on the largest magnitude value of links bringing fluxes into the node, found in a second node array or field.

midpoint_of_link

Get the middle of links.

number_of_active_links

Number of active links.

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.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

resolve_values_on_links

Resolve the xy-components of links.

status_at_link

Get array of the status of all links.

upwind_links_at_node

Return an (nnodes, X) shape array of link IDs of which links are upwind of each node, according to values (field or array).

area_of_patch

Get the area of each patch.

calc_grad_at_patch

Calculate the components of the gradient at each patch.

calc_slope_at_patch

Calculate the slope (positive magnitude of gradient) at patches.

calc_unit_normal_at_patch

Calculate and return the unit normal vector <a, b, c> to a patch.

map_link_vector_sum_to_patch

Map the vector sum of links around a patch to the patch.

map_max_of_patch_nodes_to_patch

Map the maximum value of nodes around a patch to the patch.

map_mean_of_patch_nodes_to_patch

Map the mean value of nodes around a patch to the patch.

map_min_of_patch_nodes_to_patch

Map the minimum value of nodes around a patch to the patch.

number_of_patches

Get the number of patches.

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.

patches_at_link

Get the patches on either side of each link.

patches_at_node

Get the patches that touch each node.

patches_present_at_link

A boolean array, False where a patch has a closed node or is missing.

patches_present_at_node

A boolean array, False where a patch has a closed node or is missing.

xy_of_patch

Get the centroid of each patch.

Next
Corners, Faces, and Cells
Previous
List of Grid Methods
Copyright © 2025, The Landlab Team
Made with Sphinx and @pradyunsg's Furo
Powered by CSDMS