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

discontinue dfmt.copernicusmarine_reset() function #811

Open
veenstrajelmer opened this issue Mar 25, 2024 · 0 comments
Open

discontinue dfmt.copernicusmarine_reset() function #811

veenstrajelmer opened this issue Mar 25, 2024 · 0 comments

Comments

@veenstrajelmer
Copy link
Collaborator

veenstrajelmer commented Mar 25, 2024

[CMCS-176] Series of version upgrade in the same environment might alter execution on WindowsOS (from EDITO-INFRA chat). CMEMS API fails sometimes, fix is below. >> should be fixed in cmc 0.10.3 but still happens in copernicusmarine 1.0.0. Would be nice to have a reset function in the toolbox itself.

Fix for metadata/attributeerror or other things (updated to copernicusmarine 1.0.0):

  • re-retrieving the catalog: copernicusmarine describe --overwrite-metadata-cache > catalogue.json (this works but copernicusmarine.describe(overwrite_metadata_cache=True) hangs)
  • was also suggested to add overwrite_metadata_cache to python code, but this did not do the trick
  • deleting ~/.copernicusmarine folder
  • or just run dfmt.download.copernicusmarine_reset(): add reset function for copernicus #713 and Increased cmc minimal version #721

Also increase minimal version in pyproject.toml

UPDATE: The dfmt.download.copernicusmarine_reset() function was still required in May 2024: #832

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