sup3r.preprocessing.utilities#
Methods used across container objects.
Functions
|
Make sure signatures of objects can be parsed for required arguments. |
|
Get composite signature and doc string for given set of objects. |
|
Get composite signature from command documentation instance. |
|
Apply compute method to input if it consists of a dask array or slice with dask elements. |
|
Check if vals contain an ellipse. |
|
Return a tuple of (dims, array) with dims equal to the ordered slice of Dimension.order() with the same len as arr.shape. |
|
Expand path(s) |
|
Get kwargs which match obj signature. |
|
Get kwargs for pd.date_range from a DatetimeIndex. |
|
Get the |
|
Get available signature parameters for obj and obj bases |
|
Get data source type |
|
Check if vals is an instance of type or group of that type. |
|
Decorator to log annotations and args. |
|
Set all fields / coords / dims to lower case. |
|
Return a lower case version of the given str or list of strings. |
|
Function to make a pandas DatetimeIndex from the |
|
Cast array to numpy array if it is a tensor. |
|
Transpose arrays so they have a (space, time, ...) or (space, time, ..., feature) ordering. |
|
Return the order of dims that follows the ordering of Dimension.order() for the common dim names. |
|
Replace ellipsis with N slices where N is dim_num - len(vals) + 1 |
|
Parse possible inputs for features (list, str, None, 'all'). |
|
Return set of features and slices for all dimensions contained in dataset that can be passed to isel and transposed to standard dimension order. |
|
Parse features and return as a list, even if features is a string. |