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

Attribute Error: module 'pyfes' has no attribute 'load_config' #34

Open
AryanAdhau opened this issue Oct 10, 2024 · 0 comments
Open

Attribute Error: module 'pyfes' has no attribute 'load_config' #34

AryanAdhau opened this issue Oct 10, 2024 · 0 comments

Comments

@AryanAdhau
Copy link

Hii
I am working with CoastSat 3.1 for tidal corrections (https://github.com/kvos/CoastSat), and downloaded the updated fe2022b files from Aviso. However, I am getting the error while setting it up (while testing). The error is "Attribute Error: module 'pyfes' has no attribute 'load_config'". CoastSat requires Python 3.8 version. Is it the problem because of that? Could you help me with this.

import pyfes
<< >>> import pyfes
>>> import os
>>> filepath = os.path.join('D:', os.sep, 'Thesis', 'tide_model', 'fes2022b', 'fes2022.yaml')
>>> config = os.path.join(filepath, 'fes2022.yaml')
>>> handlers = pyfes.load_config(config)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'pyfes' has no attribute 'load_config'>>

I have kept my Aviso fes tide dataset in D drive while my CoastSat conda from where I intend to run pyfes is in C drive. Can this be the reason?

Thanks

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