strip_ice | R Documentation |
This function removes the snow and ice columns from a dataframe if depth = "D".
strip_ice(data, dt)
data |
A dataframe containing a summarised month from NEMO-MEDUSA model outputs, at a single depth. |
dt |
Switch for using either data.table or dplyr methods (TRUE/FALSE respectively) |
Some variables are only relevant in the shallow zone of StrathE2E polar. There is no sea-ice 60 m under the sea. This means, when dataframes containing both shallow and deep data are split by depth, empty columns can be introduced. These empty columns can cause problems in downstream functions, such as plotting by column. This function removes the empty columns.
If the 'data' contains shallow data, no action is taken. If 'data' contains deep data, columns for variables only relevant in the shallow zone are dropped.
Other NEMO-MEDUSA averages:
NM_boundary_summary()
,
NM_decadal_summary()
,
NM_volume_summary()
,
decadal()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.