-
Notifications
You must be signed in to change notification settings - Fork 76
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
AD2CP Data Format Reorganization #731
Conversation
It looks like the EchoData repr only expects 2 beam groups right now so it's erroring with |
I think we can have up to 4 for AD2CP. Tagging @lsetiawan here: could we change it to have arbitrary number of Beam_groupX? |
Probably, but right now I think we are still limited because of the convention yaml! I think this has to change. In order to do that I think we need to really pull away from the |
… rename sample_transmit to transmit_sample
…ictionary keys, change transmit dim from ping_time to ping_time_transmit
Codecov Report
@@ Coverage Diff @@
## dev #731 +/- ##
==========================================
- Coverage 81.89% 73.07% -8.82%
==========================================
Files 45 19 -26
Lines 4137 2626 -1511
==========================================
- Hits 3388 1919 -1469
+ Misses 749 707 -42
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
@leewujung finally got the tests to pass so this should be ready to go |
@imranmaj : thanks! I'll look into this tomorrow morning. I noticed that the requirements are not updated -- I thought updating datatree to 0.0.6 is needed for you to run tests on your machine? #732 (We do need users to be able to run on Windows, so we probably need to pin that version and continue to update as datatree develops.) |
I was able to run the tests by manually editing the datatree library source code on my machine |
@leewujung All of the above issues, including that one, should be fixed now |
@imranmaj : Thanks! I'll check in a couple hours on the changes. |
This was embedded so highlighting it here since this variable is still in the beam groups from the latest parsed files.
|
Yes, the beam coordinate comes from |
For |
For echopype/echopype/convert/parse_ad2cp.py Lines 742 to 748 in efbf983
|
|
Currently all variables from all formats are always included regardless of whether they exist, I think because we decided that it would be confusing for users when variables are sometimes included and sometimes not included |
All tests passed in this major reorganization work, so I'll merge this now. Leftover work captured in #732, #734, and saving config parameters in |
Reorganizes the AD2CP data format as was done with other formats for v0.6.0
Runs with datatree v0.0.4 on non-Windows machines (see #732)
Todo:
echosounder_raw
variables from vendor to beamechosounder_raw
variablessample
torange_sample
andsample_transmit
totransmit_sample
range_sample_X
's to justrange_sample
within their own beam groupping_time
totime1
ping_time_X
s to justping_time
within their own beam groupmagnetometer_raw
from platform to vendordescr
for each beam grouplong_name
,comment
, andunits
for every variableResolves #711, #733
See also: #719, link to reorganization details