forked from OSOceanAcoustics/echopype
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next-dev' into merge/seabed
- Loading branch information
Showing
36 changed files
with
2,602 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: 3.9 | ||
|
||
|
@@ -52,7 +52,7 @@ jobs: | |
needs: build-artifact | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].1 | ||
name: Install Python | ||
with: | ||
python-version: 3.9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ on: | |
|
||
env: | ||
NUM_WORKERS: 2 | ||
TEST_DATA_FOLDER: ${{ github.workspace }}/test_data | ||
|
||
jobs: | ||
test: | ||
|
@@ -62,6 +63,11 @@ jobs: | |
# Check data endpoint | ||
curl http://localhost:8080/data/ | ||
# Add the following steps for downloading and unzipping test data | ||
- name: Download Test Data from Google Drive | ||
run: | | ||
wget --load-cookies /tmp/cookies.txt "https://drive.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://drive.google.com/uc?export=download&id=1ofiSQ4zDwXfHE65tow4_jDIceBYHNW_8' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1ofiSQ4zDwXfHE65tow4_jDIceBYHNW_8" -O test_data.zip && rm -rf /tmp/cookies.txt | ||
unzip -n test_data.zip -d ${{ env.TEST_DATA_FOLDER }} | ||
- name: Finding changed files | ||
id: files | ||
uses: Ana06/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: 3.9 | ||
|
||
|
@@ -56,7 +56,7 @@ jobs: | |
needs: build-artifact | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].1 | ||
name: Install Python | ||
with: | ||
python-version: 3.9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,12 @@ jobs: | |
# Check data endpoint | ||
curl http://localhost:8080/data/ | ||
- name: Setup Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
- name: Cache conda | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
env: | ||
# Increase this value to reset cache if '.ci_helpers/py{0}.yaml' has not changed | ||
CACHE_NUMBER: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
from .api import estimate_noise, remove_noise | ||
from .api import ( | ||
estimate_noise, | ||
get_attenuation_mask, | ||
get_impulse_noise_mask, | ||
get_transient_noise_mask, | ||
remove_noise, | ||
) | ||
|
||
__all__ = [ | ||
"estimate_noise", | ||
"remove_noise", | ||
"get_impulse_noise_mask", | ||
"get_transient_noise_mask", | ||
"get_attenuation_mask", | ||
] |
Oops, something went wrong.