All Projects → NCAR → Ncar Python Tutorial

NCAR / Ncar Python Tutorial

Licence: cc-by-4.0
Numerical & Scientific Computing with Python Tutorial

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ncar Python Tutorial

Thesemicolon
This repository contains Ipython notebooks and datasets for the data analytics youtube tutorials on The Semicolon.
Stars: ✭ 345 (+590%)
Mutual labels:  jupyter-notebook, tutorial, numpy, matplotlib
Dsp Theory
Theory of digital signal processing (DSP): signals, filtration (IIR, FIR, CIC, MAF), transforms (FFT, DFT, Hilbert, Z-transform) etc.
Stars: ✭ 437 (+774%)
Mutual labels:  jupyter-notebook, tutorial, numpy, scipy
Data Analysis
主要是爬虫与数据分析项目总结,外加建模与机器学习,模型的评估。
Stars: ✭ 142 (+184%)
Mutual labels:  jupyter-notebook, numpy, scipy, matplotlib
Stats Maths With Python
General statistics, mathematical programming, and numerical/scientific computing scripts and notebooks in Python
Stars: ✭ 381 (+662%)
Mutual labels:  jupyter-notebook, numpy, scipy, matplotlib
Notes Python
中文 Python 笔记
Stars: ✭ 6,127 (+12154%)
Mutual labels:  jupyter-notebook, numpy, scipy, matplotlib
Opendatawrangling
공공데이터 분석
Stars: ✭ 148 (+196%)
Mutual labels:  jupyter-notebook, jupyter, numpy, matplotlib
Psi4numpy
Combining Psi4 and Numpy for education and development.
Stars: ✭ 170 (+240%)
Mutual labels:  jupyter-notebook, tutorial, numpy, scipy
Machine Learning Alpine
Alpine Container for Machine Learning
Stars: ✭ 30 (-40%)
Mutual labels:  jupyter-notebook, numpy, matplotlib
Hands On Nltk Tutorial
The hands-on NLTK tutorial for NLP in Python
Stars: ✭ 419 (+738%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Machinelearningcourse
A collection of notebooks of my Machine Learning class written in python 3
Stars: ✭ 35 (-30%)
Mutual labels:  jupyter-notebook, jupyter, numpy
Data Science Ipython Notebooks
Data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe, Keras), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines.
Stars: ✭ 22,048 (+43996%)
Mutual labels:  numpy, scipy, matplotlib
Data Science Your Way
Ways of doing Data Science Engineering and Machine Learning in R and Python
Stars: ✭ 530 (+960%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Intro To Python
An intro to Python & programming for wanna-be data scientists
Stars: ✭ 536 (+972%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Workshopscipy
A workshop for scientific computing in Python. ( December 2017 )
Stars: ✭ 391 (+682%)
Mutual labels:  jupyter-notebook, numpy, scipy
Mlcourse.ai
Open Machine Learning Course
Stars: ✭ 7,963 (+15826%)
Mutual labels:  numpy, scipy, matplotlib
Python Notlarim
Python notes in Turkish.
Stars: ✭ 356 (+612%)
Mutual labels:  jupyter-notebook, numpy, matplotlib
Spark Scala Tutorial
A free tutorial for Apache Spark.
Stars: ✭ 907 (+1714%)
Mutual labels:  jupyter-notebook, jupyter, tutorial
Skydetector
A Python implementation of Sky Region Detection in a Single Image for Autonomous Ground Robot Navigation (Shen and Wang, 2013)
Stars: ✭ 23 (-54%)
Mutual labels:  jupyter-notebook, jupyter, numpy
Pythondatasciencehandbook
The book was written and tested with Python 3.5, though other Python versions (including Python 2.7) should work in nearly all cases.
Stars: ✭ 31,995 (+63890%)
Mutual labels:  jupyter-notebook, numpy, matplotlib
Geopython
Notebooks and libraries for spatial/geo Python explorations
Stars: ✭ 268 (+436%)
Mutual labels:  jupyter-notebook, jupyter, matplotlib

CircleCI

NCAR Python Tutorial


Setup

This tutorial covers the installation and setup of a Python environment on:

  • Cheyenne
  • Casper
  • CGD's Hobart
  • Personal laptop/desktop with a UNIX-variant Operating System

NOTE: For windows users, setup scripts provided in this repository don't work on Windows machines for the time being.

Step 1: Clone NCAR Python Tutorial Repository

Run the following commmand to clone this repo to your system(e.g. cheyenne, casper, your laptop, etc...):

git clone https://github.com/NCAR/ncar-python-tutorial.git

Step 2: Install Miniconda and Create Environments

  • Change directory to the cloned repository

    cd ncar-python-tutorial
    
  • Run the configure script:

    NOTE: Be prepared for the script to take up to 15 minutes to complete.

    ./setup/configure
    
$ ./setup/configure --help
usage: configure [-h] [--clobber] [--download] [--prefix PREFIX]

Set up tutorial environment.

optional arguments:
  -h, --help            show this help message and exit
  --clobber, -c         Whether to clobber existing environment (default:
                        False)
  --download, -d        Download tutorial data without setting environment up
                        (default: False)
  --prefix PREFIX, -p PREFIX
                        Miniconda3 install location)

Default values for --prefix argument are:

  • Personal laptop / Hobart: $HOME/miniconda3
  • Cheyenne or Casper: /glade/work/$USER/miniconda3

NOTE: In case the default prefix is not appropriate for you (due to limited storage), feel free to specify a different miniconda install location. For instance, this install location may be a project workspace on a shared filesystem like GLADE or Hobart's filesystem.

The configure script does the following:

  • Install conda package manager if it is unable to find an existing installation. Otherwise, it will update the base environment
  • Create or Update python-tutorial conda environment.
  • Download data if not on Cheyenne or Casper or Hobart. If on Cheyenne or Casper or Hobart, create soft-links to an existing/local data repository.

Step 3: Close and re-open your current shell

For changes to take effect, close and re-open your current shell.

Step 4: Run the Setup Verification Script

  • Check that conda info runs successfully:

    conda info
    
  • From the ncar-python-tutorial directory, activate python-tutorial conda environment:

    conda activate python-tutorial
    
  • Run the setup verification script to confirm that everything is working as expected:

    cd ncar-python-tutorial
    ./setup/check_setup
    

    This step should print "Everything looks good!".


Launch Jupyter Lab

1. Cheyenne or DAV via JupyterHub (Recommended)

To use the Cheyenne or DAV compute nodes,we recommend using JupyterLab via NCAR's JupyterHub deployment.

Open your preferred browser (Chrome, Firefox, Safari, etc...) on your local machine, and head over to https://jupyterhub.ucar.edu/.

You will need to authenticate with either your yubikey or your DUO mobile app

2. Cheyenne or DAV via SSH Tunneling

In case you are having issues with jupyterhub.ucar.edu, we've provided utility scripts for launching JupyterLab on both Cheyenne and Casper via SSH Tunneling:

conda activate base
./setup/jlab/jlab-ch # on Cheyenne
./setup/jlab/jlab-dav # on Casper

3. Hobart via SSH Tunneling

For those interested in running JupyterLab on CGD's Hobart, you will need to use SSH tunneling script provided in setup/jlab/jlab-hobart

conda activate base
./setup/jlab/jlab-hobart
$ ./setup/jlab/jlab-hobart --help
Usage: launch dask
Possible options are:
 -w,--walltime: walltime [default: 08:00:00]
 -q,--queue: queue [default: medium]
 -d,--directory: notebook directory
 -p,--port: [default: 8888]

4. Personal Laptop

For those interested in running JupyterLab on their local machine, you can simply run the following command, and follow the printed instructions on the console:

conda activate base
jupyter lab
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].