openradar / xradar

A tool to work in weather radar data in xarray
https://docs.openradarscience.org/projects/xradar
MIT License
97 stars 17 forks source link

FIX: only skip setting cf-attributes if both gain and offset are unused #85

Closed kmuehlbauer closed 1 year ago

kmuehlbauer commented 1 year ago

So this is unfortunate, as this slipped through the cracks. But anyway version numbers are cheap. :man_facepalming:

codecov[bot] commented 1 year ago

Codecov Report

Merging #85 (59915eb) into main (cfae676) will decrease coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   88.00%   87.97%   -0.04%     
==========================================
  Files          18       18              
  Lines        3227     3227              
==========================================
- Hits         2840     2839       -1     
- Misses        387      388       +1     
Flag Coverage Δ
unittests 87.97% <100.00%> (-0.04%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
xradar/io/backends/odim.py 88.13% <100.00%> (ø)
xradar/io/backends/iris.py 84.75% <0.00%> (-0.10%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.