You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coordinates clon_bnds and clat_bnds get lost in the xarray.DataArray stored in the dictionary output of select_data(). Those coordinates are needed if the xarray.DataArray should be converted to an xarray.Dataset and then used with psyplot.
-> find a way to keep those coordinates.
The text was updated successfully, but these errors were encountered:
One solution would be to add the coordinates manually to the data array... Not very elegant... da = da.assign_coords(clon_bnds=(["ncells", "vertices"],ds.clon_bnds.values))
Add histograms:
- Additional function for histograms in plot.py
- Additional entry point for histograms in cli.py
- Separated masking from aggregation as we want the data unaggregated for the binning into histograms
- Tests for histogram plot and results
Coordinates
clon_bnds
andclat_bnds
get lost in the xarray.DataArray stored in the dictionary output of select_data(). Those coordinates are needed if the xarray.DataArray should be converted to an xarray.Dataset and then used with psyplot.-> find a way to keep those coordinates.
The text was updated successfully, but these errors were encountered: