-
Notifications
You must be signed in to change notification settings - Fork 0
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
high deep value test line 465 #6
Comments
Thanks for spotting this bug: I (think I) have now fixed it. |
into (not sure about python syntax and how to deal with nan values) iDEEP = np.where(PRES > C_DEPTH_THRESH)[0] # find deep part of the profile as BBPmf1 is already the median filtered value ? |
I think the issue is in how the test was described in v1 of the manuscript. In fact the test checks if the median value of the median-filteredf BBP values below C_DEPTH_THRESH is > C_DEEP_BBP700_THRESH. But we should also check that we have enough points below C_DEPTH_THRESH. So I have update the revised manuscript and the flow chart. Please let me know if you see other problems. |
if (np.nanmedian(BBPmf1[iDEEP]) > C_DEEP_BBP700_THRESH) & (len(BBPmf1[iDEEP]) >= C_N_of_ANOM_POINTS):
I think this part is not correct len(BBPmf1[iDEEP]) >= C_N_of_ANOM_POINTS, assuming that you are counting points deeper than the Pressure threshold and not anomalous points deeper than the Pressure threshold
The text was updated successfully, but these errors were encountered: