-
Notifications
You must be signed in to change notification settings - Fork 15
fix: histogram only on non-nan values #15
fix: histogram only on non-nan values #15
Conversation
Putting this one on hold until after #9 |
Somehow there are no conflicts 😱 Sara, please update the changelog and then should be good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks to me! As a minor thing I would add a comment to explain that because of the postprocessors being applied, then the data might contains NaNs
In addition to fixing the issue, I noticed that the histogram plot containing histograms for the true and predicted variable does not fix the range of the bins. This leads to bins of different sizes and at different positions. Therefore, the histograms do not allow a fair comparison of the two variables if the values lie in different ranges. The effect on the histogram plotted after few epochs, when the differences are still high, is clearly visible: I also changed the name of the label "Truth (ERA5)" to "Truth (data)" @anaprietonem, can you please have a look at the additional changes? |
|
Yes. |
That is a very good proposal. I changed it in the other plot as well. Yes, ERA5 is not necessarily used by everyone. I also want to point out that this is not the meteorological truth, but what our model considers as true data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes applied to the histogram function looks good to me!
Fix issue #14