osmose.forcing.reproductive_volume

Reproductive-volume field generator (Baltic cod egg survival).

Turns depth-resolved CMEMS salinity (so) + oxygen (o2) into a per-cell field = summed thickness of the water column where salinity >= sal_thresh AND oxygen >= o2_thresh co-occur (the classic Baltic-cod reproductive-volume). Cod eggs float mid-column in the saline layer, NOT on the anoxic seafloor, so the whole column is scanned rather than the bottom slice.

Functions

build_rv_field(phy_years, bgc_years, grid, *)

Build the 24-step climatology RV field (mean of per-year RV) + RV_ref attr.

viable_thickness(so, o2, depths, sal_thresh, ...)

Summed thickness (m) of viable water in one column (any NaN level is not viable).