# New tutorial notebook demonstrates the limits of generating single-star lightcurves for DP0.1

**URL:** <https://www.rubin.community/t/new-tutorial-notebook-demonstrates-the-limits-of-generating-single-star-lightcurves-for-dp0-1/5734>\
**Category:** Support\
**Tags:** dp0\
**Created:** [July 29, 2021, 6:00pm UTC](https://www.rubin.community/t/new-tutorial-notebook-demonstrates-the-limits-of-generating-single-star-lightcurves-for-dp0-1/5734 "2021-07-29T18:00:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MelissaGraham](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/melissagraham/32/2549_2.png) [@MelissaGraham](https://www.rubin.community/u/MelissaGraham)\
**Post date:** [July 29, 2021, 6:00pm UTC](https://www.rubin.community/t/new-tutorial-notebook-demonstrates-the-limits-of-generating-single-star-lightcurves-for-dp0-1/5734/1 "2021-07-29T18:00:33Z")

</div>

DP0 delegates will soon notice a new tutorial notebook appear in their tutorial-notebooks directory, titled 09\_Single\_Star\_Lightcurve\_with\_Butler.ipynb.

This notebook will be presented during [a breakout session at the DP0 Delegate Assembly](https://dp0-1.lsst.io/dp0-delegate-resources/index.html#dp0-delegate-assemblies) on Fri Jul 30.

We know a lot of people want to do time-domain science with DP0, but first let’s set expectations.

- Multi-epoch forced photometry was not run in DP0.1, and so DP0.1 does not provide an accurate preview of how time domain science will be done with the LSST data products.
- The new notebook is a _temporary work-around_ to be used for a small number of objects (one to ten), and it is very, very slow (~30 minutes per object).
- This notebook is not representative of how lightcurves will be served or accessed in later Data Previews or Operations. Using this notebook is not teaching you the “right” way to build LSST lightcurves.
- In fact, this new notebook was designed to clearly demonstrate _the limitations_ of attempting to make LCs during DP0.1

**The recommendation is that delegates interested in time-domain astronomy wait for DP0.2** , or at least limit themselves to only examining a few objects. Consider sharing the few LCs that are made via the “delegate-contributions-dp01” repo (see the readme for instructions on sharing).

**How will DP0.2 be different?**  
DP0.2 will contain a ForcedSource table that will contain lightcurves obtained by forcing PSF photometry at the positions of all `Objects` on both PVIs and Difference Images (where `Objects` are the union of detections on difference images and detections on deep CoAdds, and PVI stands for Processed Visit Image).

---

<div class="post-metadata">

**Author:** ![dammando](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@dammando](https://www.rubin.community/u/dammando)\
**Post date:** [August 4, 2021, 12:32pm UTC](https://www.rubin.community/t/new-tutorial-notebook-demonstrates-the-limits-of-generating-single-star-lightcurves-for-dp0-1/5734/2 "2021-08-04T12:32:26Z")

</div>

I tried to log out and log in again, as suggested during the Assembly, but I do not see 09\_Single\_Star\_Lightcurve\_with\_Butler.ipynb among the possible tutorial notebooks available on my JupyterLab. What I can try to do to recover this notebook? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![MelissaGraham](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/melissagraham/32/2549_2.png) [@MelissaGraham](https://www.rubin.community/u/MelissaGraham)\
**Post date:** [August 4, 2021, 3:22pm UTC](https://www.rubin.community/t/new-tutorial-notebook-demonstrates-the-limits-of-generating-single-star-lightcurves-for-dp0-1/5734/3 "2021-08-04T15:22:52Z")

</div>

Hi @dammando, I think the best thing is to try the suggestions in the topic linked below, and then if your issue is not resolved, to submit a GitHub Issue ([instructions here](https://github.com/rubin-dp0/Support)).

> [@DP0: how to get a fresh copy of tutorial notebooks?](http://www.rubin.community/t/dp0-how-to-get-a-fresh-copy-of-tutorial-notebooks/5674):
>
> Hi, apologies if that’s documented somewhere already, I couldn’t find info about it… But how would I obtain a fresh copy of the most current tutorial NBs, while logged into the JupyterLab NB aspect of RSP? Can I git clone from somewhere, is there another mechanism? (To clarify: say I’ve edited myself into some broken state in one of the NBs in /notebooks/tutorial-notebooks/, how do I start from scratch?) Thank you! Robert

---

<div class="post-metadata">

**Author:** ![womullan](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/womullan/32/370_2.png) [@womullan](https://www.rubin.community/u/womullan)\
**Post date:** [August 4, 2021, 4:27pm UTC](https://www.rubin.community/t/new-tutorial-notebook-demonstrates-the-limits-of-generating-single-star-lightcurves-for-dp0-1/5734/4 "2021-08-04T16:27:20Z")

</div>

Logging out is not quite enough - the pod needs to die so you would need to wait a long time or stop your server on [https://data.lsst.cloud/nb/hub/home](https://data.lsst.cloud/nb/hub/home) . Then log in again. Also check you have git user and email set up.

You can check this with :  
`> egrep "email|name" ~/.gitconfig `

If you get nothing back the email and name have not been set. Set them with:

> git config --global user.email yourEmail@yourdomain  
> git config --global user.name GItUsername
