Skip to content

SP-2050: 02c notebook writes temp files in /tmp that can be avoided#23

Merged
jeffcarlin merged 1 commit into
mainfrom
tickets/SP-2050
May 21, 2025
Merged

SP-2050: 02c notebook writes temp files in /tmp that can be avoided#23
jeffcarlin merged 1 commit into
mainfrom
tickets/SP-2050

Conversation

@jeffcarlin
Copy link
Copy Markdown
Collaborator

Following Tim's advice (see the Jira ticket), I have updated the calls to fits.open in NB02c to (1) use "fsspec" to read the fits files, and (2) do this in a context manager so it closes the file afterward.

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@MelissaGraham MelissaGraham self-requested a review May 21, 2025 00:55
Copy link
Copy Markdown
Contributor

@MelissaGraham MelissaGraham left a comment

Choose a reason for hiding this comment

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

Confirm that this ran fine at data.lsst.cloud with w_17.

@jeffcarlin jeffcarlin merged commit 044219c into main May 21, 2025
1 check passed
@jeffcarlin jeffcarlin deleted the tickets/SP-2050 branch May 21, 2025 22:35
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