Skip to content
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

Fix ever-changing RDI RiverPro depth bin ranges #378

Merged
merged 5 commits into from
Feb 17, 2025

Conversation

jmcvey3
Copy link
Contributor

@jmcvey3 jmcvey3 commented Feb 8, 2025

Partial solution for Issue #368. Fixes an issue with a changing bin1_dist_m attribute, which was presumed constant before. Also solves an issue with changing surface layer cell sizes.
The RDI reader will now also explicitly return the range_offset that the user programmed into the instrument.

@jmcvey3
Copy link
Contributor Author

jmcvey3 commented Feb 12, 2025

@ssolson This PR should help Issue #368, and I'd like to get it merged before adding the discharge code.

Copy link
Contributor

@ssolson ssolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add cfg to the docstring here?

I also need to get #380 in before the tests will pass on your PRs.

@@ -949,7 +955,7 @@ def reshape(self, arr, n_bin=None):

return out

def finalize(self, dat):
def finalize(self, dat, cfg):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to add cfg to docstring

@jmcvey3 jmcvey3 merged commit 409822d into MHKiT-Software:develop Feb 17, 2025
15 of 16 checks passed
@jmcvey3 jmcvey3 deleted the rdi-range branch February 17, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants