Skip to contents

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.

Value

A dataframe containing a slabR scheme.

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.