Skip to content

Commit

Permalink
deploy: a676f8f
Browse files Browse the repository at this point in the history
  • Loading branch information
dwest77a committed Feb 6, 2024
1 parent bec6671 commit 64edc7e
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 4 deletions.
43 changes: 42 additions & 1 deletion _sources/assess-overview.rst.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,43 @@
Assessor Tool
=============
=============

The assessor script ```assess.py``` is an all-purpose pipeline checking tool which can be used to assess:
- The current status of all datasets within a given group in the pipeline (which phase each dataset currently sits in)
- The errors/outputs associated with previous job runs.

1. Overall Progress of the Pipeline
--------------------------------

To see the general status of the pipeline for a given group:
::
python assess.py <group> progress
::

An example use case is to write out all datasets that require scanning to a new label (repeat_label):
::
python assess.py <group> progress -p scan -r <label_for_scan_subgroup> -W
::

The last flag ```-W``` is required when writing an output file from this program, otherwise the program will dryrun and produce no files.

2. Checking errors
------------------
Check what repeat labels are available already using
::
python assess.py <group> errors -s labels
::

Show what jobs have previously run
::
python assess.py <group> errors -s jobids
::

For showing all errors from a previous job run
::
python assess.py <group> errors -j <jobid>
::

For selecting a specific type of error to investigate (-i) and examine the full log for each example (-E)
::
python assess.py test errors -j <jobid> -i "type_of_error" -E
::
38 changes: 37 additions & 1 deletion assess-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
<li class="toctree-l1"><a class="reference internal" href="start.html">Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="execution.html">Running the Pipeline</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples.html">Worked Examples</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Assessor Tool Overview</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Assessor Tool Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#overall-progress-of-the-pipeline">1. Overall Progress of the Pipeline</a></li>
<li class="toctree-l2"><a class="reference internal" href="#checking-errors">2. Checking errors</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="errors.html">Error Codes</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Advanced:</span></p>
Expand Down Expand Up @@ -82,6 +86,38 @@

<div class="section" id="assessor-tool">
<h1>Assessor Tool<a class="headerlink" href="#assessor-tool" title="Permalink to this headline"></a></h1>
<dl class="simple">
<dt>The assessor script <code class="docutils literal notranslate"><span class="pre">`assess.py`</span></code> is an all-purpose pipeline checking tool which can be used to assess:</dt><dd><ul class="simple">
<li><p>The current status of all datasets within a given group in the pipeline (which phase each dataset currently sits in)</p></li>
<li><p>The errors/outputs associated with previous job runs.</p></li>
</ul>
</dd>
</dl>
<div class="section" id="overall-progress-of-the-pipeline">
<h2>1. Overall Progress of the Pipeline<a class="headerlink" href="#overall-progress-of-the-pipeline" title="Permalink to this headline"></a></h2>
<p>To see the general status of the pipeline for a given group:
::
python assess.py &lt;group&gt; progress</p>
<p>An example use case is to write out all datasets that require scanning to a new label (repeat_label):
::
python assess.py &lt;group&gt; progress -p scan -r &lt;label_for_scan_subgroup&gt; -W</p>
<p>The last flag <code class="docutils literal notranslate"><span class="pre">`-W`</span></code> is required when writing an output file from this program, otherwise the program will dryrun and produce no files.</p>
</div>
<div class="section" id="checking-errors">
<h2>2. Checking errors<a class="headerlink" href="#checking-errors" title="Permalink to this headline"></a></h2>
<p>Check what repeat labels are available already using
::
python assess.py &lt;group&gt; errors -s labels</p>
<p>Show what jobs have previously run
::
python assess.py &lt;group&gt; errors -s jobids</p>
<p>For showing all errors from a previous job run
::
python assess.py &lt;group&gt; errors -j &lt;jobid&gt;</p>
<p>For selecting a specific type of error to investigate (-i) and examine the full log for each example (-E)
::
python assess.py test errors -j &lt;jobid&gt; -i “type_of_error” -E</p>
</div>
</div>


Expand Down
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ <h1>Welcome to the Kerchunk Pipeline documentation!<a class="headerlink" href="#
<li class="toctree-l2"><a class="reference internal" href="examples.html#example-group-of-ukcp-datasets">2. Example Group of UKCP Datasets</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="assess-overview.html">Assessor Tool Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="assess-overview.html">Assessor Tool Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="assess-overview.html#overall-progress-of-the-pipeline">1. Overall Progress of the Pipeline</a></li>
<li class="toctree-l2"><a class="reference internal" href="assess-overview.html#checking-errors">2. Checking errors</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="errors.html">Error Codes</a></li>
</ul>
</div>
Expand Down
Binary file modified objects.inv
Binary file not shown.
Loading

0 comments on commit 64edc7e

Please sign in to comment.