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
Compute and report sky location (exposure time calculator) for every tile. #119
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.
+1 for implementing this via the python wrapper. The final features are coming into place.
Let's develop a more robust way to track and cleanup the temporary files, however, e.g. using tempfile.mkdtemp
(several desispec unittest use this if you want to see an example). The current method of using tmp_*.*
runs the risk of leaving extras behind if something crashes, or accidentally deleting a different tmp_*
file that the user may have had. For debugging a --nocleanup
option + printing the tempdir location could be convenient.
I may have more comments after actually running this tomorrow.
The following test command works for master but produces no output for this sky branch. What's missing?
And another reason to use something like |
@sbailey I have included the The problem you found comes from the fact that the |
@sbailey Things seem to be working now. Please check again. |
Changes look good. Thanks. I verified that it works from a directory in which I don't have write permission and that the previously failing example now works. Merging. |
Solves #95. Everything is done within the python wrapper by running
fiberassign_exec
twice.The final result is a tile file with three tables:
FIBERASSIGN
(5000 fibers),POTENTIAL
(5000 fibers) andSKYETC
(20 fibers).