Skip to content
Switch branches/tags

O2:Ar NCP Calculation Tools

This is a set of scripts for calculating NCP, diurnal GPP and similarly derived measurements from O2:Ar datasets. Each notebook file contains the tools and algorithms to load, process, and compile the raw data formats into the final analysis.

N.B. This code base is still under active development with many incomplete and, potentially, incorrect codes. Use/browse accordingly.

Order of operations

This suite of scripts is designed to walk the user through each of the steps required to take the raw data files all the way to final results. Starting off there are a series of input scripts that parse and preprocess the raw data files into intermediate, human readable formats (human readable in order to facilitate spot checking and verification of results). After that there is a linear series of modeling scripts that collate the data and crunch the numbers resulting in a series of preliminary output figures and results. Finally, specific analysis and comparison scripts will facilitate the final data processing resulting in publication ready data.

Throughout, the notebook files are designed to walk the user through the process with choices and options (e.g. linear interpolation vs nearest neighbor?) throughout. The goal is to have a flexible and adaptable series of scripts for general use by the oceanographic community.

See the Description files for information about the folder structure and some additional metadata regarding the suite.


Input Processing

Data Crunching

Ancillary Modules

About Notebook Files

Since not everyone is familiar with the Jupyter Notebook platform, let us say a few words about it. Jupyter, formally iPython Notebook, is an interactive scripting environment for use in data analysis, script development and, importanly, for sharing scripts and workflows with others. While designed with Python in mind, the platform is nearly language agnostic with ready backends (i.e. kernels) for numerous languages: R, MatLab, C, Java, Clojure, Lisp, Fortran, etc. Do yourself a favor and check it out, it is certainly worth the time to learn about this valuable, open source resource.


Thomas B Kelly & Sven A. Kranz, An Improved, Reusable Pipeline for Oxygen/Argon Derived Measurements Including Net Community Production. Florida State University. DOI

Find our contact information: (Sven Kranz) & (Thomas Kelly).