sup3r.preprocessing.utilities.parse_keys

Contents

sup3r.preprocessing.utilities.parse_keys#

parse_keys(keys, default_coords=None, default_dims=None, default_features=None)[source]#

Return set of features and slices for all dimensions contained in dataset that can be passed to isel and transposed to standard dimension order. If keys is empty then we just want to return the coordinate data, so features will be set to just the coordinate names.