Riley X. Brady
July 27th, 2020
The data used in this sample is available freely through the Earth System Grid Federation. You can also download the files used here directly from Google Drive. Make sure to move them into the data
folder.
First install the conda environment:
conda env update -f environment.yml
Then run
conda activate mckinsey-position-brady
python submission.py
The sample code demos a simplified analysis from my 2019 paper in Biogeosciences on the response of coastal air-sea CO2 fluxes to modes of climate variability. Here, I perform a Linear Taylor Expansion on the ocean pCO2 response to the North Pacific Gyre Oscillation (NPGO), a prominent mode of climate variability that influences the California Current. The result of the analysis is a quantification of how variability in driver variables of pCO2 (temperature, salinity, dissolved inorganic carbon, and alkalinity) cause the response of pCO2 to the NPGO. Since it is a linear expansion, it is not a perfect approximation and negates cross-derivative terms. See, e.g., Figure 6 from the linked paper for a final result with the air-sea CO2 flux (which is influenced largely by pCO2).