-
Notifications
You must be signed in to change notification settings - Fork 77
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
Review/change handling of negative echo_range
in calibration outputs
#737
Comments
See #968 (comment) for the divide by zero warnings on ek80_bb_complex and ek80_cw_power range tests. |
I'm seeing the divide-by-zero error on BTW, this warning doesn't happen with 0.6.3. |
@leewujung I've isolated the source of these log10 warnings. They're all in
Strictly speaking, something like this for both x = x.where(x > 0, eps) where What do you suggest? |
Can we close this now? I'm not 100% sure that the exact scope of the issue was addressed by #986 |
I think this is addressed -- reading the description again I am not sure why data combination has anything to do with the range dimension. But I am glad that the range computation was reviewed/revised when range computation was factored out, and the log10(0) or log10(neg values) warning issue was resolved. |
Right now we set all negative
echo_range
to 0 at the end ofcompute_range
, which causes problems when trying to combine datasets (#578)echopype/echopype/echodata/echodata.py
Line 473 in 12693a7
This issue is a reminder to review this and change/fix related operations in calibration.
The text was updated successfully, but these errors were encountered: