From f59c1c00db6cc21930987cb463284ee7b529da79 Mon Sep 17 00:00:00 2001 From: Heather Kelly Date: Thu, 1 Aug 2024 17:04:09 -0400 Subject: [PATCH] add desc-forecasts-dev and desc-td-env-dev --- .../desc-forecasts-dev/desc-forecasts-dev.sh | 9 +++++++++ jupyter-kernels/desc-forecasts-dev/kernel.json | 10 ++++++++++ jupyter-kernels/desc-td-env-dev/kernel.json | 10 ++++++++++ jupyter-kernels/desc-td-env-dev/td-env-dev.sh | 9 +++++++++ jupyter-kernels/setup/user_setup.sh | 2 ++ 5 files changed, 40 insertions(+) create mode 100755 jupyter-kernels/desc-forecasts-dev/desc-forecasts-dev.sh create mode 100644 jupyter-kernels/desc-forecasts-dev/kernel.json create mode 100644 jupyter-kernels/desc-td-env-dev/kernel.json create mode 100755 jupyter-kernels/desc-td-env-dev/td-env-dev.sh diff --git a/jupyter-kernels/desc-forecasts-dev/desc-forecasts-dev.sh b/jupyter-kernels/desc-forecasts-dev/desc-forecasts-dev.sh new file mode 100755 index 0000000..95cfd77 --- /dev/null +++ b/jupyter-kernels/desc-forecasts-dev/desc-forecasts-dev.sh @@ -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 + diff --git a/jupyter-kernels/desc-forecasts-dev/kernel.json b/jupyter-kernels/desc-forecasts-dev/kernel.json new file mode 100644 index 0000000..d8c6d3c --- /dev/null +++ b/jupyter-kernels/desc-forecasts-dev/kernel.json @@ -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" +} + diff --git a/jupyter-kernels/desc-td-env-dev/kernel.json b/jupyter-kernels/desc-td-env-dev/kernel.json new file mode 100644 index 0000000..a7e4e27 --- /dev/null +++ b/jupyter-kernels/desc-td-env-dev/kernel.json @@ -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" +} + diff --git a/jupyter-kernels/desc-td-env-dev/td-env-dev.sh b/jupyter-kernels/desc-td-env-dev/td-env-dev.sh new file mode 100755 index 0000000..1d835a9 --- /dev/null +++ b/jupyter-kernels/desc-td-env-dev/td-env-dev.sh @@ -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 + diff --git a/jupyter-kernels/setup/user_setup.sh b/jupyter-kernels/setup/user_setup.sh index 1823da9..c5e56d8 100755 --- a/jupyter-kernels/setup/user_setup.sh +++ b/jupyter-kernels/setup/user_setup.sh @@ -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"