View source: R/Extractor functions STRATHE2E.R
get_grid_W_StrathE2E | R Documentation |
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".
get_grid_W_StrathE2E(path, file, space)
path |
The path to the NEMO-MEDUSA model outputs. |
file |
The name of a netcdf file containing the title variables. |
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.
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.
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.