Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dailyproc more control #904

Merged
merged 2 commits into from Mar 6, 2020
Merged

Dailyproc more control #904

merged 2 commits into from Mar 6, 2020

Conversation

akremin
Copy link
Member

@akremin akremin commented Mar 6, 2020

Include 4 new keywords to desi_dailyproc

  -e, --skip-expid-file  : 
                         Relative pathname for file containing expid's to skip.
                         Automatically triggers '--skip--expids' to be true.
                         They are assumed to be in a columnformat, one per row.
                         Stored internally as integers, so zero padding is
                         accepted but not required.

--skip-expids  :    Skips this list of expid's and doesn't process them
--skip-today   :    Doesn't search for today's files unless explicitly told to in catchupfile
--do-zeros  :        Processes zeros in addition to arcs, flats, and sciences. If not set, zeros are skipped.
--do-short-scis : Processes all science exposures including those with EXPTIME < 60s. If not set, we skip them.

Also handles SPECPROD correctly in both desi_dailyproc and desi_proc_dashboard
Allows you to skip a list of expids loaded from a file in desi_proc_dashboard. The same function and convention as above for desi_dailyproc.

Tested with night = 20200301
desi_dailyproc --skip-today --ignore-instances --force-specprod --cameras 0,3,6,7,9 --catchup -c ${HOME}/minisv2/nights.csv -e ${HOME}/minisv2/expids_to_skip.csv -n 1 --specprod minisv2 --dry-run

Here $HOME is the desi user home.

@akremin akremin requested a review from sbailey March 6, 2020 01:24
@sbailey sbailey merged commit ec755ce into master Mar 6, 2020
@sbailey sbailey deleted the dailyproc_more_control branch March 6, 2020 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants