Repository for the Canadian Oilfield Environmental Assessor (COEA) tool
The COEA tool relies on several datasets describing several activities of the upstream Canadian O&G industry.
The Project Data can be downloaded and unzipped from here - https://drive.google.com/file/d/17g927s3yLod_ujxeNGZtKvLEfnrX6hYj/view?usp=sharing
Additonal project data and reports that may be of use can be found here - https://drive.google.com/drive/folders/1-kXnw8VZBgOziqi7pjq4OuPjRuDqKCF-?usp=sharing
Research - http://hdl.handle.net/1880/111763
The COEA requires python 2.7. The environment is best setup using a package management tool such as conda. The Canadian_Oilfield_Environmental_Assessor.py is the main script to run the COEA. It calls various functions from the runfiles folder, ultimately exporting results to a custom version of the OPGEE tool where emissions intensities can be estimated. The analysis is completed based on the selection of a set of wells. The following image shows some default parameters that can be used for testing.
- Install conda miniforge on local machine (https://github.com/conda-forge/miniforge). Existing conda install should also work.
- Create the enviornment
conda env create -f environment.yml
- Edit the file runfiles/map_to_drive.py to point to the folder containing the unzipped 'Project Data' file downloaded from the above link.
- Run the script
python Canadian_Oilfield_Environmental_Assessor.py
Reach out to alexbradley60@gmail.com