Henrik Andersson
Henrik Andersson
It can certainly be useful to scale data in a comparison between model and observation, but can already be handled in a pre-processing step by the data processing library (pandas,...
@FrejaTerpPetersen for the benefit of the interested reader... could you please include some sample code and screenshots of the new functionality in this description above. Visuals are easy to grasp,...
@FrejaTerpPetersen What is the status on this PR?
We need to be able align model results and observations to a common time axis. Is `method='nearest'` what you are after?
[`xarray.Dataset.drop`](https://docs.xarray.dev/en/stable/generated/[xarray.Dataset.drop](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.drop.html).html) discourages the use of drop in favor of `drop_vars` and `drop_sel`, probably because of the potential confusion of dropping both rows or columns with the same method.
I suppose we could forward the formatting to pandas https://pandas.pydata.org/pandas-docs/stable/user_guide/visualization.html#general-plot-style-arguments
```python import pandas as pd data = {'Model A': [10, 20, 30, 40, 50], 'Model B': [5, 10, 15, 20, 25], 'Observations': [1, 2, 3, 4, 5]} df = pd.DataFrame(data)...