You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to run CoastSat on Colab. I managed to get it running until the point where pyfes is needed. I managed to install pyfes but when I run the following line:
# Option 1. if FES2014 global tide model is setup
# point to the folder where you downloaded the .nc files
filepath = r'/content/drive/MyDrive/aviso-fes-main/data/fes2014'
config_ocean = os.path.join(filepath, 'ocean_tide.ini') # change to ocean_tide.ini
config_load = os.path.join(filepath, 'load_tide.ini') # change to load_tide.ini
ocean_tide = pyfes.Handler("ocean", "io", config_ocean)
load_tide = pyfes.Handler("radial", "io", config_load)
I get the following error:
AttributeError Traceback (most recent call last)
[<ipython-input-14-f2ca7493019e>](https://localhost:8080/#) in <cell line: 7>()
5 config_ocean = os.path.join(filepath, 'ocean_tide.ini') # change to ocean_tide.ini
6 config_load = os.path.join(filepath, 'load_tide.ini') # change to load_tide.ini
----> 7 ocean_tide = pyfes.Handler("ocean", "io", config_ocean)
8 load_tide = pyfes.Handler("radial", "io", config_load)
9
AttributeError: module 'pyfes' has no attribute 'Handler'
Any idea?
Thanks
The text was updated successfully, but these errors were encountered:
hi @cianfabio , I'm not sure how I can help here. How did you install pyfes? with https://anaconda.org/fbriol/pyfes?
Hi @kvos, I installed successful pyfes but I still get error: ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[7], line 7
5 config_ocean = os.path.join(filepath, 'ocean_tide.ini') # change to ocean_tide.ini
6 config_load = os.path.join(filepath, 'load_tide.ini') # change to load_tide.ini
----> 7 ocean_tide = pyfes.Handler("ocean", "io", config_ocean)
8 load_tide = pyfes.Handler("radial", "io", config_load)
10 # coordinates of the location (always select a point 1-2km offshore from the beach)
11 # if the model returns NaNs, change the location of your point further offshore.
AttributeError: module 'pyfes' has no attribute 'Handler'.
Hi,
I'm trying to run CoastSat on Colab. I managed to get it running until the point where pyfes is needed. I managed to install pyfes but when I run the following line:
I get the following error:
Any idea?
Thanks
The text was updated successfully, but these errors were encountered: