Skip to content

Commit 187e247

Browse files
committed
Run information-ridge hard-iron sweep
1 parent 09e986c commit 187e247

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: ou-iii-mag-hard-iron-ridge
2+
3+
on:
4+
push:
5+
branches:
6+
- agent/ou-iii-rms-improvement
7+
paths:
8+
- tools/ou_iii_mag_hard_iron_ridge.py
9+
- tools/ou_iii_mag_hard_iron_ridge_fixed.py
10+
- .github/workflows/ou-iii-mag-hard-iron-ridge.yml
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
sweep:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v6
20+
- name: Install build dependencies
21+
run: |
22+
sudo apt-get update -qq
23+
sudo apt-get install -y -qq g++ make libeigen3-dev unzip python3
24+
- name: Download simulation records
25+
env:
26+
GH_TOKEN: ${{ github.token }}
27+
run: |
28+
gh release download v1.1.3 --repo bareboat-necessities/oceanography-waves-lib --pattern 'sim-data-files.zip' --clobber
29+
mkdir -p plots/kalman_ou_iii
30+
unzip -o sim-data-files.zip -d plots/kalman_ou_iii >/dev/null
31+
cp plots/kalman_ou_iii/*.csv tests/kalman_ou_iii/
32+
test "$(find tests/kalman_ou_iii -maxdepth 1 -name 'wave_data_*.csv' | wc -l)" -ge 8
33+
- name: Sweep information ridge
34+
run: python3 -u tools/ou_iii_mag_hard_iron_ridge_fixed.py

0 commit comments

Comments
 (0)