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

Restore ability to download guidestar data #55

Merged
merged 2 commits into from
May 10, 2023

Conversation

bhilbert4
Copy link
Collaborator

Tweaks to the behavior of the guide star keyword and filtering behavior in order to restore the ability to download the guidestar data. Previously the product_filter function was always being called with the option set to remove the guide star entries.

This PR also adds the guidestar_data_only argument. If this is set to True, then the science products will be filtered out and only the guidestar data will be downloaded. This is inspired by some upcoming work that will design a calibration pipeline for guidestar data.

@bhilbert4 bhilbert4 self-assigned this May 5, 2023
@bhilbert4
Copy link
Collaborator Author

Also, guide star filtering was being done twice: once in product_search() and a second time in product_filter(). Since we are talking about filtering guide star entries, I kept the code in product_filter(), and removed it from product_search().

@bhilbert4
Copy link
Collaborator Author

Testing with program 1068, using guidestars and guidestar_data_only from both the command line and from within the config file all work as expected.

@bhilbert4
Copy link
Collaborator Author

@arminrest any comments on this?

@bhilbert4 bhilbert4 merged commit 46821d6 into spacetelescope:main May 10, 2023
@bhilbert4 bhilbert4 deleted the download-guidestar-data branch May 10, 2023 18:53
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.

None yet

1 participant