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

Negative exptimes #65

Open
michaelJwilson opened this issue Aug 6, 2019 · 4 comments
Open

Negative exptimes #65

michaelJwilson opened this issue Aug 6, 2019 · 4 comments
Labels

Comments

@michaelJwilson
Copy link

michaelJwilson commented Aug 6, 2019

Surveysim output contains negative exptimes. These look to be solely the last exposure in the night, but lead to further spurious ~10s exposures where the (negative) SNR2FRAC increments upwards on the same TILEID.

Confirmed with @changhoonhahn - both for Twilight=True. Twilight=False is untested as yet.

@dkirkby
Copy link
Member

dkirkby commented Aug 6, 2019

Twilight=True is not well tested, so I am not too surprised. Hopefully it is easy to locate the bug, knowing it depends on twilight=True, but I won't get a chance to look at this in the next few days so feel free to jump in.

@michaelJwilson
Copy link
Author

Correction to above, the neg. exposure times look to be those that cross bright -> dark transition
(consistently have ~ -15. for sun alt. at exp. mjd). Looking at a fix now.

@michaelJwilson
Copy link
Author

L145 here: https://github.com/desihub/surveysim/blob/master/py/surveysim/nightops.py

Twilight Bright program finishes between receiving next_tile and new_field setup finishing.

@michaelJwilson
Copy link
Author

Created pull request #67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants