If you've just been awarded a grant from the DTI and need to get started using C3 resources for your project, this guide shows the fastest method to get started with a Jupyter notebook. If any of these steps don't work for you, please send us an email at help@c3dti.ai and we'll either make the instructions clearer, or work with you to resolve your issue.

This notebook is configured with a set of packages scientists might find useful, but likely won't satisfy all of your needs. Contact the DTI team to have us configure the environment you need, or we can point you to the right resources.

  1. Look at our DTI Readiness Checklist to check that all accounts you need are in order.
  2. Request a tag through help@c3dti.ai or check your emails for a tag the DTI has already sent you.
    1. Find your <vanity_url> which is a url you will use to access your tag's facilities.
  3. Launch the Jupyter Service
    1. Access your tag’s static console:
      1. <vanity_url>/static/console
    2. Open your browser’s devtools and go to the Javascript console
      1. On many browsers this is the ‘Ctrl+Shift+I’ keyboard shortcut; here is an article with directions on how to do this for different browsers on Windows and MacOS.
    3. Check whether a Jupyter is already running
      1. Execute the following command in the browser javascript console
      2. Jupyter.inst().state()
      3. Returns ‘RUNNING’ if running, ‘STOPPED’ if not, 'STARTING' if launching
    4. Launch the Jupyter service
      1. Jupyter.inst().start()
      2. Wait until you the call returns in the browser console. You should get an ‘undefined’ as the function doesn’t return any output.
    5. Navigate to the Jupyter service
      1. <vanity_url>/jupyter
  4. Install the python environment
    1. Open a new Jupyter notebook (we need to get to the Kernel management menu)
    2. Select the "Kernel" menu
    3. Select "Manage Kernels"
    4. Browse the list and select ‘install’ on the 'py-dataanalysis' kernel. (this is the special kernel signed for this course)
    5. Wait until either there’s a timeout, or the spin icon stops and it says ‘uninstall’
    6. Refresh the Jupyter notebook
    7. Select the 'Kernel' menu
    8. Select 'Change Kernel'
    9. Select the 'py-dataanalysis' kernel.
  5. Test your code
    1. Go back to the Jupyter tree page
    2. Upload your notebooks, or open a new notebook
    3. Make sure to select the 'py-dataanalysis' kernel.
    4. Try some code
  6. Shutdown your Jupyter Service
    1. Remember when you're finished to shutdown your Jupyter resources as leftover running services can impact performance for other users.
    2. You can click the 'Shutdown Service' button on your Jupyter tree page <vanity_url>/tree
    3. You can also execute the command Jupyter.inst().stop() from your static console page.
  • No labels

1 Comment