Skip to content

Commit 9f2eaa0

Browse files
committed
Run deployable hard-iron shrinkage sweep
1 parent 9456397 commit 9f2eaa0

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)