desihub / desisurvey

Code for desi survey planning and implementation
BSD 3-Clause "New" or "Revised" License
2 stars 7 forks source link

Change mechanism by which rules and tile file are specified in afternoon planning #118

Closed schlafly closed 3 years ago

schlafly commented 4 years ago

Currently the rules and tile files to be used for a night of observing is specified in afternoon planning by the config.yaml file used in afternoon planning. This can be awkward because afternoon planning makes copies of the rules, tile, and config file it uses. We then want the copied config file to point to the copied rules and tile files, so currently afternoon planning edits the config.yaml file in a somewhat fragile way after copying it, to point to the new files.

This works and isn't so bad. But there's a risk that someone will be surprised that something disappears from the config.yaml file during this editing process.

Some possibilities: