Skip to content
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

Add NOAA s3 bucket and reversed time files to test_combine_echodata #830

Merged
merged 96 commits into from
Oct 7, 2022

Conversation

b-reyes
Copy link
Contributor

@b-reyes b-reyes commented Oct 5, 2022

In this PR I added EK60 and EK80 files from the NOAA s3 bucket to test_combine_echodata. I additionally added EK60 reversed time files that are currently on our drive. I am failing the EK80 files that are narrowband and have different range_sample lengths amongst the data files. The reason for this is that they cause an error to occur in _clean_ping_time (please see issue #798).

Note: This PR is a branch of b-reyes:fix-data-loss (see PR #824). A version of test_combine_echodata also lives there, thus, this PR should only be merged once PR #824 has been merged. Also, please note that all of the changes not yet merged into dev from b-reyes:fix-data-loss will show up in this PR (these should not be reviewed).

b-reyes and others added 30 commits August 26, 2022 17:02
@b-reyes b-reyes added the tests label Oct 5, 2022
@b-reyes b-reyes added this to the 0.6.3 milestone Oct 5, 2022
@b-reyes b-reyes requested a review from leewujung October 5, 2022 19:53
@leewujung
Copy link
Member

In discussing #798 we decided to do #833 (to remove the check for reversed and duplicated timestamps) in combine_echodata, so the problem we have with the EK80 narrowband files should not be an issue after a PR for that is merged.

In the meantime, @leewujung will create smaller files from those EK80 narrowband that contain different lengths along the range_sample dimension and add them to CI_test_data so that we have this part of the functionality properly tested.

@leewujung
Copy link
Member

@b-reyes : Alright, I've reduced the EK80 test files and put them in the CI_test_data folder, and in the comments above you can see where things are. Note I haven't run the GitHub actions yet to build the new docker images.

@b-reyes
Copy link
Contributor Author

b-reyes commented Oct 7, 2022

@leewujung I am done modifying the test data parameters so that they now use the data within test_data, rather than pull from NOAA's s3 bucket. I decided not to remove the reversed ping time data in this PR. I will do this when I address #833.

@leewujung
Copy link
Member

Look good, thanks!! Feel free to merge this.

@b-reyes
Copy link
Contributor Author

b-reyes commented Oct 7, 2022

Look good, thanks!! Feel free to merge this.

Sounds good. I will merge this once PR #824 is merged.

@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2022

Codecov Report

Merging #830 (3546908) into dev (fc011ba) will increase coverage by 6.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #830      +/-   ##
==========================================
+ Coverage   83.25%   89.38%   +6.12%     
==========================================
  Files          52       10      -42     
  Lines        5010      989    -4021     
==========================================
- Hits         4171      884    -3287     
+ Misses        839      105     -734     
Flag Coverage Δ
unittests 89.38% <ø> (+6.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
echopype/echodata/echodata.py 77.87% <0.00%> (-3.34%) ⬇️
echopype/calibrate/api.py
echopype/echodata/__init__.py
echopype/convert/parse_ad2cp.py
echopype/utils/coding.py
echopype/echodata/api.py
echopype/calibrate/calibrate_ek.py
echopype/core.py
echopype/calibrate/calibrate_base.py
echopype/utils/prov.py
... and 33 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants