Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Phytoplankton nutrient limitation

A centric diatom, another type of phytoplankton. Art credit: Kristen Krumhardt


Overview

In previous notebooks, we explored the distribution of different nutrients in the ocean. Here we examine how the growth of phytoplankton communities is limited by these nutrient distributions.

  1. General setup

  2. Subsetting

  3. Processing - long-term mean

  4. Mapping nutrient limitation at the surface

  5. Mapping biomass-weighted nutrient limitation in the top 100m

  6. Making monthly climatology maps

Prerequisites

ConceptsImportanceNotes
MatplotlibNecessary
Intro to CartopyNecessary
Dask CookbookHelpful
Intro to XarrayHelpful
  • Time to learn: 30 min


Imports

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 8
      4 import matplotlib.pyplot as plt
      5 import matplotlib.colors
      6 import cartopy
      7 import cartopy.crs as ccrs
----> 8 import pop_tools
      9 from dask.distributed import LocalCluster
     10 import s3fs
     11 

File ~/micromamba/envs/ocean-bgc-cookbook-dev/lib/python3.14/site-packages/pop_tools/__init__.py:4
      1 """Top-level module for pop_tools"""
----> 4 from pkg_resources import DistributionNotFound, get_distribution
      6 from .calc import cfc11sol, cfc12sol
      7 from .datasets import DATASETS

ModuleNotFoundError: No module named 'pkg_resources'

General setup (see intro notebooks for explanations)

Connect to cluster

Bring in POP grid utilities

Load the data

Subsetting

Processing - long-term mean

Pull in the function we defined in the nutrients notebook...

Take the long-term mean of our data set. We process monthly to annual with our custom function, then use xarray’s built-in .mean() function to process from annual data to a single mean over time, since each year is the same length.

Mapping nutrient limitation at the surface

Phytoplankton need a specific ratio of nutrients to grow and produce organic matter. In general, this is known as the Redfield ratio, first proposed by Redfield et al., 1963, and is approximately 106 C:16 N:1 P. Micronutrients like silicate and iron are also needed in more variable amounts depending on plankton type. To learn more about nutrient limitation, see Sarmiento and Gruber Chapter 4: Organic Matter Production. Our dataset uses a numerical notation to specify which nutrient is limiting in each area for each phytoplankton functional type, as specified below:

  • 0 = PO4

  • 1 = Fe

  • 2 = NO3 (only for small phytoplankton and diatoms)

  • 3 = Si (only for diatoms)

  • 3 = C (only for coccolithophores)

To turn this information into a single array, we concatenate the limitation terms along the nutrient dimension for each phytoplankton functional type.

Mapping biomass-weighted nutrient limitation in the top 100m

Making monthly climatology maps

Make a monthly climatology dataset

A monthly climatology is a dataset where data from each month, including over different years, is averaged together. So for our dataset, the groups would include the average of all Januaries 2010-2019, all Februaries 2010-2019, and so on. This would usually be over a longer time period such as 30 or more years, but we use our shorter dataset so that it processes faster. This technique is helpful for looking at seasonal phenomena while averaging out year-to-year fluctuations.

And close the Dask cluster we spun up at the beginning.


Summary

You’ve learned how to evaluate phytoplankton nutrient limitation.

Resources and references

References
  1. (2013). In Ocean Biogeochemical Dynamics (pp. 102–172). Princeton University Press. 10.2307/j.ctt3fgxqx.7