Skip to content

Commit

Permalink
feat: add calibration to entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
alastairtree committed Jul 29, 2024
1 parent fc1ca9c commit 142960c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions calibration_application_config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
source:
folder: tests/data/2025
folder: /data/science/imap/mag/l1b/2025/05

work-folder: .work

destination:
folder: output/
filename: L2.cdf
folder: /data/science/imap/mag/l2/2025/05
filename: imap_mag_l2_norm-mago_20250511_v000.cdf
6 changes: 3 additions & 3 deletions calibration_config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
source:
folder: tests/data/2025
folder: /data/science/imap/mag/l1b/2025/05

work-folder: .work

destination:
folder: output/
filename: calibration.json
folder: /data/science/imap/mag/l1b/2025/05
filename: calibration.json
4 changes: 4 additions & 0 deletions deploy/entrypoint.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ do

imap-db query-db

imap-mag calibrate --config calibration_config.yml --method SpinAxisCalibrator imap_mag_l1b_norm-mago_20250511_v000.cdf

imap-mag apply --config calibration_application_config.yml --calibration calibration.json imap_mag_l1b_norm-mago_20250511_v000.cdf

ls -l /data

sleep 3600 # 1 Hour
Expand Down

0 comments on commit 142960c

Please sign in to comment.