PlasmaCalcs.tools.xarray_tools.xarray_io.xarray_load

PlasmaCalcs.tools.xarray_tools.xarray_io.xarray_load(filename, *, restore_multi_index=True, **kw__xarray_open)
load the array or dataset from filename.pcxarr.
filename: str
where to load the array from. Extension “.pcxarr” will be added if not present.
restore_multi_index: bool
whether to restore MultiIndexes if ‘reset_multi_index:{d}’ in attrs (for some d)
additional kwargs go to xarray.open_dataarray, or xarray.open_dataset
if ‘filepath’ not in result.attrs, add ‘filepath’: abspath(filename).