-
Notifications
You must be signed in to change notification settings - Fork 37
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
OPSIM-1086: remove obsolete code and simplify upkeep of example_scheduler #372
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be nice if the big docstring/comment changes were separate from the code changes.
I tried to do them in separate commits, but for some of them it was a bit too entangled. |
420ec75
to
e2379bf
Compare
…om sim configs, update docstrings
…here (should now match v3.3). Note the addition of sched_argparser (a version of which should be folded back into future scheduler config files, so we can just update this in-bulk in the future).
e2379bf
to
65961d4
Compare
This PR was started to simplify some of the code in the footprints file (mostly, removing functions which were unused at this time and replaced by SkyAreaGenerators). Removing code which has names like
wfd_healpixels
which could tempt users to try to define the WFD by these functions -- but that we don't keep up to date with current definitions -- seems like good preventative maintenance.And then I removed some extraneous code from the example_scheduler file, and wanted to be able to use the arg parser to set standard arguments for the baseline survey while using a notebook .. and maybe to keep the example_scheduler up to date with the evolving baseline more easily. So there are changes in this file as well.
I also moved some of what I see being used as standard changes to some of the keyword arguments for the sky_area classes into these classes directly. This should help avoid people missing these updates if they don't notice the kwarg being set in the simulation files.