roocs / clisops

Climate Simulation Operations
https://clisops.readthedocs.io/en/latest/
Other
21 stars 9 forks source link

Fix issue 308 fillvalue #309

Closed cehbrecht closed 9 months ago

cehbrecht commented 9 months ago

Pull Request Checklist:

What kind of change does this PR introduce?:

Bug fix for issue #308

Does this PR introduce a breaking change?:

no.

Other information:

coveralls commented 9 months ago

Pull Request Test Coverage Report for Build 7049970048


Totals Coverage Status
Change from base Build 7049731524: 0.09%
Covered Lines: 1709
Relevant Lines: 2367

💛 - Coveralls
sol1105 commented 9 months ago

@cehbrecht I explained the changes in #308. I edited your test to assert the data type of the missing value and to assert the warning message is included in the logs. It works but if there is an easier / better way to check the logs, or you think asserting the log entry is not necessary, please adjust it.

Locally all tests (incl. the remapping tests) pass. Here (with the latest xarray version) some remapping tests fail as expected.