lsst-epo / citizen-science-notebooks

A collection Jupyter notebooks that can be used to associate Rubin Science Platform data to a Zooniverse citizen science project.
3 stars 1 forks source link

Discovery - Figure out how to get the Image Cutout Service working for the `01` notebook use case #102

Closed ericdrosas87 closed 3 months ago

ericdrosas87 commented 3 months ago

User story

As the developer of the citSci pipeline, I need to figure out how to get the Image Cutout Service to work for the single image cutout use case as demonstrated in the 01 notebook so I can determine if it's a valid substitute for the lsst.display.afw module.

Description

I have figured out how to get the Image Cutout Service working for our single image cutout use case.

ericdrosas87 commented 3 months ago

Got the Image Cutout Service working for our use case (except only one image is being created). I have a functioning version of a modified 01 notebook in the development branch with PNGs being created three different ways:

  1. Using lsst.display.awf (leaky memory)
  2. Using Matplotlib sans lsst.display.afw (may not be thread safe)
  3. Using Pillow (still need to test if it's thread safe)

Likely Becky or Clare will need to modify the notebook to make is science-worthy. Next step is to test out the Pillow method of PNG curation using concurrent processing and evaluate performance.