Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to copernicusmarine toolbox 2.0 after release #933

Open
3 tasks
veenstrajelmer opened this issue Aug 8, 2024 · 0 comments
Open
3 tasks

update to copernicusmarine toolbox 2.0 after release #933

veenstrajelmer opened this issue Aug 8, 2024 · 0 comments

Comments

@veenstrajelmer
Copy link
Collaborator

veenstrajelmer commented Aug 8, 2024

https://github.com/mercator-ocean/copernicus-marine-toolbox/tree/copernicusmarine-toolbox-v2

Relevant tests: pytest tests/test_observations.py tests/test_download.py -m "not era5slow"
All tests are green on 11-10-2024 after running them with pre-release (pip install copernicusmarine==2.0.0a2)

However, all tests fail with copernicusmarine 2.0.0a3 since an argument for login() was updated: TypeError: login() got an unexpected keyword argument 'skip_if_user_logged_in'. There is a new more useful argument though: copernicusmarine.login(check_credentials_valid=True).

From Anais of CopernicusMarineService: "The version 2.0.0 should be officially out in November and there will be (at least) 6 months to allow you and other users, to migrate from version 1 to version 2. Support, guidance and even dedicated slots for helping to migrate will be proposed, depending on users' profiles."

Todo:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant