Skip to content

Releases: acisops/acis_thermal_check

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

22 Oct 15:55
88c3f8e
Compare
Choose a tag to compare

This is a small update to Release 3.7.0 which writes the .hist files in a different directory. 3.7.0 was neither approved nor installed so approval of this release is also an approval of 3.7.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:
acisops/backstop_history#20
acisops/backstop_history#21

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

#41
#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 #42: Write .hist files to --outdir directory

Update for new SCS-106 3 FEP update

18 Oct 20:15
65639e9
Compare
Choose a tag to compare

This release is coordinated with Release 1.5.0 of Backstop History.

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:

acisops/backstop_history#20
#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 #41: Update for SCS-106 change and new power commands
  • PR #39: Run on windows, change the cold ECS planning limit, fix bugs
  • PR #37: Refactoring of limit handling, allowing for more customizations, use cxotime
  • PR #36: Make regression testing work on standalone platforms
  • PR #35: Re-issue Shiny PR
  • PR #34: Handles Maneuver-only loads, improve regression testing
  • PR #31: Add an extra FP limit at -109 C, change FP SENS limit
  • PR #27: Documentation for acis_thermal_check
  • PR #25: acis_thermal_check 3.0
  • PR #26: Setting up automated builds
  • PR #24: Remove unnecessary stuff in setup.py
  • PR #23: Code changes necessary for SCM versioning

Includes the following merges:

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

Run on windows, change the cold ECS planning limit, fix bugs

03 May 14:31
5d1c118
Compare
Choose a tag to compare

This release enables acis_thermal_check to run on Windows and improves the code in a few other areas.

  • Makes sure the glob for the backstop file is not case-sensitive.
  • Use the docutils python module directly to write the index file.
  • Make sure that the --version command-line argument actually works.
  • Change the cold ECS planning limit to -118.2 C.

Includes the following merges:

  • PR #39: Run on windows, change the cold ECS planning limit, fix bugs

Simplification of code, use cxotime, fixing bugs with violations reporting

05 Jan 20:05
5b835c1
Compare
Choose a tag to compare

Includes the following merges:

  • PR #37: Refactoring of limit handling, allowing for more customizations, use cxotime

Allow for non-standard load review path for regression testing

29 Dec 20:44
7b699c6
Compare
Choose a tag to compare

Includes the following merges:

  • PR #36: Make regression testing work on standalone platforms

Updates to accommodate Shiny

01 Dec 19:49
f069115
Compare
Choose a tag to compare

Code updates to permit shiny integration using kadi commanded states and CM parsing.

changes to NLET events, regression testing updates

23 Oct 17:46
ae58ada
Compare
Choose a tag to compare
Merge pull request #34 from acisops/maneuver-only-load-handling

Handles Maneuver-only loads, improve regression testing

Updating build workflow

28 Sep 14:51
Compare
Choose a tag to compare
3.2.1

Updating build workflow

Support new FP limit at -109 C, science orbit ECS, adjust x-axis ticks

12 Aug 14:21
ab424b1
Compare
Choose a tag to compare
Merge pull request #31 from jzuhone/m109

Add an extra FP limit at -109 C, change FP SENS limit

New documentation for acis_thermal_check

21 May 18:39
5fd4b78
Compare
Choose a tag to compare

Includes the following merges:

  • PR #27: Documentation for acis_thermal_check