polartoolkit.make_data_dict#
- make_data_dict(names, grids, colors, axes=None)[source]#
Create nested dictionary of data and attributes
- Parameters:
grids (list[str or xarray.DataArray]) โ files or xarray.DataArrayโs
axes (list[int]) โ y axes to use for each data. By default all data are on axis 0. Only 0 and 1 are used, if you supply values > 1, they will use the same axis as 1.
- Returns:
Nested dictionaries of grids and attributes
- Return type: