Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-4523

SPK Ephem does not write segments for short prop spans

    Details

      Description

      The attached script has several finite burns. Two of them are small (1 second, 6 second durations). I have created a propagator that has a max step of 0.01 seconds and use that propagator for the short finite burn propagations.. Below is the spacit utility output for the file created from the attached script. The most obvious case is between the last two segments, where there is about 6 seconds missing. (there is an ealier case where about 1 second is missing). This data is written to the CCSDS file.

       
      Log file for SPACIT Version 7.1.1.
       
      ********************************************************************************
       
      Summary for SPK file: OREx_Day01_Outbound_Cruise_eph.bsp
      Leapseconds File    : naif0010.tls
      Summary Type        : Entire File
       
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2016 SEP 04 00:29:59.971
         UTC Stop Time  : 2016 SEP 06 01:18:16.750
         ET Start Time  : 2016 SEP 04 00:31:07.153
         ET Stop time   : 2016 SEP 06 01:19:23.932
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2016 SEP 06 01:18:16.750
         UTC Stop Time  : 2017 JAN 07 07:25:04.786
         ET Start Time  : 2016 SEP 06 01:19:23.932
         ET Stop time   : 2017 JAN 07 07:26:11.970
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2017 JAN 07 07:25:04.786
         UTC Stop Time  : 2017 JAN 07 07:42:10.605
         ET Start Time  : 2017 JAN 07 07:26:11.970
         ET Stop time   : 2017 JAN 07 07:43:17.789
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2017 JAN 07 07:42:10.605
         UTC Stop Time  : 2017 SEP 20 18:23:23.340
         ET Start Time  : 2017 JAN 07 07:43:17.789
         ET Stop time   : 2017 SEP 20 18:24:30.521
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2017 SEP 20 18:23:23.340
         UTC Stop Time  : 2017 SEP 24 08:14:50.601
         ET Start Time  : 2017 SEP 20 18:24:30.521
         ET Stop time   : 2017 SEP 24 08:15:57.783
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2017 SEP 24 08:14:50.601
         UTC Stop Time  : 2017 NOV 25 02:44:29.350
         ET Start Time  : 2017 SEP 24 08:15:57.783
         ET Stop time   : 2017 NOV 25 02:45:36.533
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2017 NOV 25 02:44:30.547
         UTC Stop Time  : 2018 OCT 05 00:00:00.000
         ET Start Time  : 2017 NOV 25 02:45:37.729
         ET Stop time   : 2018 OCT 05 00:01:07.182
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2018 OCT 01 00:00:00.000
         UTC Stop Time  : 2018 OCT 01 00:09:38.393
         ET Start Time  : 2018 OCT 01 00:01:07.182
         ET Stop time   : 2018 OCT 01 00:10:45.575
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2018 OCT 01 00:09:38.393
         UTC Stop Time  : 2018 OCT 15 00:00:00.000
         ET Start Time  : 2018 OCT 01 00:10:45.575
         ET Stop time   : 2018 OCT 15 00:01:07.182
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2018 OCT 15 00:03:26.854
         UTC Stop Time  : 2018 OCT 29 00:00:00.000
         ET Start Time  : 2018 OCT 15 00:04:34.036
         ET Stop time   : 2018 OCT 29 00:01:07.182
      --------------------------------------------------------------------------------
      --------------------------------------------------------------------------------
         Segment ID     : SPK_SEGMENT
         Target Body    : Body -123456789
         Center Body    : Body 10, SUN
         Reference frame: Frame 1, J2000
         SPK Data Type  : Type 13
            Description : Discrete States, Unevenly Spaced, Hermite Interpolation
         UTC Start Time : 2018 OCT 29 00:00:06.427
         UTC Stop Time  : 2018 NOV 12 00:00:00.000
         ET Start Time  : 2018 OCT 29 00:01:13.609
         ET Stop time   : 2018 NOV 12 00:01:07.182
      --------------------------------------------------------------------------------
       
      ********************************************************************************
        
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            gmatloj Linda Jun added a comment -

            When I run the attached script and run spacit util, I see the missing blocks. Can you try again with the latest build?

            Here are last 3 blocks:

            --------------------------------------------------------------------------------
               Segment ID     : SPK_SEGMENT
               Target Body    : Body -123456789
               Center Body    : Body 10, SUN
               Reference frame: Frame 1, J2000
               SPK Data Type  : Type 13
                  Description : Discrete States, Unevenly Spaced, Hermite Interpolation
               UTC Start Time : 2018 OCT 15 00:03:26.854
               UTC Stop Time  : 2018 OCT 29 00:00:00.000
               ET Start Time  : 2018 OCT 15 00:04:34.036
               ET Stop time   : 2018 OCT 29 00:01:07.182
            --------------------------------------------------------------------------------
            --------------------------------------------------------------------------------
               Segment ID     : SPK_SEGMENT
               Target Body    : Body -123456789
               Center Body    : Body 10, SUN
               Reference frame: Frame 1, J2000
               SPK Data Type  : Type 13
                  Description : Discrete States, Unevenly Spaced, Hermite Interpolation
               UTC Start Time : 2018 OCT 29 00:00:00.000
               UTC Stop Time  : 2018 OCT 29 00:00:06.427
               ET Start Time  : 2018 OCT 29 00:01:07.182
               ET Stop time   : 2018 OCT 29 00:01:13.609
            --------------------------------------------------------------------------------
            --------------------------------------------------------------------------------
               Segment ID     : SPK_SEGMENT
               Target Body    : Body -123456789
               Center Body    : Body 10, SUN
               Reference frame: Frame 1, J2000
               SPK Data Type  : Type 13
                  Description : Discrete States, Unevenly Spaced, Hermite Interpolation
               UTC Start Time : 2018 OCT 29 00:00:06.427
               UTC Stop Time  : 2018 NOV 12 00:00:00.000
               ET Start Time  : 2018 OCT 29 00:01:13.609
               ET Stop time   : 2018 NOV 12 00:01:07.182
            --------------------------------------------------------------------------------
            
            Show
            gmatloj Linda Jun added a comment - When I run the attached script and run spacit util, I see the missing blocks. Can you try again with the latest build? Here are last 3 blocks: -------------------------------------------------------------------------------- Segment ID : SPK_SEGMENT Target Body : Body -123456789 Center Body : Body 10, SUN Reference frame: Frame 1, J2000 SPK Data Type : Type 13 Description : Discrete States, Unevenly Spaced, Hermite Interpolation UTC Start Time : 2018 OCT 15 00:03:26.854 UTC Stop Time : 2018 OCT 29 00:00:00.000 ET Start Time : 2018 OCT 15 00:04:34.036 ET Stop time : 2018 OCT 29 00:01:07.182 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Segment ID : SPK_SEGMENT Target Body : Body -123456789 Center Body : Body 10, SUN Reference frame: Frame 1, J2000 SPK Data Type : Type 13 Description : Discrete States, Unevenly Spaced, Hermite Interpolation UTC Start Time : 2018 OCT 29 00:00:00.000 UTC Stop Time : 2018 OCT 29 00:00:06.427 ET Start Time : 2018 OCT 29 00:01:07.182 ET Stop time : 2018 OCT 29 00:01:13.609 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Segment ID : SPK_SEGMENT Target Body : Body -123456789 Center Body : Body 10, SUN Reference frame: Frame 1, J2000 SPK Data Type : Type 13 Description : Discrete States, Unevenly Spaced, Hermite Interpolation UTC Start Time : 2018 OCT 29 00:00:06.427 UTC Stop Time : 2018 NOV 12 00:00:00.000 ET Start Time : 2018 OCT 29 00:01:13.609 ET Stop time : 2018 NOV 12 00:01:07.182 --------------------------------------------------------------------------------
            Hide
            gmatloj Linda Jun added a comment -

            Reassigning to Rizwan to try again with the latest build.

            Show
            gmatloj Linda Jun added a comment - Reassigning to Rizwan to try again with the latest build.
            Hide
            shughes Steven Hughes added a comment -

            This was not a bug. Once I changed the step size to be small, I forgot to copy the new ephem file to the spacit directory so I was processing the old file. Doh!

            Show
            shughes Steven Hughes added a comment - This was not a bug. Once I changed the step size to be small, I forgot to copy the new ephem file to the spacit directory so I was processing the old file. Doh!

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m