quick start to setup a python environment for oceanographic data analysis
- Have git and github account setup either from command line or GitHub Desktop
- Install Anaconda or Miniconda
- This repository is a template repository and can be used as a starting point for your own repositories. Create your new repository using the Use this template button on GitHub
- Clone your new repository to your local machine:
git clone https://github.com/myusername/my-new-repo-name.git - Using Terminal, navigate to the folder where you have cloned the repository (e.g.,
cd ~/Documents/GitHub/my-new-repo-name) - create a new environment using the Conda package manager:
conda env create -f environment.ymlThis command creates a new python environment called oce_py and installs the packages listed in the environment.yml file - You can then activate the new environment using:
conda activate oce_py
-
Activate your environment if you have not already
conda activate oce_py -
launch jupyter lab:
jupyter lab -
This will open a browser window. Select the Notebook option with the "oce_py" environment to create a new notebook:
