Conversation
|
Found the problems: but that needs to be of type for the concatenation to work. In addition Writing some code now... |
Codecov Report
@@ Coverage Diff @@
## main-dev #493 +/- ##
=========================================
Coverage 76.61% 76.61%
=========================================
Files 97 97
Lines 17357 17358 +1
=========================================
+ Hits 13298 13299 +1
Misses 4059 4059
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
jgliss
left a comment
There was a problem hiding this comment.
To test that CI passes, I think you need to remove the upper version limit in setup.py (section install_requires) and in pyaerocom_env.yml. Right now it should still be testing iris<3.1.0
|
I have removed the limitation of the iris version in setup.py. CI still works :-) |
jgliss
left a comment
There was a problem hiding this comment.
You also need to update iris version in file pyaerocom_env.yml
setup.py
Outdated
| python_requires = '>=3.7,<4', | ||
| install_requires = [ | ||
| 'scitools-iris>=3.0.1,<3.1.0', | ||
| 'scitools-iris>=3.0.1', |
There was a problem hiding this comment.
Maybe:
| 'scitools-iris>=3.0.1', | |
| 'scitools-iris>=3.1.0', |
There was a problem hiding this comment.
I think we should set it to 3.1.0.
There was a problem hiding this comment.
done, although that API is not new. Has been there since at least v1.9. https://scitools.org.uk/iris/docs/v1.9.0/html/iris/iris/cube.html#iris.cube.CubeList.concatenate_cube
There was a problem hiding this comment.
pyaerocom_env.yml has been updated as well
…fact that we use an official API call now
1st try for an iris 3.1.0 patch