LSSTScienceCollaborations / StackClub

Learning the LSST software Stack, by writing jupyter notebook tutorials.
https://stackclub.readthedocs.io/
MIT License
45 stars 17 forks source link

Visualizing sky coverage #151

Open bechtol opened 5 years ago

bechtol commented 5 years ago

Lauren MacArthur pointed us to some nice resources for visualizing sky coverage using the skymaps module.

https://github.com/lsst/skymap

In particular, it is suggested that we look at the examples in

https://github.com/lsst/skymap/tree/master/examples

Another useful resource might be a notebook written by Jim Chiang

https://github.com/LSSTDESC/DC2-analysis/blob/master/tutorials/dm_butler_skymap.ipynb

Additional examples at this DM JIRA ticket:

https://jira.lsstcorp.org/browse/DM-6903

At the coadd level, one can find whether a given (RA, Dec) coordinate is contained within a tract or patch using skymap objects. Apparently, at the moment, it is still not easy to find all the individual CCD images that overlap a given coordinate, but it is recognized that this is needed functionality.

Example visualization: image

drphilmarshall commented 5 years ago

@rmorgan10 I think we want our stackclub.Taster to be able to make plots like this. I started trying to import Jim Chiang's notebook to the Exploring a Repo tutorial, but I couldn't get the remote import to work. So, I think we need to re-implement the plot, with attribution. I suggest we edit the final section of the Exploring notebook to make a nice plot, and then when that is working, copy the code into the Taster class so that Taster.report() makes a plot as well as a table. Then, our Data Inventory notebook will automatically become better. What do you think? Want to give this a go?

rmorgan10 commented 5 years ago

@drphilmarshall Definitely! I actually started on this if you want to checkout my branch, but I'm still trying to get the functions from Jim's notebook to work in this context. I plan on having it up and running by Wednesday though!

drphilmarshall commented 5 years ago

Excellent! Can you ping me on Slack as soon as you have submitted a PR to the project/datainventory/drphilmarshall branch, please? Looking fwd to reviewing this one :-)

rmorgan10 commented 5 years ago

Will do!

kadrlica commented 3 years ago

This is still a relevant issue, but I think that the taster is unsupported and deprecated. We do have a version of dm_butler_skymap.ipynb in the Stack Club repo, but it uses lsst_sims which is not installed on the RSP images and hence does not work (and has never worked?) on the RSP. It'd be great if anyone on this thread wanted to tackle updating this to plot sky coverage using the tools present in the stack.

rhiannonlynne commented 3 years ago

In case it's helpful to note: lsst_sims will be undergoing some changes, and hopefully some of the functions you've been using will be easier to access in its future (conda-installable) version. https://jira.lsstcorp.org/browse/RFC-773

On Fri, Apr 23, 2021 at 9:25 AM Alex Drlica-Wagner @.***> wrote:

This is still a relevant issue, but I think that the taster is unsupported and deprecated. We do have a version of dm_butler_skymap.ipynb in the Stack Club repo, but it uses lsst_sims which is not installed on the RSP images and hence does not work (and has never worked?) on the RSP. It'd be great if anyone on this thread wanted to tackle updating this to plot sky coverage using the tools present in the stack.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LSSTScienceCollaborations/StackClub/issues/151#issuecomment-825771409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOFBXYNEYVMSKMQVDWC7T3TKGNONANCNFSM4F7S7A2A .

--

Dr R. Lynne Jones Research Scientist with Rubin Observatory she/hers

johannct commented 3 years ago

I think DC2-production has a version without lsst_sims. It may not do exactly the same thing though. Else I am pretty sure that what I used for DC2 processing does not use lsst_sims