astroplan icon indicating copy to clipboard operation
astroplan copied to clipboard

`Observable_interval` function added and `months_observable` aliased

Open tygger7 opened this issue 3 years ago • 3 comments

Added a generic version months_observable called observable_interval. I also aliased months_observable to maintain backwards comparability, and help clean the code base. weeks_observable and days_observable aliases were also added; I felt it appropriate with months_observable remaining in the code. Lastly, I fixed a small issue with the "_current_year_time_range" as I noticed that it was not calculating visibility for December 31st in its current form.

Let me know if there is anything you think might need changed.

tygger7 avatar Nov 02 '22 15:11 tygger7

I have fixed the code style issues that were preventing check completion.

tygger7 avatar Nov 04 '22 20:11 tygger7

I have correct the issues that were indicated in the workflow.

tygger7 avatar Nov 16 '22 15:11 tygger7

This is looking good. Could you please add tests for the new methods days_observable and weeks_observable?

bmorris3 avatar Jul 27 '23 14:07 bmorris3