Skip to content

Commit

Permalink
AD2CP Data Format Reorganization (#731)
Browse files Browse the repository at this point in the history
* Move varaibles from beam to vendor

* Move variables from vendor to beam

* Separate variables into multiple beam groups

* Fix beam group separation, add pulse_compression vector

* Rename range_sample_X to range_sample, rename sample to range_sample, rename sample_transmit to transmit_sample

* Rename ping_time to time1, rename ping_time_X to ping_time

* Move magnetometer_raw from platform to vendor

* Add self._beamgroups with beam group descriptions

* Add auto-generated yaml

* Add burst/average data record comments

* Add bottom track comments

* Add echosounder raw comments

* Remove field_units from parse_ad2cp

* Update test for pulse compression

* Fix issue with non-unique dim enum values overwriting each other as dictionary keys, change transmit dim from ping_time to ping_time_transmit

* Fix tests for 070 raw files

* Add beam groups 3 and 4 to 1.0.yml

* Save all AD2CP beam groups

* Set time encodings for Sonar and ping_time_transmit

* Fix beam group not saving to file

* Simplify beam group creation logic

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add missing periods to comments

* Remove time1 from beam groups

* Remove unnecessary ping_time dim expansion and change chunking dimension from ping_time to time1

* Add attrs for postprocessed fields

* Only chunk env by time1 if time1 exists

* Re-order status and status0 fields

* Stop searching for beam groups if they are all present

* Drop time1 from beam groups

* Parse echosounder raw status, remove echosounder_raw_echogram

* Add echosounder_raw variables, fix serial number saving

* Remove echosounder_raw_beam

* Include all unique serial numbers

* Return NaT on invalid timestamp

* add some more missing .

* add TODO for sections to fix #734

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: leewujung <leewujung@gmail.com>
  • Loading branch information
3 people authored Jun 21, 2022
1 parent eaeb590 commit a14c500
Show file tree
Hide file tree
Showing 7 changed files with 1,770 additions and 308 deletions.
Loading

0 comments on commit a14c500

Please sign in to comment.