Skip to content

Commit

Permalink
Merge pull request #150 from LSSTDESC/issue/149/dev-kernels
Browse files Browse the repository at this point in the history
add desc-forecasts-dev and desc-td-env-dev
  • Loading branch information
heather999 authored Aug 1, 2024
2 parents c71a150 + f59c1c0 commit 8f99078
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
9 changes: 9 additions & 0 deletions jupyter-kernels/desc-forecasts-dev/desc-forecasts-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

INST_DIR=/global/cfs/cdirs/lsst/groups/MCP
source $INST_DIR/setup_forecasts_dev.sh ""

if [ $# -gt 0 ] ; then
exec python -m ipykernel $@
fi

10 changes: 10 additions & 0 deletions jupyter-kernels/desc-forecasts-dev/kernel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"argv": [
"/global/common/software/lsst/common/miniconda/kernels/desc-forecasts-dev.sh",
"-f",
"{connection_file}"
],
"display_name": "desc-forecasts-dev",
"language": "python"
}

10 changes: 10 additions & 0 deletions jupyter-kernels/desc-td-env-dev/kernel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"argv": [
"/global/common/software/lsst/common/miniconda/kernels/td-env-dev.sh",
"-f",
"{connection_file}"
],
"display_name": "desc-td-env-dev",
"language": "python"
}

9 changes: 9 additions & 0 deletions jupyter-kernels/desc-td-env-dev/td-env-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

INST_DIR=/global/cfs/cdirs/lsst/groups/TD
source $INST_DIR/setup_td_dev.sh -k -c

if [ $# -gt 0 ] ; then
exec python -m ipykernel $@
fi

2 changes: 2 additions & 0 deletions jupyter-kernels/setup/user_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jupyter kernelspec install $INST_DIR/kernels/desc-stack-weekly-latest --user
jupyter kernelspec install $INST_DIR/kernels/desc-pyspark --user
jupyter kernelspec install $INST_DIR/kernels/desc-td-env --user
jupyter kernelspec install $INST_DIR/kernels/desc-forecasts --user
jupyter kernelspec install $INST_DIR/kernels/desc-td-env-dev --user
jupyter kernelspec install $INST_DIR/kernels/desc-forecasts-dev --user
#echo "Your JupyterLab URL is: "
#echo "https://jupyter.nersc.gov/user/$USER/cori-shared-node-cpu/lab/tree/$HOME"
echo "DESC Kernels Now Available"
Expand Down

0 comments on commit 8f99078

Please sign in to comment.