dea-notebooks icon indicating copy to clipboard operation
dea-notebooks copied to clipboard

pyTMD.constants moved to pyTMD.constants.solve

Open jessjaco opened this issue 9 months ago • 2 comments

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: https://github.com/GeoscienceAustralia/dea-notebooks/blob/3d62bb37c77dead10abea20792c8ad51c9fc54dc/Tools/dea_tools/coastal.py#L248 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 avatar May 03 '24 00:05 jessjaco