Skip to content

NatLabRockies/stock-postproc

Repository files navigation

Stock Postprocessing Workflow

Overview

This project automates the common postprocessing tasks that are part of running ResStock and ComStock

Installation

  1. Clone the repository
git clone
  1. Install uv globally if you don't already have it installed
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# or via pip
pip install uv

uv --version
  1. Create the uv virtual environment and install dependencies, then activate it
uv python install

# macOS/Linux
source .venv/bin/activate

# Windows
.venv\Scripts\activate
  1. Update the uv dependencies
# (Re-)generate your lockfile from pyproject.toml
uv lock --upgrade

# Create/update your virtualenv and install the dependencies
uv sync

Run pre-commit to check code style

uv run pre-commit run --all-files

Create and activate the uv environment

pip install -e .
stock-postproc run --config-file=config.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors