Detection and Attribution framework in python using the Optimal Fingerprinting Approach (Hasselmann, 1993; Ribes et al. 2013)
This package is still under development and has not been fully tested yet.
-
PyDnA.py
- collection of functions needed byROF_main.py
(based on A. Ribes scilab code) -
ROF_main.py
- DA routine (based on A. Ribes scilab code)
-
load_fil_data.py
- load data and filter data -
plot_da_res.py
- plot results of da routine -
run_da_routine.py
- wrapper function, calls all other routines
- numpy (tested for version 1.17.4)
- scipy (tested for version 1.3.1)
- argparse
- multiprocessing
- subprocess
- xarray
- pandas
- matplotlib
- Download the example* data archive and unzip into the
data
directory python run_da_routine.py ph -s 5 -b 15
python run_da_routine.py --help
to display all options.
*example data shows hydrogen ion concentration (measure of pH) for an ocean alkalinization experiment (Gonzalez & Ilyina, 2016)