-
Notifications
You must be signed in to change notification settings - Fork 0
Quickstart
Note: instructions here are for NCAR's Cheyenne supercomputer. For all other machines, see: Quickstart (local machines)
Before downloading visualCaseGen, make sure that you have git
, svn
, and conda
available.
visualCaseGen is currently distributed with a CESM version based on cesm2_3_beta16. To check out this CESM version and to download all of its components including visualCaseGen, run the following commands. (It is recommended to run the below commands in your home directory, since it make it easier to find visualCaseGen in Jupyter hub).
git clone https://github.com/alperaltuntas/cesm.git -b cesm2_3_beta16_gui cesm2_3_beta16_gui
cd cesm2_3_beta16_gui
./manage_externals/checkout_externals -o
Run the following commands inside your local copy of cesm2_3_beta16_gui for installing the visualCaseGen library:
cd visualCaseGen
conda env create -f environment.yml
The above command will install a new conda environment called visualCaseGen
. You may activate this environment by running:
conda activate visualCaseGen
- On a web browser, go to:
https://jupyterhub.hpc.ucar.edu/
- Start a server by clicking on
Production
. Then click onStart
button. You may then selectCheyenne login node
as your cluster selection and hitLaunch server
. - After the Jupyter service is launched, locate the File Browser panel on the left.
- Find your
cesm2_3_beta16_gui
copy and double click on it. - Then, double click on the
visualCaseGen
directory. Within thevisualCaseGen
directory, find theGUI.ipynb
notebook file and double click on it to launch the notebook. - Before running the notebook cell, make sure that your Python kernel is set to
visualCaseGen
. The kernel selection is shown on top right corner next to a circle. - Finally, click on the
from visualCaseGen import gui; gui
cell and hitshift
+return
.
When the GUI is launched, the users are prompted to make a couple of preliminary choices: The CESM driver (nuopc or mct) and the Configuration mode:
-
predefined
configuration mode: Select from configurations predefined within CESM -
custom
configuration mode: Build your own compset for a breakthrough CESM experiment.
After having made the preliminary choices, click on the Confirm
button to move on the next step.
instructions coming soon