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

pyTMD.constants moved to pyTMD.constants.solve #1223

Open
jessjaco opened this issue May 3, 2024 · 2 comments
Open

pyTMD.constants moved to pyTMD.constants.solve #1223

jessjaco opened this issue May 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jessjaco
Copy link

jessjaco commented May 3, 2024

I'm getting the error ModuleNotFoundError: No module named 'pyTMD.constants' when trying to run dea_tools.coastal.pixel_tides with dea-tools version 0.3.2 and pyTMD version 2.1.1.

pyTMD.constants, which is imported here:

import pyTMD.constants
has been moved to pyTMD.solve.constants, as described here. I'm not sure if this module is even needed in the code, but if it is then the code or version required should probably be updated.

@jessjaco jessjaco added the bug Something isn't working label May 3, 2024
@jessjaco
Copy link
Author

jessjaco commented May 3, 2024

This issue began with pyTMD version 2.1.1, version 2.1.0 still works.

@robbibt
Copy link
Collaborator

robbibt commented May 5, 2024

Hi @jessjaco, yep, pinning it to 2.10 is the solution for now - there were some big breaking changes in the most recent version of pyTMD that we haven't had a chance to look at yet. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants