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.
- Host: GitHub
- URL: https://github.com/lsst-dm/prodstat
- Owner: lsst-dm
- License: gpl-3.0
- Created: 2021-09-30T23:36:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T00:57:46.000Z (almost 2 years ago)
- Last Synced: 2025-01-12T11:16:22.932Z (4 months ago)
- Language: Python
- Homepage:
- Size: 3.64 MB
- Stars: 1
- Watchers: 12
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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 ProdStatGet 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_ISSUECreate a plot with timing data ::
prodstat prep-timing-data PARAM_FILE
prodstat plot-data PARAM_FILESee `doc/lsst.ProdStat/quickstart.rst. `_ for descriptions
of the parametersand other options.