Analysis notebooks and demos relevant to WL Shear Science Unit.
These are primarily intended to be run at the Rubin Science Platform and S3DF.
To automate this, install the pre-commit hook. This is a one-time setup.
From a terminal at S3DF
pre-commit installpre-commit command will be availabe from terminal once you have setup the shared stack following the steps below.
This is a one-time setup.
- Login to the Rubin Science Platform
- Under your workspace, clone this repo
git clone https://github.com/lsst-sitcom/sciunit_wlshear.git- Open a Terminal, e.g., from File > New > Terminal
- Follow the instruction to setup the stack. It should be
source /opt/lsst/software/stack/loadLSST.sh
setup lsst_sitcom- Setup pre-commit
pre-commit installCloning this repo instead of creating multiple copies helps to keep all notebooks consolidated and synchronized. Please feel free to contribute your own notebooks to this repository.
- Login to the Rubin Science Platform
- For DP2 specific analysis, navigate to the
sciunit_wlshear/notebooks/dp2directory. - Create a branch to work on extending or creating new notebooks
git checkout -b u/<github-id>/<your-branch-name>There is no particular rule about naming, but having this structure avoids clashes. 4. When you have some results to share, please commit and push your changes to GitHub.
git add <list-of-changed-files-separated-by-whitespace>
git commit -m "Your commit message"
git pushSince the data at S3DF, particularly images, are not public yet, it is important to clear any notebook outputs before pushing to this repository. Because it is easy to miss, please install the pre-commit hook to automate this process using the setup instructions above.