Materials for APS699 - Spring 2026
- Use
condato install and manage packages for this course. - Avoid mixing
pipwithcondain the same environment; it can override conda packages and cause dependency conflicts. - If you must use
pip, install conda packages first, thenpip, and be ready to recreate the environment if conflicts appear.
- Clone the course repository:
git clone https://github.com/mdfriberg/APS699-Sp2026.git
- Move into the repo and list files:
cd APS699-Sp2026ls
- Update an existing clone (if you already have one):
git pull
- Log in to your JupyterLab account.
- Open a terminal inside JupyterLab.
- Confirm your working directory:
pwdecho $HOME
- Move to your home directory (if you are not already there):
cd "$HOME"pwd
- Check Python and conda:
python --versionconda --version
- Show all installed libraries in conda:
conda list
- Verify one required library (example):
conda list xarray
- Verify the full list of required libraries:
conda list | grep -E "^(xarray|pandas|cartopy|arm_pyart|satpy|metpy|boto|cfgrib|sharppy)\b"
- Check for library conflicts (dry run):
conda install --dry-run xarray pandas cartopy arm_pyart satpy metpy boto cfgrib sharppy jupyterlab
- List available conda environments:
conda env list
- Create a new conda environment file:
conda env create -f APS699-Sp2026-Test.yml
- To make your own environment, copy the yml file, edit the renamed yml file, then create and activate the new environment:
cp APS699-Sp2026-Test.yml APS699-Sp2026-MyEnv.ymlvi APS699-Sp2026-MyEnv.ymlconda env create -f APS699-Sp2026-MyEnv.ymlconda activate APS699-Sp2026-MyEnv
- Check environment health:
conda infoconda listconda install --dry-run xarraypython -c "import numpy, pandas; print('ok')"conda list --explicit > /tmp/explicit.txt
- Python: https://www.python.org
- Conda: https://docs.conda.io
- Vi editor: https://www.vim.org