PlasmaCalcs.tools.xarray_tools.xarray_coords.xarray_promote_index_coords
- PlasmaCalcs.tools.xarray_tools.xarray_coords.xarray_promote_index_coords(array, coords=None)
- promote to dims all ‘{cname}_index’ coords for which ‘{cname}’ is associated with a 1D dim.
- coords: None, str, or list of str
- coords (with or without ‘_index’ suffix) to consider promoting to dims.None –> all index coords.str –> treat as list of 1 element.