Skip to content

Releases: acisops/backstop_history

New ECS SI modes added

06 Jun 13:06
605d77f
Compare
Choose a tag to compare

New variations of SI modes, and their associated RTS files, for Long Term ECS
measurements were created to provide a more flexible chip selection.
Backstop History was updated to incorporate these new RTS files in future
history assemblies.

Includes the following merges:

  • PR #25: Incorporation of new RTS files for new Long Term ECS SI modes
  • PR #24: New ECS RTS file, New method added, SCS-107 bug fixed
  • PR #23: Remove unnecessary and incorrectly applied round off
  • PR #22: Now processes a full continuity (science + vehicle commands) load as …
  • PR #21: Update to the PR 20 prior to installation
  • PR #20: Update for SCS-106 change and new power commands
  • PR #19: Run on filesystems which are not case-sensitive
  • PR #18: Replace Chandra.Time with cxotime
  • PR #17: Modifications to Baskstop History to accommodate data structure change…
  • PR #13: Changes to accomodate NLET events in normal, too and maneuver only loads
  • PR #9: SHINY: migrate from Chandra.cmd_states / Ska.ParseCM to kadi
  • PR #11: Shiny workflow update
  • PR #10: Shiny workflow update
  • PR #8: Setting up automated builds
  • PR #7: Remove version from setup.py
  • PR #6: Code changes needed for SCM versioning

No-Op New, No-op, Release for SKA and CHANDRA Namespace Change

23 Jan 21:51
221980e
Compare
Choose a tag to compare

This release includes no software updates or modifications.

The only change is an increase in the patch version to V3.1.1, requested by Javier, to trigger a package build with the new package dependencies on the non-namespace version of the SKA and CHANDRA packages.

Backstop History update with new 4 chip RTS file

20 Sep 14:09
221980e
Compare
Choose a tag to compare

Change Description

1_ECS4.RTS was substituted for 1_4_CTI.RTS because of the HRC anomaly.
A new method was added to Backstop_History which provides for
extracting, from the supplied command array, all commands that contain
any of the tokens supplied by a token list. An SCS-107 processing error
was fixed.

Files Changed:

#24

Testing:

Unit and regression testing completed to assure that the
assembled histories were either unchanged from previous runs or,
changes that occurred were expected.

Tests were performed on RH 8 systems.

# AUG0822 - NORMAL
# MAY2820 - 4 chip LTCTI using 1_ECS4.RTS
# AUG1322 - STOP RTS load after AUG0822 interrupted by BSH at 2022:223:13:49:23.000
# APR0122 - SCS-107 RTS load after MAR2822 interrupted by TXINGS at 2022:087:12:40:47
# APR0322 - SCS-107 RTS load after MAR2822 interrupted by TXINGS at 2022:087:12:40:47

Interface impacts

None.

Review

Objectives and Results by ACIS Ops

Deployment Plan

Installation of Backstop History will occur once approved by FSDS.

Includes the following merges:

  • PR #24: New ECS RTS file, New method added, SCS-107 bug fixed
  • PR #23: Remove unnecessary and incorrectly applied round off

Includes the following merges:

  • PR #24: New ECS RTS file, New method added, SCS-107 bug fixed
  • PR #23: Remove unnecessary and incorrectly applied round off

Remove roundoff

24 Feb 14:55
3b4e763
Compare
Choose a tag to compare

Release Notes for Version 3.0.1 of Backstop History

Change Description

tbegin is used by backstop_history to know how far back in time to backchain loads.
tbegin is supplied by the user of backstop_history. The Assemble_History method
generated both a DOY and Chandra Seconds version of that time, and rounded the
time off. Rounding is unnecessary and was incorrectly applied in one instance.
The incorrect application did not affect the operation of the program as it was
done only for logger purposes.

Also the initial logger comment under "debug" was modified.

Comments were added or modified for clarification.

Files Changed:

#23

Testing:

Unit and functional testing completed to assure that the
assembled histories were unchanged from previous runs.

Interface impacts

None.

Review

Objectives and Results by ACIS Ops

Deployment Plan

Installation of Backstop History will occur once approved by FSDS.

Includes the following merges:

  • PR #23: Remove unnecessary and incorrectly applied round off
  • PR #22: Now processes a full continuity (science + vehicle commands) load as …

Updates to handle full loads where only the Vehicle scs's are enabled

29 Jan 14:11
e237bd6
Compare
Choose a tag to compare

