splitvar/utils.py
def unflag_bounds(ds):
    """
    Cycle through all the variables in a dataset and unflag variables which
    are bounds by deleting any bounds_var
    """
    for name in ds.variables:
        try:
            del(ds[name].attrs[boundsvar])
        except KeyError:
            pass

    Cycle through all the variables in a dataset and unflag variables which
    are bounds by deleting any bounds_var
    
Cycle through all the variables in a dataset and unflag variables which
are bounds by deleting any bounds_var
Cycle through all the variables in a dataset and unflag variables which are bounds by deleting any bounds_var
def unflag_bounds(ds):
    for name in ds.variables:
        try:
            del(ds[name].attrs[boundsvar])
        except KeyError:
            pass
def unflag_bounds ( ds ) : for name in ds . variables : try : del ( ds [ name ] . attrs [ boundsvar ] ) except KeyError : pass
Cycle through all the variables in a dataset and unflag variables which
are bounds by deleting any bounds_var
Cycle through all the variables in a dataset and unflag variables which are bounds by deleting any bounds_var
"""
    Cycle through all the variables in a dataset and unflag variables which
    are bounds by deleting any bounds_var
    """
ds