Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefly version of DM stack tutorial #4

Open
wants to merge 3 commits into
base: answers
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions README_firefly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Using the LSST DM Stack from Python - Firefly edition

The Jupyter Notebook in this repository is a self-guided tutorial that walks the reader through writing a simple processing script using LSST Data Management Python libraries. This tutorial was originally set up for the LSST2017 Project
and Community Workshop.

The `tutorial-firefly.ipynb` notebook is a modified form of the notebook that gives Firefly equivalents to the
matplotlib displays used in the original version. This notebook is based on the "answers" version of the tutorial,
in which the solutions to the exercises have been included.

As of mid-December 2017, the necessary Firefly packages are included in `lsst_distrib`. It is possible to
run the notebook in a Docker container, following the
[developer instructions for Docker](https://pipelines.lsst.io/install/docker.html#docker-tags).

Here are Docker commands used to test this notebook:

```
docker run -itd -p 9745:9745 -v `pwd`:/home/vagrant/mnt --name lsst2 lsstsqre/centos:7-stack-lsst_distrib-d_2017_12_14

docker exec -it lsst2 /bin/bash
```

Then in the shell inside the container:
```
source loadLSST.bash

conda install jupyter notebook ipython

cd /home/vagrant/mnt/lsst2017

jupyter notebook --ip 0.0.0.0 --port 9745
```

Then on the host machine, open a browser to [http://localhost:9745](http://localhost:9745).
Loading