def _tsslice(data: DataArray, start, end):
"""time series limit for xarray dataarray"""
return data.sel(time=slice(start, end))
def tsslice(data, *args, **kwargs):
return broadcast(data, _tsslice, *args, **kwargs)
polish_plot
polish_plot (plots:list[list[holoviews.core.element.Element]])
hide_xaxis_labels
hide_xaxis_labels (layout)
format_time_axis
format_time_axis (layout, xformatter=<matplotlib.dates.ConciseDateFormatter object at 0x7f21eb262b40>)
format_da_attrs_tplot
format_da_attrs_tplot (da:xarray.core.dataarray.DataArray)
Format attributes for tplot
DataArray.
/home/runner/work/space-analysis.py/space-analysis.py/.pixi/envs/default/lib/python3.12/site-packages/fastcore/docscrape.py:230: UserWarning: Unknown section Params
else: warn(msg)
nested_get
nested_get (d, keys, default=None)
Safely get a value from a nested dictionary.
tsplot
tsplot (data)
standardize_to_matrix
standardize_to_matrix (lst)
Convert input to a list of lists
broadcast
broadcast (iterable, func, *args, **kwargs)