ocean-transport / SST-gradients

0 stars 1 forks source link

Prototype calculation of cabelling and mixing of density from POP data #1

Open rabernat opened 2 years ago

rabernat commented 2 years ago

Let's start by operating on a single timestep of data. The fields you will have are SST and SSS.

Step 1: Calculate tendency of SST and and SSS from mixing

From this, we want to calculate M(T) and M(S): the tendency from mixing for temperature and salinity.

How will you calculate M(T)? Using @paigem's code. She has already coded up the POP biharmonic mixing operator. We can just take that code directly and use it here.

Step 2: Convert these to a density tendency

The density tendency from mixing of T and S is given by

dρ/dT M(T) + dρ/dS M(S)

You can get the thermodynamic coefficients from fastjmd95.

Step 3: Decompose into the following form

dρ/dT M(T) + dρ/dS M(S) = M(rho) + C

You can calculate C as

C = dρ/dT M(T) + dρ/dS M(S) - M(rho)

Acceptance criteria

How will we know when this task is complete:

No notebooks!

rabernat commented 2 years ago

Here is the notebook from Paige which shows how to compute the biharmonic tendency:

https://github.com/ocean-transport/cesm-air-sea/blob/master/biharmonic_tendency.ipynb