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

Increase MAST query limit. #1427

Merged

Conversation

bhilbert4
Copy link
Collaborator

In data_containers.get_proposals_by_category(), we are reaching the limit on the number of results returned by MAST for NIRCam queries. This PR makes a (short-term) fix by increasing the MAST limit. It also adds a logging error statement if the MAST query limit is reached.

Longer term, we should find a better way to retrieve a list of an instrument's proposal numbers and categories.

@bhilbert4 bhilbert4 self-assigned this Jan 11, 2024
@pep8speaks
Copy link

Hello @bhilbert4, Thank you for submitting the Pull Request !

Line 416:13: E128 continuation line under-indented for visual indent
Line 427:17: E128 continuation line under-indented for visual indent

If you have not done so, please consult the jwql Style Guide

@bhilbert4 bhilbert4 linked an issue Jan 11, 2024 that may be closed by this pull request
@bhilbert4 bhilbert4 requested a review from mfixstsci January 11, 2024 15:32
@BradleySappington BradleySappington merged commit f7a4854 into spacetelescope:develop Jan 11, 2024
6 checks passed
@bhilbert4 bhilbert4 deleted the increase-mast-limit branch January 11, 2024 15:39
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.

Allow archive_database_update to deal with missing PID values
3 participants