-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
77 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
sphinx | ||
pydata-sphinx-theme | ||
sphinx-autoapi | ||
sphinx-favicon | ||
sphinx-favicon | ||
sphinxcontrib-mermaid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Configuration | ||
============== | ||
|
||
How to set up a configuration file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Control Segment Design | ||
========================= | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
states | ||
configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Flow and File States | ||
===================== | ||
The flow and file tables in the Reduction Database have a state property. | ||
This is expected to change according to the following state diagrams. | ||
|
||
File State Progression | ||
--------------------------- | ||
|
||
.. mermaid:: | ||
|
||
graph LR; | ||
planned --> creating; | ||
creating --> failed; | ||
creating --> created; | ||
creating --> unreported; | ||
created --> progressed; | ||
|
||
For files, they always begin in the ``planned`` state. | ||
Once the flow to create them is kicked off, they enter the ``creating`` state. | ||
From ``creating`` they can either become ``failed`` (when the flow creating them | ||
encounters an exception in execution), | ||
``created`` (the flow succeeded in creating the file), | ||
or ``unreported`` (when the flow that was supposed to update their state doesn't respond). | ||
Once files are ``created`` they wait in that state until a later flow picks them up as ``progressed`` | ||
to the next level. Since level 3 is the last level, they never will become ``progressed``. | ||
|
||
|
||
|
||
Flow State Progression | ||
--------------------------- | ||
|
||
.. mermaid:: | ||
|
||
graph LR; | ||
planned --> running; | ||
running --> failed; | ||
running --> completed; | ||
|
||
Flow behavior is a bit simpler. Flows are ``planned`` by the scheduler. | ||
They then start ``running`` when the launcher decides its' time. | ||
From ``running`` they can either enter the ``failed`` or ``completed`` states depending | ||
on the success of their execution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Levels of Processing | ||
===================== | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters