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

OPSIM-1196: more cleanup for summit use #110

Merged
merged 26 commits into from
Oct 3, 2024
Merged

Conversation

rhiannonlynne
Copy link
Member

Defines tel_alt_limits and tel_az_limits as the kinematic / observatory model limits for alt and az.
Defines sky_alt_limits and sky_az_limits as the on-sky (potentially disjoint) limits for alt and az.

Remove empty_observation and scheduler_observation completely.
Remove unused kwargs for FieldSurvey (reward_value and nexp).

@rhiannonlynne
Copy link
Member Author

Also adds add_observation_array for some features which didn't have this previously, adds "scheduler_note" and "filter" options to LastObservation.

Also makes the BaseFeature class an Abstract class, to enforce having both add_observation and add_observation_array methods on new features.

@rhiannonlynne
Copy link
Member Author

Unit tests are failing because mambaforge has to be changed to miniforge in the workflow scripts .. and there's a separate PR, so when that is merged I can rebase and this should work.

rubin_scheduler/scheduler/features/conditions.py Outdated Show resolved Hide resolved
rubin_scheduler/scheduler/features/features.py Outdated Show resolved Hide resolved
tests/scheduler/test_features.py Show resolved Hide resolved
@yoachim yoachim self-requested a review October 3, 2024 00:14
Copy link
Member

@yoachim yoachim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Punting growing masks with a pad properly to later.

@rhiannonlynne
Copy link
Member Author

Punting growing masks with a pad properly to later.

In the end, I did find a potential solution.

@rhiannonlynne rhiannonlynne merged commit 60c7e44 into main Oct 3, 2024
7 checks passed
@rhiannonlynne rhiannonlynne deleted the tickets/OPSIM-1196 branch October 3, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants