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
Describe the bug
I have downloaded the new FES2022b tidal heights from aviso+ and installed the new pyfes package in a fresh conda environment.
I am testing the data/package using the example code for tide predictions but I only get nan values for the radial/load tide.
I've tried rewriting the yaml file to pass the paths to the handler. The handler is finding the files and reading the data. Is there something obvious I'm missing?
The ocean tide returns a result as expected.
To Reproduce
A short code example that reproduces the problem/missing feature. It should be
self-contained, i.e., possible to run as-is via python myproblem.py
2024.6.0
1.26.4
3.12.4 | packaged by conda-forge | (main, Jun 17 2024, 10:23:07) [GCC 12.3.0]
Additional context
On another note, I had to fix the numpy version to <2 when installing otherwise I got an error when loading pyfes. The error occurred when pyfes tried to load the netcdf4 package, and was as follows: ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Could this be related?
The text was updated successfully, but these errors were encountered:
I have tried using python 3.10 and 3.11 to no avail. I've also tried different numpy versions and had no luck. Is the version of pyfes the most up-to-date? I noticed on the online documentation the version reference is 2024.6.1, but the version on conda-forge is 2024.6.0.
FYI I solved this. The longitudes need to be given in a range from 0:360, not -180:180. This should be specified somewhere in the documentation and the example should be changed to reflect this.
I was also running into this issue, although shifting my longitude didn't seem to resolve, in the nc files of my ocean_tide, the bounds for the longitude are (0.0, 0.0) which matches the handbook, but I'm not sure why they would be this and not (0, 360). The bounds in the load_tide files are (0, 360), although I'm still failing to get results. Let me know if there was anything else you did to resolve this issue.
Describe the bug
I have downloaded the new FES2022b tidal heights from aviso+ and installed the new pyfes package in a fresh conda environment.
I am testing the data/package using the example code for tide predictions but I only get nan values for the radial/load tide.
I've tried rewriting the yaml file to pass the paths to the handler. The handler is finding the files and reading the data. Is there something obvious I'm missing?
The ocean tide returns a result as expected.
To Reproduce
A short code example that reproduces the problem/missing feature. It should be
self-contained, i.e., possible to run as-is via
python myproblem.py
My contents of my yaml file is listed below:
Expected behavior
I would expect non-nan values in the load tide variable.
pyfes/Numpy/Python version information
Output from
2024.6.0
1.26.4
3.12.4 | packaged by conda-forge | (main, Jun 17 2024, 10:23:07) [GCC 12.3.0]
Additional context
On another note, I had to fix the numpy version to <2 when installing otherwise I got an error when loading pyfes. The error occurred when pyfes tried to load the netcdf4 package, and was as follows:
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Could this be related?
The text was updated successfully, but these errors were encountered: