An open API service indexing awesome lists of open source software.

https://github.com/lsst-dm/prodstat

Software to collect DP02 production statistics.
https://github.com/lsst-dm/prodstat

Last synced: 3 months ago
JSON representation

Software to collect DP02 production statistics.

Awesome Lists containing this project

README

        

########
ProdStat
########

``prodstat`` provides scripts which are used to organize DP0.2 production and collect production statistics.
Collected statistics in form of plots and tables can be reported to corresponding Jira tickets.

For a "quick start" guide, see: `doc/lsst.ProdStat/quickstart.rst. `_

Quick reminders
---------------

Check out the product::

git clone https://github.com/lsst-dm/ProdStat.git
cd ProdStat
scons

Setup the environment::

setup lsst_distrib
setup -r ProdStat

Get a list of commands::

prodstat --help

Get help on a command::

prodstat COMMAND --help

Split a list of exposures into groups for processing, creating BPS submit files::

prodstat make-prod-groups BPS_SUBMIT_TEMPLATE_FNAME [all|f|u|g|r|i|z|y] GROUPSIZE SKIPGROUPS NGROUPS EXPLIST_FNAME

The `bps submit` command from the `ctrl_bps` product can be used here to submit the just created BPS sumbit files::

bps submit BPS_SUBMIT_FNAME

Create a new Jira ticket to track a processing job (create a "DRP" issue)::

prodstat update-issue BPS_SUBMIT_FNAME PRODUCTION_ISSUE

Add a new job to the tables of jobs in Jira issues DRP-53 and DRP-55::

prodstat add-job-to-summary PRODUCTION_ISSUE DRP_ISSUE

Update an existing Jira ticket that tracks a processing job (update a "DRP" issue)::

prodstat update-issue BPS_SUBMIT_FNAME PRODUCTION_ISSUE DRP_ISSUE

Update statistics on a job in the Jira issues that track it (DRP-53, DRP-54, DRP-55, and its own DRP issue)::

prodstat update-stat PRODUCTION_ISSUE DRP_ISSUE
prodstat add-job-to-summary PRODUCTION_ISSUE DRP_ISSUE

Create a plot with timing data ::

prodstat prep-timing-data PARAM_FILE
prodstat plot-data PARAM_FILE

See `doc/lsst.ProdStat/quickstart.rst. `_ for descriptions
of the parametersand other options.