get_node_mesh: Retrieve the node-based mesh with assigned values

View source: R/extract.R

get_node_meshR Documentation

Retrieve the node-based mesh with assigned values

Description

Retrieve the node-based mesh with assigned values

Usage

get_node_mesh(
  x,
  vars = "zeta",
  mesh = get_node_mesh_geometry(x, ordered = FALSE),
  fun = mean,
  na.rm = TRUE,
  ...
)

Arguments

x

FVCOM ncdf4 object

vars

character one or more variable names

mesh

the mesh geometry

fun

function to summarize the variable for each polygon

na.rm

logical

...

further arguments for selecting get_node_var

Value

sf object with mesh geometry and the var (computed as fun of nodes)


BigelowLab/fvcom documentation built on Nov. 8, 2024, 2:24 p.m.