The main drivers for this update are:

  1. Continuity load having the same load week name as the review load (e.g. SEP2121B SEP2021A)

    Prior to this update, the user did not specify the load letter for the continuity load in the lr
    command line. This prevented the prior load of the same load week as the review load from
    being specified as the continuity load.

  2. A full weekly load being built with both science and vehicle commands, the load is uplinked,
    but only the vehicle commands executed (e.g. JAN1722).

    The thermal models need to know that when assembling a load history, only the vehicle commands
    should be included when reading ther continuity load. The ACIS Ops Load Review software (lr) was
    modified to give the user the ability to specify that, when reading continuity loads, the thermal models
    should read the vehicle-only VR*.backstop file. The default is to read the CR*.backstop file.

    This is accomplished by adding a --VO VOC switch to the lr command line. If not used the default read of
    CR*.backstop will be executed. If the switch is specified, it is first checked for legal values. If the value of
    VOC is supplied to the switch then the thermal models will read the VR*.backstop file. This is accomplished
    by appending "VO_" to the load type discerned by lr (Normal, TOO, SCS-107, FULL STOP).
    This load type is written out to the ACIS-Continuity.txt file, which is read by backstop history.

    This update must be done in concert with the update to Backstop_History as
    Backstop_History has been modified to recognize the VO_ prefix and knows how to handle it.

Additional updates were made to lr:

  1. Fix the bug which incorrectly threw and error when checking for the "triplet" - a set of 3
    commands expected after the conclusion of the Perigee Passage inbound ECS measurement.
    Initially, lr expected the power command within the triplet to be WSVIDALLDN. Over time
    the triplet could contain WSPOW00000 and WSPOW0002A.

  2. A --nomodels option to lr and run_models.pl which tells lr to not run the thermal models
    This can be used to speed up lr regression tests when the modification does not affect the
    thermal models.

  3. Clarified the user prompts which, when the -break switch is used, determine what the
    load type is (TOO, SCS-107, STOP).

  4. Added comments and fixed typos

Update to Release 1.5.0 which will now write .hist files in a different directory

22 Oct 15:59
764c92d
Compare
Choose a tag to compare

This is a small update to Release 1.5.0 which will now write the .hist files in a different directory. 1.5.0 was neither approved nor installed so approval of this release is also an approval of 1.5.0

Change Description

Recently, SCS-106 was updated to leave 3 FEPs on rather than no FEPs on.
SCS-106 is run as part of the SCS-107 sequence.

Therefore thermal model history assembly requires that this change be reflected
in any shutdown: both science-only shutdowns as well as Full Stops. Also, the
ACIS Team recently added new power commands which have to be handled by Backstop History.

These were the drivers for the release of this version of Backstop History.
Several changes had been underway for some time and are incorporated in this release.

The previous version of Backstop History and acis_thermal_check (ATC) placed a major loop
inside the ACISStateBuilder class of state_builder.py wherein ATC was controlling the assembly
of a backstop history. Presently, ATC detects when to end the backchaining and also assesses
the types of loads (Normal, TOO, SCS-107, Full Stop) for each load in the backchain.
These functions belong inside Backstop History so that All ATC does is request an assembled
history given the pertinent information needed at the start of the assembly. This was
removed from ATC and moved into Backstop History. In addition, the need for a function
to convert backstop commands from a list of dict to a CommandTable is removed.

