This repository contains the MATLAB scripts used in the paper "Evaluating Monin-Obukhov Scaling in the Unstable Oceanic Surface Layer", J. Phys. Oceanogr., doi:10.1175/JPO-D-20-0201.1.
You can reach me at [email protected] for questions related to the usage of this code.
This set of scripts fufills the analysis presented in our paper in three steps:
- Load and process original data
- Calculate key parameters
- Produce figures
This code is tested in MATLAB R2019b.
It also uses some external toolboxes/functions, as listed below:
- Gibbs-SeaWater (GSW) Oceanographic Toolbox
- Air-sea toolbox
- cbrewer
- Custom Colormap
- RGB
- MarkerTransparency
- suplabel
- tight_subplot
The data used in this work are mostly publicly available (see the "Data availability statement" in our paper). For convience, a copy of the original data can be downloaded either from this Google Drive link, or from the most recent release of this repository.
- Download this repository to your local computer. Alternatively, you can clone it using the command line in Terminal,
git clone https://github.com/zhihua-zheng/EvaMO_UOSL_code.git
Add this repository to your MATLAB search path
addpath(genpath('<path to this repository>'))
-
Download the data file
EvaMO_UOSL_data.zip
following the Data section. Unzip it into the top-level directory of the repositoryEvaMO_UOSL_code
. -
Run the main analysis script
evaMO_main.m
.
This set of scripts is free for reuse as described in the MIT License. However, if you use this code in an academic publication, a propriate citation to the source would be appreciated:
- Zhihua Zheng. (2020, December 22). Analysis scripts for "Evaluating Monin-Obukhov Scaling in the Unstable Oceanic Surface Layer". Zenodo. doi:10.5281/zenodo.3988503