FCO2v2

This function calculates the CO2 flux at the air-sea interface for a temperature range of -2 to 40°C.
19 Downloads
Updated 12 Oct 2025

View License

FCO2v2 is a MATLAB function to calculate the CO₂ flux at the air-sea interface. This version uses the gas transfer velocity formulation from Wanninkhof (2014) and supports temperatures ranging from -2 to 40 °C.
Syntax:
[F_CO2, dpCO2, K_CO2] = FCO2v2(pCO2_water, pCO2_atm, SST, SSS, wind);
Inputs:
  • pCO2_water: seawater pCO₂ (µatm)
  • pCO2_atm: atmospheric pCO₂ (µatm)
  • SST: sea surface temperature (°C)
  • SSS: sea surface salinity (PSU)
  • wind: wind speed at 10 m above the sea surface (m/s)
Outputs:
  • F_CO2: CO₂ flux (mmol m⁻² d⁻¹)
  • dpCO2: pCO₂ difference between water and atmosphere (µatm)
  • K_CO2: gas transfer velocity (cm h⁻¹)

Cite As

Victor Ebolo N. (2025). FCO2v2 – MATLAB function for calculating air-sea CO2 fluxes. https://www.mathworks.com/matlabcentral/fileexchange/170881

MATLAB Release Compatibility
Created with R2025a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

FCO2v2

FCO2v2/FCO2v2

FCO2v2/FCO2v2/example

FCO2v2/example

Version Published Release Notes
2.1

Added automatic SST conversion (K → °C)

2.0.0