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
But I haven't gotten further in identifying the exact variable(s) and condition that lead to it.
This PR shows echopype-examples notebooks with this warning. See notebooks 2 & 3. The warning occurs on either open_raw or to_zarr. In notebook 2 (hake data) it only happens 3 times, which I assume means 3 files out of the total 170 raw files that are handled.
In some circumstances which we haven't fully isolated, a warning is emitted by xarray:
...
site-packages/xarray/core/duck_array_ops.py
:188: RuntimeWarning: invalid value encountered in castreturn data.astype(dtype, **kwargs)
Using a test OOI EK60 file, the warning is triggered by
utils/coding.py:sanitize_dtypes
onopen_raw
, here:echopype/echopype/utils/coding.py
Lines 69 to 70 in 5abca87
But I haven't gotten further in identifying the exact variable(s) and condition that lead to it.
This PR shows echopype-examples notebooks with this warning. See notebooks 2 & 3. The warning occurs on either
open_raw
orto_zarr
. In notebook 2 (hake data) it only happens 3 times, which I assume means 3 files out of the total 170 raw files that are handled.Originally reported in #1153
The text was updated successfully, but these errors were encountered: