Calculation of air-sea fluxes


License
MIT
Install
pip install seaflux==2.1.0

Documentation

SeaFlux

Build Status Documentation Status codecov pypi DOI License:MIT

Calculation of air-sea fluxes

Installing

GitHub

pip install git+https://github.com/luke-gregor/SeaFlux.git

PyPi

pip install seaflux

Overview of functionality

  • Calculate sea-air fluxes using the bulk formulation
  • Convert pCO2 to fCO2 and vice versa.
  • Correct or adjust pCO2 for temperature changes
  • Scale kw to 14C bomb values for wind products using Wanninkhof's (1992) second moment of the wind speed (requires standard deviation of the wind)
  • Download NOAA Marine Boundary Layer xCO2 and related functions for pCO2 conversion
  • Calculate the grid cell area (in m^2) for a grid of latitudes and longitudes - also works as an xarray method (xda.area())

To Do

  • unit errors should only happen when more than 50% of non-nan values are not valid. Otherwise, raise warning and make output nan. Will double up with pyCO2SYS.
  • tests! Currently there are not any meaningful tests.
  • Add contributor file.
  • Documentation

Project based on the cookiecutter science project template.