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❌ Patch coverage is
Additional details and impacted files@@ 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. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@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_rawvariables from vendor to beamechosounder_rawvariablessampletorange_sampleandsample_transmittotransmit_samplerange_sample_X's to justrange_samplewithin their own beam groupping_timetotime1ping_time_Xs to justping_timewithin their own beam groupmagnetometer_rawfrom platform to vendordescrfor each beam grouplong_name,comment, andunitsfor every variableResolves #711, #733
See also: #719, link to reorganization details