Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 2.71 KB

README.md

File metadata and controls

48 lines (35 loc) · 2.71 KB

DOI

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.

Description

This set of scripts fufills the analysis presented in our paper in three steps:

  • Load and process original data
  • Calculate key parameters
  • Produce figures

Prerequisites

This code is tested in MATLAB R2019b.

It also uses some external toolboxes/functions, as listed below:

Data

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.

Work flow

  1. 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>'))
  1. Download the data file EvaMO_UOSL_data.zip following the Data section. Unzip it into the top-level directory of the repository EvaMO_UOSL_code.

  2. Run the main analysis script evaMO_main.m.

Attribution

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