Strip Snow and Ice Variables at Depth
strip_ice.Rd
This function removes the snow and ice columns from a dataframe if depth = "D".
Arguments
- 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)
Value
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.
Details
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.
See also
Other NEMO-MEDUSA averages:
NM_boundary_summary()
,
NM_decadal_summary()
,
NM_volume_summary()
,
decadal()