-
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
Tracking issue for: rename dimensions in groups, including frequency
to channel
and *_time
to time*
, AZFP variable movements
#566
Comments
Thoughts on top of my head: For 1 -- For 2 -- We can add a coordinate |
For 1: channel is the term most often used for this. |
Would that be a coordinate, or a regular "data" variable with |
Oh that's true. If it's a coordinate we'll run into the same non-monotonic/duplicate problem again. So, making it a data variable seems would work? There are also multiple frequency data variables so along with this let's revisit them based on the conversation with @gavinmacaulay. |
Right now we have a channel_id data variable in converted EK80 files to select the right set of filter coefficients. I don't remember on top of my head whether this data variable also exist in converted EK60 files, but probably not; and definitely not in AZFP or AD2CP files. It seems a good idea for us to consider adding this as part of the standard set of data variables for all sonar models. |
Here's the consensus I see emerging about this, plus my own thoughts:
This does mean that slicing on frequency would not be as convenient as it is now in echopype. But it sounds like this is unavoidable, given that the same frequency can occur in >1 channel. |
@leewujung have you had a chance to think about this? |
@emiliom : thanks for pinging, this one somehow slipped through my inbox. I'll do point-by-point response so that we can arrive at a conclusion here.
Agree
Agree
I vote for Also, your mention of
Agree |
In terms of what should be in
|
Let's clarify what name we're proposing for the channel dimension and coordinate. I had suggested But we're still in agreement that the name of the dimension and coordinate will be |
Yeah, I think i was confused in that comment since |
Great |
Tasks (updated) In the
@leewujung recommended a phased approach, where I think the first step is just renaming A side note: |
@emiliom thank you for putting this together. I am starting to work on this.
Here is where
|
@emiliom for your comment above could you just link to my #566 (comment) to avoid confusion? (because I think what you listed was not accurate) -- thanks.
|
Below is what I was thinking, see what you guys think:
5-6. involve some reversion, so this may not be faster. I personally feel this may be more error proof though, but @b-reyes see what you think because you'll be the person implementing these changes. @emiliom please do chime in on what you think! |
I was trying to have all the instructions in one place. Thanks for catching my mistake. I got confused by your comment "Yeah, I think i was confused in that comment since channel_id is specific for EK80.". Anyway, I'll update my summary and also add a link to the source comment. |
We don't need to change anything in the |
To get a better sense of things, I am trying to understand the slicing operation. I believe there is some mention of it above, but I wanted to have it said explicitly here. Currently, we do |
@b-reyes : I think you can look into the code to get that sense, and propose other solutions if needed; there may also be places where this slicing can be eliminated. :) |
While renaming the current |
I think this is a good idea. |
Similar to Vendor, the Environment group variable Unfortunately, edited: changed |
@b-reyes : I am not sure what is I don't believe we would have |
Also, just as an overarching thing, it probably helps to be explicit here that I think we should change everything that had |
@leewujung yes, I meant I think it is fine to change the dimension I agree that it would make sense to change |
Note that in the convention the frequency dimension specified for A related note is that the convention was not designed to store, without loss, data files from existing sonar systems. It was rather intended to specify the minimum required data and metadata to allow derivation of quantitative Sv and TS. A compromise with this is that in some cases this prevents/hinders the creation of a lossless replica of a sonar file. |
Conclusions from meeting just now:
|
@b-reyes could you confirm that the changes that will happen within Beam groups are now fully clear? My impression is that there are no open questions there. |
Decisions for groups other than Beam groups.AD2CP does not currently use a
|
I think we can safely "squeeze" the |
Yes, all changes for the beam groups are clear (please see the below clarification).
As previously mentioned,
@emiliom as you noted, several of these items should be done in different PRs/issues within this issue, I suggest we not change the the number of dimensions of |
This issue does cover a lot of ground, beyond the original title! But I thought you wanted to see a clear list of the changes that should occur -- our targets. That's what I was aiming for. I believe we're already including changes to dimensions in order to bring greater alignment across instruments, whenever possible. For example, as you noted earlier, EK60 and EK80 currently differ: "For EK60 What sequence of changes/PR's is used to accomplish these targets is a different ball of wax. eg, #566 (comment) |
@emiliom I found your list very helpful. Do you think it would be better to have this as its own issue and have each of those items as tasks? I was thinking we could do something similar to #520. |
Great
If by "this" you mean that list, I think I lean towards keeping it in this same issue. That is, feel free to edit my list in place to turn it into tasks. Rework it a bit if you think there's a way to organize it that lends itself better to tasks and PRs. |
frequency
dimension in the Beam
groupsfrequency
to channel
and *_time
to time*
frequency
to channel
and *_time
to time*
frequency
to channel
and *_time
to time*
, AZFP variable movements
@leewujung I don't know why #663 was being tracked in this issue. #663 will be closed soon anyways, but I think we can close this issue. |
I think it is because the |
Currently we use
frequency
as a dimension in the echopype-generated dataset (in place of having data from different frequency channels saved into differentBeam_groupX
s defined in the SONAR-netCDF4 convention ver. 1.0).However,
frequency
can be a misnomer and is probably better names aschannel
, because for broadband echosounders like the EK80, there are a sweep of frequencies in one channel. Usingfrequency
with numerical datatype can also be problematic, such as exposed in #490 where there are more than one transducers at the same frequency but share the same multiplexed transceiver. The good thing is that we can easily slice/select data based on the numerical number that is the nominal frequency of that channel.So, there are 2 questions, which we have to decide now since this would cause breaking changes and would best be in v0.6.0:
Seeking comments from @emiliom @lsetiawan @b-reyes @gavinmacaulay 🙏
Updates: tracking issues/PRs
frequency
tochannel
#657The text was updated successfully, but these errors were encountered: