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

More fixes for VACs #756

Merged
merged 5 commits into from
Dec 2, 2021
Merged

More fixes for VACs #756

merged 5 commits into from
Dec 2, 2021

Conversation

havok2063
Copy link
Collaborator

@havok2063 havok2063 commented Dec 2, 2021

This PR hides the Visual Morphology VAC from Marvin for DR17. Additionally, it adds the ability to use the VACs.check_target or an individual VAC has_target methods in a "low-memory" mode. In this mode, it accesses the individual FITS data extension as a context manager and deletes the HDU from memory immediately afterwards. This is useful when needing to open a large VAC file in a low-memory environment, e.g. by a web server.

Since I'm not quite comfortable with the IO involved in opening ~6 VAC files for every hit of the galaxy web page, I'm hiding the web display of the VAC "is target available" check until a better solution can be implemented.

It also updates the pinned version of some of Marvin's dependencies.

It also bumps the memory of the web application.

@havok2063 havok2063 self-assigned this Dec 2, 2021
@havok2063 havok2063 merged commit 2437daf into master Dec 2, 2021
@havok2063 havok2063 deleted the vacfix2 branch December 7, 2021 16:14
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.

1 participant