Created
May 29, 2020 17:12
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| if [ $(uname -s) = Darwin ]; then | |
| if [ -z $DYLD_LIBRARY_PATH ]; then | |
| export DYLD_LIBRARY_PATH=$LSST_LIBRARY_PATH | |
| fi | |
| fi | |
| set -evx | |
| # Parse command-line arguments | |
| BRANCH= # Branch to build | |
| RERUN="neven_20200529_subtract" # Rerun name to use | |
| TARGET="lam-processing/repo-09-neven" # Directory name to give data repo | |
| CORES=20 # Number of cores to use | |
| CLEANUP=false # Clean temporary products? | |
| PREFIX=/tigress/hassans # Directory to work in | |
| cd $PREFIX | |
| TARGET="$(pwd)/$TARGET" | |
| export OMP_NUM_THREADS=1 | |
| reduceExposure.py $TARGET --calib $TARGET/CALIB --rerun $RERUN --id visit=21604..21609 arm=r -c doMeasurePsf=True doSubtractSky2d=True doWriteCalexp=True subtractSky2d.useAllFibers=True measurePsf.targetSize=23 --clobber-config | |
| #reduceExposure.py $TARGET --calib $TARGET/CALIB --rerun $RERUN --id visit=21604..21609 arm=r -c doWriteCalexp=True --clobber-config | |
| echo "Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment