Skip to content

Simplify & update firefly_client use in Euclid PHZ tutorial#307

Open
jaladh-singhal wants to merge 1 commit intoCaltech-IPAC:mainfrom
jaladh-singhal:euclid-phz-firefly-improv
Open

Simplify & update firefly_client use in Euclid PHZ tutorial#307
jaladh-singhal wants to merge 1 commit intoCaltech-IPAC:mainfrom
jaladh-singhal:euclid-phz-firefly-improv

Conversation

@jaladh-singhal
Copy link
Copy Markdown
Member

I made these fixes recently when demoing the notebook on Fornax to Euclid HQ folks. Removes use of deprecated methods, attributes.

@jaladh-singhal jaladh-singhal requested a review from bsipocz April 30, 2026 00:18
@jaladh-singhal jaladh-singhal self-assigned this Apr 30, 2026
@jaladh-singhal jaladh-singhal added enhancement New notebook or feature maintenance General maintenance of the content and/or infrastructure content: euclid Content related issues/PRs for notebooks with Euclid relevance labels Apr 30, 2026
Copy link
Copy Markdown
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

Look good, but I have some linking suggestion that you may consider for a follow-up PR that touches all the firefly notebooks.

else:
print("Creating data directory.")
os.mkdir(download_path)
fc = FireflyClient.make_client('https://irsa.ipac.caltech.edu/irsaviewer')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would move this code cell down, right after current line 404. (I like having the narrative first and the see the code that does what the narrative describes)

### Vizualize the FITS image with Firefly

First initialize the client, then set the path to the image, upload it to firefly, load it and align with WCS.
After initializing the client, we can directly use the FITS image file URL to upload it to Firefy.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unrelated to this PR; but I think we should cross link from firefly using notebooks to a firefly intro notebook. E.g. reading these updates from the POV of an e.g. fornax users of what you mean by "upload", if and how much of data transfer happens between what computers.

So, while all of that narrative would be nice, I don't think that we should repeat it in every notebook, but at minimum we should point to some docs or another notebook that answers those potential questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content: euclid Content related issues/PRs for notebooks with Euclid relevance enhancement New notebook or feature maintenance General maintenance of the content and/or infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants