Skip to content

About

Permanent PiCam (SO2) installation project software

Topics

Resources

Stars

5 stars

Watchers

4 watching

Forks

Repository files navigation

PyCam project repo

Documentation

Detailed user and quick start guides can be found at volcanotech.co.uk

Pre-requsities

Note

The commands outlined below can be run directly in the 'Miniforge prompt' installed with conda/conda-forge.
Alternatively, you can run these commands in 'Powershell' once you have made conda available to 'Powershell'. You can do this by opening the 'Miniforge prompt' and running conda init powershell

Installation instructions

  1. If you have git installed then clone the PyCamPermanent repo and move into the PyCamPermanent directory:
git clone https://github.com/volcanotech-sw/PyCamPermanent.git
cd PyCamPermanent
  • If you don't have git installed you can still download and extract the repository (for instructions, see 'If All Else Fails, Get The Code' on this page)
    • Once downloaded you need to extract the files from the zipped file and navigate to the newly extracted directory in your terminal
  1. Create a new python 3.12 conda environment and activate it:
conda create -n pycam python=3.12
conda activate pycam
  1. Install dependencies from the requirements.txt file:
pip install -r requirements.txt
  1. Run pycam:
python run_pycam.py

Command Line Tools Documentation

Access to the headless PyCam tools are through the script process_emission_rates.py.

There are 3 commands within the script:

  • doas - Batch process spectrometer data in .npy format to produce a DOAS calibration
  • pyplis - Batch process image pairs with DOAS results to produce SO2 emmision results
  • watcher - Starts a file watcher that will process any spectrometer or image data found in the specified directory or sub-directories

For detailed usage, run each script with the --help flag to view available options and arguments.

Example

An example of running the tool in watcher mode python process_emission_rates.py watcher --config_path='C:/Users/myuser/Documents/myconfig.yaml'

About

Permanent PiCam (SO2) installation project software

Topics

Resources

Stars

5 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages