xarray_load
- PlasmaCalcs.tools.xarray_tools.xarray_io.xarray_load(filename, *, restore_multi_index=True, unstringify_bool_attrs=True, unexpand_dict_attrs=True, **kw__xarray_open)
load the array or dataset from filename.pcxarr.
filename: strwhere to load the array from. Extension “.pcxarr” will be added if not present.restore_multi_index: boolwhether to restore MultiIndexes if ‘reset_multi_index:{d}’ in attrs (for some d)unstringify_bool_attrs: boolwhether to convert stringified-bool-valued attributes back into bools.(stringified-bool-valued attributes have value “__bool=True__” or “__bool=False__”)unexpand_dict_attrs: boolwhether to unexpand expanded-dict-valued attrs attributes back into dicts.(expanded-dict-valued attrs look like “__dictattr_{origattrname}__{dictkey}__”)(will be applied after unstringify_bool_attrs.)additional kwargs go to xarray.open_dataarray, or xarray.open_datasetif ‘filepath’ not in result.attrs, add ‘filepath’: abspath(filename).