Published January 19, 2026 | Version v1
Computational notebook Open

Magnetic Data Processing: Python

  • 1. Institute of Geophysics and Planetary Physics, Scripps Institution of Oceanography, University of California San Diego, La Jolla, CA, USA

Description

This repository contains Python scripts and functions for processing magnetic data collected by Autonomous Underwater Vehicles (AUVs) like Sentry. It provides a complete workflow from raw data loading to processed magnetic anomalies ready for analysis.

The tools support spin fitting calibration to correct platform-induced magnetic distortions, coordinate rotation into North-East-Down (NED) frame, temperature and heading-dependent corrections, and robust filtering using median and iterative smoothing. Users can process selected straight segments or full dives, with or without spin maneuvers, and compute magnetic anomalies relative to the IGRF model.

The repository also implements crossover correction to adjust anomalies across dives and 2-D upward continuation using the Guspi (1987) method. Outputs include files containing timestamps, locations, vehicle orientation, raw and corrected magnetic components, and computed anomalies.

This repository is designed for scientific analysis of seafloor magnetic anomalies and can be applied to AUV datasets for mid-ocean ridge studies, hydrothermal vent exploration, and marine geophysics research.

Pre-requisites: Python 3.10 or newer, with navigation and magnetometer files generated from AUV surveys.

Input sentry files are saved at: https://doi.org/10.5281/zenodo.18298901

Files

README.md

Files (1.3 MB)

Name Size Download all
md5:a953ea6f981d7888cb911d48b8ff5f2b
413.4 kB Preview Download
md5:8e31edd753a49483f3c0e8b78bd75c95
431.4 kB Preview Download
md5:6e0c1a195203ad3561614f28a22a89af
412.5 kB Preview Download
md5:2955c6bbb77f51bce1fef4af9cae69b1
5.4 kB Download
md5:8b32329ac368e194952d791c4d1d46f2
7.0 kB Download
md5:d3e42ce453b6d8a661a24dca773de83a
8.1 kB Preview Download
md5:e9dafa90bc64267e32d06ea8868fd1b9
59.8 kB Download

Additional details

Software

Repository URL
https://github.com/vabbyingale/Magnetic-Data-Processing-Python
Programming language
Python
Development Status
Active