gmat-run v0.1 — run GMAT scripts from Python, get pandas DataFrames back #4
djankov
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First public release of
gmat-runis on PyPI: a thin, Pythonic wrapper around NASA GMAT's owngmatpyruntime. You bring a working.script; gmat-run loads it, lets you override fields from Python, runs the mission headlessly, and returnsReportFileoutput as pandas DataFrames.What's in v0.1
GMAT_ROOTorgmat_root=) andgmatpybootstrap — nosys.pathhacks.Mission.load(path)parses a.scriptinto the live GMAT object graph.mission["Sat.SMA"] = 7000.mission.run()executes the mission sequence headlessly, captures GMAT's stdout/stderr, and raises typed exceptions on failure (no silent zero-row DataFrames).ReportFileparser withUTCGregorianand*ModJuliancolumns promoted todatetime64[ns].Results.persist(...)to copy artefacts out.mypy --strict, MIT.What it is not
gmatpyplus..scripttext generator — that'spygmat.gmat-sweep) built on top.Install
Requires Python 3.10–3.12 and a local GMAT install (R2026a is the primary target; R2022a–R2025a expected to work).
Links
0.1.1)Feedback wanted
.scriptyou already use load and run? If it doesn't, please open an issue with the.script(or a stripped-down repro) attached..eph/ContactLocator/ CLI / example notebooks? Say so in the comments.Beta Was this translation helpful? Give feedback.
All reactions