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
I am using pyfes in a Windows environment (Python 3.8) to load a YAML file with tidal data, but I am encountering the following error when trying to initialize a Handler:
RuntimeError: The configuration file defines no tide wave
Context:
Installation:
I installed pyfes in a Conda environment using the fbriol channel:
conda install pyfes -c fbriol
I confirmed that pyfes is installed correctly and appears in site-packages.
Files:
My .nc files contain valid data in the variables Ua (amplitude) and Ug (phase), with dimensions lat (180) and lon (360), covering the longitude range -180 to 180.
YAML file: Here is a simplified example of my YAML file for testing:
tide:
cartesian:
amplitude: Ua
latitude: lat
longitude: lon
paths:
M2: C:/path/to/my/file/m2.nc
phase: Ug
Test script: I am running the following Python script to test pyfes:
RuntimeError: The configuration file defines no tide wave
Questions:
Could this issue be related to the structure of the .nc files or the attributes expected by pyfes?
Is there a way to debug this error to identify exactly what part of the YAML file or .nc files is not being recognized?
Are there official YAML examples available to validate whether my configuration is compatible?
I appreciate any guidance on how to resolve this issue. Thank you in advance for your help!
The text was updated successfully, but these errors were encountered:
Hello,
I am using pyfes in a Windows environment (Python 3.8) to load a YAML file with tidal data, but I am encountering the following error when trying to initialize a Handler:
RuntimeError: The configuration file defines no tide wave
Context:
Files:
YAML file: Here is a simplified example of my YAML file for testing:
tide:
cartesian:
amplitude: Ua
latitude: lat
longitude: lon
paths:
M2: C:/path/to/my/file/m2.nc
phase: Ug
Test script: I am running the following Python script to test pyfes:
Results:
The error persists:
RuntimeError: The configuration file defines no tide wave
Questions:
I appreciate any guidance on how to resolve this issue. Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: