get_grid_W_StrathE2E: Get Vertical Velocity and Vertical Eddy Diffusivity

View source: R/Extractor functions STRATHE2E.R

get_grid_W_StrathE2ER Documentation

Get Vertical Velocity and Vertical Eddy Diffusivity

Description

This function reads in the title variables from NEMO-MEDUSA model outputs and reshapes for StrathE2E. Vertical velocity and vertical eddy diffusivitiy can be found in files labelled "W".

Usage

get_grid_W_StrathE2E(path, file, space)

Arguments

path

The path to the NEMO-MEDUSA model outputs.

file

The name of a netcdf file containing the title variables.

Details

Each variable of interest in the netcdf file is imported, only reading within an x/y window specified with 'start3D' and 'count3D'. The values are then passed to 'stratify' to calculate two average matrices, one a weighted vertical average of the shallow zone, and the same for the deep zone. Latitude and longitudes are also attached to each horizontal pixel.

Value

A dataframe containing points and lat/lon coordinates, with the average NEMO-MEDUSA model outputs for title variables in the shallow and deep zone. The dataframe contains the data for a single day.

See Also

Other NEMO-MEDUSA variable extractors: NEMO_MEDUSA(), extractors_1D, extractors_slabR, get_grid_T_StrathE2E(), get_grid_U_StrathE2E(), get_grid_V_StrathE2E(), get_icemod_StrathE2E(), get_ptrc_T_StrathE2E(), get_spatial()


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