In the present production version of Backstop History, no record was kept of the assembled history.
In this new version, after a command history has been fully assembled, including any
necessary command sequences (e.g. LTCTI's, Maneuvers, SCS-107 etc.) a CR*.backstop.hist
file is written out to the directory specified by the model argument --outdir: the root of the file name
being the same as the review load CR*.backstop file, with ".hist" appended. This .hist file
is written out in CR*.backstop format and can be run through a model. This provides
both special case testing (using a test NLET file) as well as a means to check the resultant
output of Backstop History.

CTI command and maneuver templates were removed from the code and transformed into a data file.
This file can be updated as new power commands are created without touching the executable code.
Also one file that contained a variety of command definitions (e.g. AA0000000) is eliminated.
This, in turn eliminated classes and simplified the code.

Methods that were never used in Backstop History were removed.

A local logger was build for Backstop History which will identify the source of the
logger message. The level of verbosity is captured by ATC and passed to the ACIS state
builder.

Also includes changes John made which make the role of the run_start argument much more clear.

Comments were added or modified for clarification.

Files Changed:

Original SCS-106 changes merged but not yet put into production:
#20
#21

Additional PR's which write the .hist files to the model --outdir directory:

acisops/acis_thermal_check#41
acisops/acis_thermal_check#42

Both PR's 21 and 42 must be merged at the same time.

Testing:

These regression tests were run on the 1DPAMZT and ACISFP_CHECK models.

Regression Test Suite:

APR0217B
AUG2517C
AUG3017A
JUL2717A
JUL3117B
MAR0617A
MAR0817B
MAR1117A
MAR1517B
MAR2017E
SEP0417A
SEP0917C

SEP0917 SCS-107 with LTCTI
SEP1317 Return to Science load after SCS-107
OCT2118 STOP Many Maneuvers, 4 LTCTI's (Last LTCTI cut by Resumption of science)
SEP0619 STOP Maneuver LTCTI Maneuver
MAY2420 TOO
MAY2620 STOP Maneuver-Only, Maneuver 90 LTCTI
MAY2820 Normal(RTS) Maneuvers, LTCTI's, cuts MAY26 LTCTI
JUL2720 Normal, LTCTI during Pause
AUG3120 Maneuver-Only WSPOW0002A via CAP
JUL0821 TOO
JUL2621 Normal

APR3020 - Hand edited test load to test LTCTI handling during TOO

These regression tests were run on the 1DPAMZT and ACIS Focal Plane models.

Interface impacts

None outside of acis_thermal_check calls to Backstop History.

Review

Objectives and Results by ACIS Ops

Deployment Plan

Installation of Backstop History and acis_thermal_check will occur after the
start of execution of this week's Review Load.

Includes the following merges:

  • PR #21: Update to the PR 20 prior to installation

Update for new SCS-106 3 FEP update

18 Oct 19:53
c90701e
Compare
Choose a tag to compare

Change Description

Recently, SCS-106 was updated to leave 3 FEPs on rather than no FEPs on.
SCS-106 is run as part of the SCS-107 sequence.

Therefore thermal model history assembly requires that this change be reflected
in any shutdown: both science-only shutdowns as well as Full Stops. Also, the
ACIS Team recently added new power commands which have to be handled by Backstop History.

These were the drivers for the release of this version of Backstop History.
Several changes had been underway for some time and are incorporated in this release.

The previous version of Backstop History and acis_thermal_check (ATC) placed a major loop
inside the ACISStateBuilder class of state_builder.py wherein ATC was controlling the assembly
of a backstop history. Presently, ATC detects when to end the backchaining and also assesses
the types of loads (Normal, TOO, SCS-107, Full Stop) for each load in the backchain.
These functions belong inside Backstop History so that All ATC does is request an assembled
history given the pertinent information needed at the start of the assembly. This was
removed from ATC and moved into Backstop History. In addition, the need for a function
to convert backstop commands from a list of dict to a CommandTable is removed.

In the present production version of Backstop History, no record was kept of the assembled history.
In this new version, after a command history has been fully assembled, including any
necessary command sequences (e.g. LTCTI's, Maneuvers, SCS-107 etc.) a CR*.backstop.hist
file is written out to the directory of the load under review: the root of the file name
being the same as the review load CR*.backstop file, with ".hist" appended. This .hist file
is writtern out in CR*.backstop format and can be run through a model. This provides
both special case testing (using a test NLET file) as well as a means to check the resultant
output of Backstop History.

CTI command and maneuver templates were remoived from the code and transformed into a data file.
This file can be updated as new power commands are created without touching the executable code.
Also one file that contained a variety of command definitions (e.g. AA0000000) is eliminated.
This, in turn eliminated classes and simplified the code.

Methods that were never used

Change Description

Recently, SCS-106 was updated to leave 3 FEPs on rather than no FEPs on.
SCS-106 is run as part of the SCS-107 sequence.

Therefore thermal model history assembly requires that this change be reflected
in any shutdown: both science-only shutdowns as well as Full Stops. Also, the
ACIS Team recently added new power commands which have to be handled by Backstop History.

These were the drivers for the release of this version of Backstop History.
Several changes had been underway for some time and are incorporated in this release.

The previous version of Backstop History and acis_thermal_check (ATC) placed a major loop
inside the ACISStateBuilder class of state_builder.py wherein ATC was controlling the assembly
of a backstop history. Presently, ATC detects when to end the backchaining and also assesses
the types of loads (Normal, TOO, SCS-107, Full Stop) for each load in the backchain.
These functions belong inside Backstop History so that All ATC does is request an assembled
history given the pertinent information needed at the start of the assembly. This was
removed from ATC and moved into Backstop History. In addition, the need for a function
to convert backstop commands from a list of dict to a CommandTable is removed.

In the present production version of Backstop History, no record was kept of the assembled history.
In this new version, after a command history has been fully assembled, including any
necessary command sequences (e.g. LTCTI's, Maneuvers, SCS-107 etc.) a CR*.backstop.hist
file is written out to the directory of the load under review: the root of the file name
being the same as the review load CR*.backstop file, with ".hist" appended. This .hist file
is writtern out in CR*.backstop format and can be run through a model. This provides
both special case testing (using a test NLET file) as well as a means to check the resultant
output of Backstop History.

CTI command and maneuver templates were remoived from the code and transformed into a data file.
This file can be updated as new power commands are created without touching the executable code.
Also one file that contained a variety of command definitions (e.g. AA0000000) is eliminated.
This, in turn eliminated classes and simplified the code.

Methods that were never used in Backstop History were removed.

A local logger was build for Backstop History which will identify the source of the
logger message. The level of verbosity is captured by ATC and passed to the ACIS state
builder.

Also includes changes John made which make the role of the run_start argument much more clear.

Comments were added or modified for clarification.

Files Changed:

#20
acisops/acis_thermal_check#41

Both of these PR's must be merged at the same time.

Testing:

These regression tests were run on the 1DPAMZT and ACISFP_CHECK models.

Regression Test Suite:

APR0217B
AUG2517C
AUG3017A
JUL2717A
JUL3117B
MAR0617A
MAR0817B
MAR1117A
MAR1517B
MAR2017E
SEP0417A
SEP0917C

SEP0917 SCS-107 with LTCTI
SEP1317 Return to Science load after SCS-107
OCT2118 STOP Many Maneuvers, 4 LTCTI's (Last LTCTI cut by Resumption of science)
SEP0619 STOP Maneuver LTCTI Maneuver
MAY2420 TOO
MAY2620 STOP Maneuver-Only, Maneuver 90 LTCTI
MAY2820 Normal(RTS) Maeuvers, LTCTI's, cuts MAY26 LTCTI
JUL2720 Normal, LTCTI during Pause
AUG3120 Maneuver-Only WSPOW0002A via CAP
JUL0821 TOO
JUL2621 Normal

APR3020 - Hand edited test load to test LTCTI handling during TOO

These regression tests were run on the 1DPAMZT and ACIS Focal Plane models.

Since the "gold standard" for the regression tests expects to see zero FEP's on after an
SCS-106 run, differences were expected and acounted for.

Interface impacts

None outside of acis_thermal_check calls to Backstop History.

Review

Objectives and Results by ACIS Ops

Deployment Plan

Installation of Backstop History and acis_thermal_check will occur after the
start of execution of this week's Review Load.
in Backstop History were removed.

A local logger was build for Backstop History which will identify the source of the
logger message. The level of verbosity is captured by ATC and passed to the ACIS state
builder.

Also includes changes John made which make the role of the run_start argument much more clear.

Comments were added or modified for clarification.

Files Changed:

#20
acisops/acis_thermal_check#41

Both of these PR's must be merged at the same time.

Testing:

These regression tests were run on the 1DPAMZT and ACISFP_CHECK models.

Regression Test Suite:

APR0217B
AUG2517C
AUG3017A
JUL2717A
JUL3117B
MAR0617A
MAR0817B
MAR1117A
MAR1517B
MAR2017E
SEP0417A
SEP0917C

SEP0917 SCS-107 with LTCTI
SEP1317 Return to Science load after SCS-107
OCT2118 STOP Many Maneuvers, 4 LTCTI's (Last LTCTI cut by Resumption of science)
SEP0619 STOP Maneuver LTCTI Maneuver
MAY2420 TOO
MAY2620 STOP Maneuver-Only, Maneuver 90 LTCTI
MAY2820 Normal(RTS) Maeuvers, LTCTI's, cuts MAY26 LTCTI
JUL2720 Normal, LTCTI during Pause
AUG3120 Maneuver-Only WSPOW0002A via CAP
JUL0821 TOO
JUL2621 Normal

APR3020 - Hand edited test load to test LTCTI handling during TOO

These regression tests were run on the 1DPAMZT and ACIS Focal Plane models.

Since the "gold standard" for the regression tests expects to see zero FEP's on after an
SCS-106 run, differences were expected and acounted for.

Interface impacts

None outside of acis_thermal_check calls to Backstop History.

Review

Objectives and Results by ACIS Ops

Deployment Plan

Installation of Backstop History and acis_thermal_check will occur after the
start of execution of this week's Review Load.

Includes the following merges:

  • PR #20: Update for SCS-106 change and new power commands

avoid problems detecting the backstop file on case-insensitive filesystems

23 Apr 16:38
d8a197d
Compare
Choose a tag to compare

Includes the following merges:

  • PR #19: Run on filesystems which are not case-sensitive

Use cxotime instead of Chandra.Time

05 Jan 18:44
9c321b6
Compare
Choose a tag to compare

Includes the following merges:

  • PR #18: Replace Chandra.Time with cxotime

Updates to accommodate Shiny

01 Dec 14:39
93b93ae
Compare
Choose a tag to compare

Backstop History data structures and functional code changed to accommodate integration with Shiny