Detailed user and quick start guides can be found at volcanotech.co.uk
- Windows 10/11
condainstalled (Download page and installation instructions)gitinstalled (optional but recommended; installation instructions)
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
- If you have
gitinstalled 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
gitinstalled 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
- Create a new
python 3.12conda environment and activate it:
conda create -n pycam python=3.12
conda activate pycam- Install dependencies from the requirements.txt file:
pip install -r requirements.txt- Run
pycam:
python run_pycam.pyAccess 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.npyformat to produce a DOAS calibrationpyplis- Batch process image pairs with DOAS results to produce SO2 emmision resultswatcher- 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.
An example of running the tool in watcher mode python process_emission_rates.py watcher --config_path='C:/Users/myuser/Documents/myconfig.yaml'