Hello,

The links you referenced displays a 404 message.
Can you submit a ticket to our GMAT JIRA project at 
https://gmat.atlassian.net/jira/  and include attachments of the scripts?

At this moment I don't have enough information to provide a response as to what 
might be happening.

Edwin

From: ngu <ngu.technolog...@gmail.com>
Sent: Monday, July 21, 2025 11:14 AM
To: gmat-users@lists.sourceforge.net
Subject: [EXTERNAL] [BULK] [Gmat-users] python api vs script

CAUTION: This email originated from outside of NASA.  Please take care when 
clicking links or opening attachments.  Use the "Report Message" button to 
report suspicious messages to the NASA SOC.


I've used the Python API Cookbook to create a simple python script to propagate 
10 seconds. This script outputs the (I think) equivalent script using the 
GetGeneratingString() methods. When I run these two I'm getting slightly 
different results and I was wondering if anyone could point out why this is 
happening and how I could get my python script to match GmatConsole.

Python script: 
https://gist.github.com/ngutechnologies/e953b2ae356bbc460fabb6d65c65a546

Script run in GmatConsole: 
https://gist.github.com/ngutechnologies/85dfdc35c5ff150f56e1770e6f8be14f

python state after 10s:
1309.954363635828        6999.835427429451        73.88303891493501
-0.1270826819032672       -0.05607832333144187     7.406394729748768

GmatConsole state after 10s:
1309.954363634965        6999.835427429481        73.88303892738188        
-0.1270826819893334      -0.05607832332844224     7.406394729741343

Thanks!
_______________________________________________
GMAT-users mailing list
GMAT-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmat-users

Reply via email to