Agent skill
satellitetoolbox-geomagnetic
SatelliteToolboxGeomagneticField.jl for computing Earth's geomagnetic field using IGRF and dipole models. Use when computing magnetic field vectors, IGRF field values, or geomagnetic torques on spacecraft.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/satellitetoolbox-geomagnetic-hammerhead-space-agenticcodingrules
SKILL.md
SatelliteToolboxGeomagneticField.jl
Earth's geomagnetic field computation. Repo: JuliaSpace/SatelliteToolboxGeomagneticField.jl
IGRF Model
# Angles in radians
B = igrf(date, r, λ, Ω; max_degree=13) # Geocentric (default)
B = igrf(date, h, λ, Ω, Val(:geodetic); max_degree=13) # Geodetic
# Angles in degrees (d suffix)
B = igrfd(date, r, λ_deg, Ω_deg; max_degree=13)
B = igrfd(date, h, λ_deg, Ω_deg, Val(:geodetic))
Simplified Dipole Model
B = geomagnetic_dipole_field(r_ecef, year) # r_ecef in meters, returns B in ECEF [nT]
Pre-allocated Legendre Buffers
B = igrf(date, r, λ, Ω; P=P_matrix, dP=dP_matrix)
Key Conventions
dateas decimal year (e.g.,2024.5), valid range: 1900-2035igrf: angles in radians.igrfd: angles in degrees- Altitude/distance in meters
- Output: geomagnetic field in nT in NED (North-East-Down) frame
- Position reference:
Val(:geocentric)(default) orVal(:geodetic) - IGRF v14, spherical harmonics up to degree 13
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?