metno / pyaerocom

Python tools for climate and air quality model evaluation
https://pyaerocom.readthedocs.io/
GNU General Public License v3.0
25 stars 13 forks source link

Fix res_grid_deg bug to allow either floats or a dict #1227

Closed lewisblake closed 3 months ago

lewisblake commented 3 months ago

Change Summary

Update res_grid_deg in colocation_setup.py to be either a float, dict, or None

Related issue number

Close #1226

Checklist

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.30%. Comparing base (e992544) to head (2a575be). Report is 466 commits behind head on main-dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main-dev #1227 +/- ## ============================================ - Coverage 79.31% 79.30% -0.01% ============================================ Files 131 131 Lines 20234 20246 +12 ============================================ + Hits 16048 16057 +9 - Misses 4186 4189 +3 ``` | [Flag](https://app.codecov.io/gh/metno/pyaerocom/pull/1227/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=metno) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/metno/pyaerocom/pull/1227/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=metno) | `79.30% <100.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=metno#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.