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

dark cal methods don't handle bounds #268

Open
jeanconn opened this issue Jan 10, 2022 · 0 comments
Open

dark cal methods don't handle bounds #268

jeanconn opened this issue Jan 10, 2022 · 0 comments

Comments

@jeanconn
Copy link
Contributor

If one asks for a dark cal before the earliest one in the archive, one just gets the latest one. An error would be more appropriate I think.

In [1]: from mica.archive import aca_dark                                                                                                              

In [2]: aca_dark.dark_cal.get_dark_cal_props(date='2000:326', select='before')['date']                                                                 
Out[2]: '2000:326'

In [3]: aca_dark.dark_cal.get_dark_cal_props(date='2000:325', select='before')['date']                                                                 
Out[3]: '2021:329:10:10:29.450'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant