- DataSet.strip_variables(self, vars=None)#
strip_variables: Remove any variables, such as bnds etc., from variables.
This should probably only be done at the end of a processing chain before converting to a dataframe etc., as it is stripping away critical info for netCDF operations.
vars (str or list) – individual or list of variables to select and strip. All variables will be stripped if this is not defined.