Skip to content
Back to skills

Satellitetoolbox Sgp4

ASecurity

SatelliteToolboxSgp4.jl implementing the SGP4/SDP4 orbit propagator for TLE-based orbit prediction. Use when propagating TLEs, fitting TLEs from osculating states, or updating TLE epochs.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsgit

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill satellitetoolbox-sgp4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Satellitetoolbox Sgp4?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Satellitetoolbox Sgp4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-satellitetoolbox-sgp4-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-satellitetoolbox-sgp4-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: satellitetoolbox-sgp4
description: SatelliteToolboxSgp4.jl implementing the SGP4/SDP4 orbit propagator for TLE-based orbit prediction. Use when propagating TLEs, fitting TLEs from osculating states, or updating TLE epochs.
---

# SatelliteToolboxSgp4.jl

SGP4/SDP4 orbit propagator for TLE-based prediction. Repo: [JuliaSpace/SatelliteToolboxSgp4.jl](https://github.com/JuliaSpace/SatelliteToolboxSgp4.jl)

## Basic Propagation

```julia
# One-shot: init + propagate
(r_teme, v_teme, sgp4d) = sgp4(t_min, tle)

# Two-step: init then propagate
sgp4d = sgp4_init(tle)
(r_teme, v_teme) = sgp4!(sgp4d, t_min)       # t_min = minutes from TLE epoch
```

## TLE Fitting

```julia
# Fit TLE from osculating state vectors
(fitted_tle, P) = fit_sgp4_tle(vjd, vr_teme, vv_teme;
    estimate_bstar=true, max_iterations=50, atol=1e-4, rtol=1e-4)

# In-place version
(fitted_tle, P) = fit_sgp4_tle!(sgp4d, vjd, vr_teme, vv_teme)
```

## Epoch Update

```julia
new_tle = update_sgp4_tle_epoch(tle, new_epoch_jd)
```

## Constants

```julia
sgp4c_wgs84       # WGS-84 Float64 (default)
sgp4c_wgs84_f32   # WGS-84 Float32
sgp4c_wgs72       # WGS-72 Float64
sgp4c_wgs72_f32   # WGS-72 Float32

sgp4d = sgp4_init(tle; sgp4c=sgp4c_wgs72)  # Use WGS-72
```

## Key Conventions
- Propagation time in **minutes** (not seconds!)
- Output: position in **km**, velocity in **km/s**
- Output frame: **TEME** (True Equator, Mean Equinox)
- Returns `SVector{3, T}`
- In-place `!` variants for reduced allocations
- Re-exports SatelliteToolboxBase and SatelliteToolboxTle

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.