Closed Metamess closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
3951355
) 95.44% compared to head (597b2ff
) 95.44%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Hi @Metamess,
Thank you for providing this great fix! I think the xarray documentation is not great when explaining exactly how all this matching works, but I could get the relevant data, reproduce the bug and confirm that your fix works. I just added a couple of tests using very small data, and fixed the 'black' formatting (you may have noticed that the 'code style' test failed. Hopefully it will go through now, and then I will merge it in. I also appreciated your comprehensive description of the problem - very helpful! Cheers, Iain
closes #336
Fixes a bug where cfgrib would incorrectly combine two different variables if they happened to have the same shortName and data. For example, all-zeroes data GRIB messages with
stepType='instant'
andstepType='avg'
attributes forcsrwe
(Convective snowfall rate water equivalent) on days without snow.