-
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
Create more specific beam group descriptions for EK80 #671
Comments
Related to #719 and its upcoming implementation which will include changes like what's proposed above but for AD2CP. |
I have looked back into this and it seems this issue is specifically discussing changes to the beam group descriptions. On the other hand, #625 is more concerned with where the repr pulls the beam group descriptions from. To proceed with this issue, I think it is good to have @emiliom review my proposed solution above. If he thinks the solution is appropriate, I will implement it. In the meantime, I can do a PR for #625. |
Yeah, this issue is specifically about the beam group description text that is inserted into the EchoData object during @b-reyes I think your solution is mostly there. It looks like the very last part, the change to set_sonar(self, beam_group_type=['complex', 'power']) -> xr.Dataset: (I'm not sure about the argument default value) Then, the final code block you proposed: beam1_val = beamgroups_possible[0]
beam1_val['descr'] = beam1_val['descr']['complex']
self._beamgroups = [beam1_val] + beamgroups_possible[1:] doesn't use the new I'll say that, stylistically, I don't love the idea that this change would make the two Regarding #625, while the focus there is on the yaml file and how it's used (in the repr), that issue is related to this issue to the extent that we'll have to decide where the repr gets the beam_group descriptions from. This issue (#671) is focused entirely on what happens on |
Yes, it does appear that I have not properly handled these cases. If we agree with this
I agree that this is not ideal. Do you have a better solution in mind?
From my understanding we will be getting the beam_group descriptions from |
Well, I don't have an alternative suggestion, so I guess that's the way forward!
See above 😉 . All I can think of is to reproduce the new dict structure you're proposing for
Right! I'd read that but hadn't fully assimilated what you were saying. I'm on board. |
@emiliom sounds good. Based on your comments, to address this issue (#671) we will use the above form for
@emiliom it seems like we have also arrived at a decision for #625 here. To summarize, we will get the beam_group descriptions from |
Yes.
Yes, but let's shift that conversation back to #625, where it belongs. |
This is now addressed in #671 . |
In PR #658 it was found that the beam group descriptions for EK80 can become more specific.
As it stands right now, we let the
Beam_group1
description be "contains backscatter data (either complex samples or uncalibrated power samples) and other beam or channel-specific data".To be more explicit, we can let the
Beam_group1
description be:I have a rough idea of how we can accomplish this.
beamgroups_possible
(in EK80) to:echopype/echopype/convert/api.py
Lines 461 to 470 in e0b3cbf
with
(
echopype/echopype/convert/set_groups_ek80.py
Line 174 in e0b3cbf
become
@emiliom what do you think?
The text was updated successfully, but these errors were encountered: