desihub / desitarget

DESI Targeting
BSD 3-Clause "New" or "Revised" License
18 stars 23 forks source link

subpriority overrides, take 2 #740

Closed sbailey closed 3 years ago

sbailey commented 3 years ago

This PR replaces #736 which I will close after submitting this.

This provides tools for overriding SUBPRIORITY when generating target files, to work around the accidental SUBPRIORITY reassignments from fiberassign in May 2021:

One change of behavior in write_targets et al:

Examples in /global/cscratch1/sd/sjbailey/desi/targets/default and override/. I believe I have tested the following but would appreciate additional checks:

@araichoor @geordie666

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.04%) to 58.939% when pulling 7715f8b4be741d70a697835dc9ac11eaf6bbe81d on subpriority2 into b2b3f21d1bd8ab03569b3225cd95de719583a552 on master.

dstndstn commented 3 years ago

This all looks reasonable to me