Inverse modeling is a commonly used method and a formal approach to estimate the variables driving the evolution of a system, e.g. greenhouse gases (GHG) sources and sinks, based on the observable manifestations of that system, e.g. GHG concentrations in the atmosphere. This has been developed and applied for decades and it covers a wide range of techniques and mathematical approaches as well as topics in the field of the biogeochemistry. In this Jupyter Notebook is a lecture for students interested in learning about inverse modeling. It contains all the theoretical background around the concept of inverse modeling from a beginners level. At the end of the notebook you can find an application of inverse modeling to retrieve sourface fluxes of carbon dioxide.
The purpose of this GitHub repository is to host the required files to run a Jupyter notebook. You will find the file environment.yml
, which sets the enviroment needed to run the Jupyter notebook
-
Install miniconda3.
-
Download the files from this repository and unzip
-
In the terminal, navigate to the folder you downloaded from GitHub
-
Install the
Inverter
environment by running the follwing lines
conda env create -f environment.yml
conda activate Inverter
- Run the notebook by typing
jupyter notebook
numpy
and its submodulenumpy.linalg
will be the main library to read, format and manipulate datasets as well as perform mathematic and linear algebra operations.matplotlib
will be the main library to plot the different results and datasets.copy
is used in theinverter
package to copy the format of the datasets.matplotlib.dates
,datetime
andcalendar
are used to format time parameter of fluxes and observations.inverter
is a Python class containing the functions to perform the inversions.modelCO2
contains the Python code of the transport model.