A collection of tools for performing analysis on the data generated in this repository
Quick setup (recommended):
make setup # Configure and install environment
mamba activate renewables-analysis
make all # Set up pre-commit toolsFor more shortcuts, run make or make help.
Manual setup:
Mamba is faster and more reliable than conda:
# Install mamba if you don't have it
conda install mamba -n base -c conda-forge
# Create and activate environment
mamba env create -f environment.yml
mamba activate renewables-analysis
# Install project in development mode
pip install -e ".[dev,test]"conda env create -f environment.yml
conda activate renewables-analysis
pip install -e ".[dev,test]"python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -e ".[dev,test]"After environment is created, add tools for loading climate data catalog from climakitae
With the environment active, run:
pip install https://github.com/cal-adapt/climakitae/archive/refs/tags/1.4.0.zip
pre-commit install
pre-commit run --all-files # Optional: run on all existing files