tc_rainfield: tests for tracks crossing the antimeridian#105
tc_rainfield: tests for tracks crossing the antimeridian#105emanuel-schmid merged 13 commits intodevelopfrom
Conversation
|
I can confirm this works with the current changes in CLIMADA-project/climada_python#839 |
|
Thanks for checking! |
|
After merging CLIMADA-project/climada_python#839, the pipeline still fails. These are the errors: I don't really understand how these come about because the |
This is exactly the kind of error that we get when working with the version of |
|
@emanuel-schmid, how often is the Core updated in the Petals pipeline? |
Depends - usually it is up to the develop branch. But since release 4.1 it is pinned to 4.1.0 (from pypi), hence: not. The idea was to make the transition to 5 smoother. |
|
Ah, I was not aware that this had already taken effect. Is there a way to parameterize this? So that, e.g., one may set the Core version in one of the Jenkins scripts to make sure that a branch of Petals works with the particular target version of Core? We would just need something like |
|
This wouldn't be safe, unless we had a virtual environment for each branch. Having a persistent conda environment for each branch is not feasible given the limited space on the server. Having a temporary environment for each branch is not ideal because of the building costs. Maybe a venv environment on top of the conda environment could be a solution or manipulating the PYTHONPATH. I'm going to look into these. |
|
True, we would manipulate the persistent environment. It should not be long until we merge the Centroids update, so I think this is not urgent. I wanted to give the GitHub Actions for Petals a shot anyway, maybe I can solve it there. This way, we can keep the Jenkins pipeline as is. |
Changes proposed in this PR:
TCRainso that it profits from the fix ofTropCycloneproposed in trop_cyclone: fix for tracks crossing antimeridian climada_python#839 This PR is also necessary for compatibility with the changes proposed there!TCSurgeBathtubunit tests to be compatible with the changes in climada_python#833.TCRainandTCSurgeBathtubto cover the case where a TC track crosses the antimeridian to prevent issues like climada_python#831 in the future.PR Author Checklist
develop)PR Reviewer Checklist