Skip to content

Commit

Permalink
Merge pull request #72 from spacetelescope/jwebbinar-prep-repo
Browse files Browse the repository at this point in the history
JWebbinar dry run final prep
  • Loading branch information
cslocum authored Apr 22, 2021
2 parents ac4b0d8 + 659c400 commit 719b224
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 18 deletions.
7 changes: 2 additions & 5 deletions deployments/jwebbinar/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jupyterhub:
profileList:
- display_name: "JWebbinar Science Platform"
default: true
#- display_name: "JWebbinar [jwst==0.17.1]"
# kubespawner_override:
# image: '289559068117.dkr.ecr.us-east-1.amazonaws.com/jwebbinar-user-image@sha256:666f3d22514658dc61cd64171fba195810c5aeea950676ea98a163db4e1a244f'
storage:
dynamic:
storageClass: "aws-efs"
Expand All @@ -55,8 +52,8 @@ jupyterhub:
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
defaultUrl: "/lab"
memory:
guarantee: 4G
limit: 10G
guarantee: 7G
limit: 8G
cull:
enabled: true
timeout: 1800
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies:
- defusedxml=0.7.1
- entrypoints=0.3
- freetype=2.10.4
- fsspec=0.9.0
- fsspec=2021.4.0
- giflib=5.2.1
- idna=2.10
- imagecodecs=2021.3.31
Expand Down Expand Up @@ -187,7 +187,7 @@ dependencies:
- jdaviz==1.1
- jmespath==0.10.0
- joblib==1.0.1
- jupyter-packaging==0.9.1
- jupyter-packaging==0.9.2
- jupyter-server==1.6.2
- jwst==0.17.1
- lxml==4.6.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ dependencies:
- idna==2.10
- imageio==2.9.0
- imagesize==1.2.0
- importlib-metadata==3.10.1
- importlib-metadata==4.0.0
- iniconfig==1.1.1
- ipykernel==5.5.3
- ipympl==0.7.0
Expand Down
8 changes: 4 additions & 4 deletions deployments/jwebbinar/image/environments/setup-notebooks
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
# nbgitpuller and then update the default kernels specified in the
# notebook files using set-notebook-kernels.

gitpuller https://github.com/spacetelescope/jwebbinar_prep main jwebbinar_prep
gitpuller https://github.com/spacetelescope/jwebbinar_prep current_webbinar jwebbinar_prep

/opt/common-scripts/set-notebook-kernel jdaviz jdaviz jwebbinar_prep/test_environment/JWebbinar_viztool_tests.ipynb
#/opt/common-scripts/set-notebook-kernel jdaviz jdaviz jwebbinar_prep/test_environment/JWebbinar_viztool_tests.ipynb

/opt/common-scripts/set-notebook-kernel jwebbinar JWebbinar jwebbinar_prep/test_environment/pipeline_testenv_nirissdata.ipynb
#/opt/common-scripts/set-notebook-kernel jwebbinar JWebbinar jwebbinar_prep/test_environment/pipeline_testenv_nirissdata.ipynb

/opt/common-scripts/set-notebook-kernel jwebbinar JWebbinar jwebbinar_prep/pipeline_products_session/jwst-data-products-*.ipynb
/opt/common-scripts/set-notebook-kernel jwebbinar JWebbinar jwebbinar_prep/pipeline_products_session/*.ipynb

# /opt/common-scripts/set-notebook-kernel jwebbinar JWebbinar jwebbinar_prep/imaging_mode/*.ipynb
16 changes: 10 additions & 6 deletions hub/custom-ui-templates-dev-jwebbinar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ data:
<div class="container">
{% block heading %}
<div class="row">
<center><h2>Welcome to JWebbinar</h2></center><br/>
<center>Welcome to the JWebbinar compute platform. Use this service to work along with class material.</center>
<div class="row">
<center>
<h2>Welcome to JWebbinar</h2>
</center>
<br/>
Welcome to the JWebbinar compute platform. Use this service to work along with class material. The requirements to use this service are to register for JWebbinar sessions and create a MyST account.<br/><br/>
JupyterHub is a platform for running Python Notebooks and other code remotely in a web browser without needing to install anything on your local computer. Notebooks are a convenient way of packaging code, its outputs, and visualizations. For JWebbinars, we expect that you will most often navigate directly to executable Notebooks via direct links. In addition, you can access a generic user interface by navigating to <a href="https://jwebbinar.science.stsci.edu/">https&#58;//jwebbinar.science.stsci.edu</a>, which will allow you to create new, empty notebooks and navigate a user-specific filesystem.<br/><br/>
<b>Compatibility&#58; The Notebook links should work in most web browsers, especially Firefox and Chrome. However, the generic JupyterLab interface does not currently work in many versions of the Safari web browser.</b><br/><br/>
We cannot guarantee that this service, or any files created in this service, will be available beyond the duration of class sessions.<br/><br/><br/>
</div>
<br/><br/><br/>
</div>
{% endblock %}
<div class="row col-sm-offset-2 col-sm-8">
{% if for_user and user.name != for_user.name -%}
Expand Down

0 comments on commit 719b224

Please sign in to comment.