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

add script to run nightly redshifts per tile #892

Merged
merged 1 commit into from Feb 27, 2020
Merged

Conversation

sbailey
Copy link
Contributor

@sbailey sbailey commented Feb 27, 2020

Adds a script desi_nightly_redshifts to run coadds and redshifts per tile per night (issue #889). This is intended to be run from a batch job (the script itself runs srun multiple times), or to have it create a batch script and submit it:

desi_nightly_redshifts --batch YEARMMDD

will submit a batch script to the realtime queue to run:

  • desi_group_tileframes
  • desi_coadd_spectra
  • rrdesi (redrock)

It auto-recognizes what tiles have already been run, so you can delete coadds/zbest/redrock files in $DESI_SPECTRO_REDUX/$SPECPROD/tiles/{TILEID}/{NIGHT}/ and resumit and it will redo whatever is left.

Things that could be better, but let's do that as a future PR:

  • options to specify queue
  • exit with meaningful error message if running without --batch from a login node

@kremin please test on 20200226 when you re-run sp6.

@akremin
Copy link
Member

akremin commented Feb 27, 2020

I was able to run on night 20200226 without issue. Correctly identified and skipped existing files and only reduced the missing data.

@akremin akremin merged commit df8f20f into master Feb 27, 2020
@sbailey sbailey deleted the nightly-redshifts branch February 27, 2020 21:45
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