scheme_column: Return a slabR Scheme for a StrathE2E Summary

View source: R/Schemes.R

scheme_columnR Documentation

Return a slabR Scheme for a StrathE2E Summary

Description

Use this scheme to extract the values for the nearest depth column to a point location.

Usage

scheme_column(space, bathymetry, sf = NULL)

Arguments

space

a list of latitudes, longitudes, and depths for NEMO-MEDUSA model output, as returned by 'get_spatial()'

bathymetry

a dataframe containg the NEMO_MEDUSA bathymetry.

sf

an sf point object defining the location to extract a representive water column for.

Details

The function takes the spatial information for a whole NEMO-MEDUSA file and identifies the grid point closest to a point location (the sf object). The returned sampling scheme contains every depth layer above the seafloor with an equal weight. To retrieve the average depth column over a time period, use the "slabR" analysis with 'NEMO_MEDUSA'. To Simply subset the depth column from model output, returning all values, use the "1D" analysis option.

Value

A dataframe containing a slabR scheme.

See Also

Other NEMO-MEDUSA spatial tools: calculate_depth_share(), calculate_proximity_weight(), netcdf_scheme_helpers, scheme_interp_slice(), scheme_strathE2E(), stratify(), voronoi_grid(), xyindex_to_nindex()


Jack-H-Laverick/nemomedusR documentation built on Dec. 12, 2022, 5:21 a.m.