NumbaCS
  • NumbaCS: Numba Coherent Structures
  • User Guide
  • Theory and Implementation
  • Examples Gallery
    • Elliptic LCS
      • Bickley jet Elliptic LCS
      • Quasi-geostrophic Elliptic LCS
    • Elliptic OECS
      • Bickley jet Elliptic OECS
      • Quasi-geostrophic Elliptic OECS
    • FTLE
      • Bickley jet FTLE
      • Bickley jet FTLE ridges
      • Copernicus Globe FTLE
      • Double gyre FTLE
      • Double gyre FTLE ridges
      • MERRA-2 FTLE
      • MERRA-2 FTLE ridges
      • MERRA-2 Globe FTLE
      • Quasi-geostrophic FTLE
      • Quasi-geostrophic FTLE ridges
    • Hyperbolic LCS
      • Double gyre Hyperbolic LCS
      • MERRA-2 Hyperbolic LCS
    • Hyperbolic OECS
      • Bickley jet iLE
      • Double gyre iLE
      • MERRA-2 hyperbolic OECS
      • MERRA iLE
      • Quasi-geostrophic hyperbolic OECS
      • Quasi-geostraphic iLE
    • Time series
      • NumbaCS vs SciPy/NumPy – Double gyre
      • Double gyre time series
      • NumbaCS vs SciPy/NumPy – QGE
      • Quasi-geostrophic FTLE ridges time series
      • Quasi-geostrophic time series
  • Contributing to NumbaCS
  • Releases
  • API Reference
NumbaCS
  • Examples Gallery
  • View page source

Examples Gallery

This gallery contains all the NumbaCS examples.

Note

Most of these examples are simply meant to demonstrate how to use the various modules in NumbaCS. Since many of the functions in NumbaCS are written with the Numba @njit decorator, they are optimized and compiled just-in-time and therefore, their first function call can be slow (especially for functions which call many compiled functions internally like numbacs.extraction.ftle_ordered_ridges()). For many examples here, these warmup times are included in the timings. The times listed at the end of each example should not be seen as representative of potential speed of NumbaCS when a time series of one of the diagnostics or extraction methods are desired. For more representative timings, see examples in the Time series section.

Note

To run any of these examples, matplotlib will need to be installed as it does not ship with NumbaCS. Also, to run any example which uses a numerical flow, the data will need to be downloaded from the Github page.

Elliptic LCS

This gallery contains examples for LAVD-based elliptic LCS.

Bickley jet Elliptic LCS

Bickley jet Elliptic LCS

Quasi-geostrophic Elliptic LCS

Quasi-geostrophic Elliptic LCS

Elliptic OECS

This gallery contains examples for IVD-based elliptic OECS.

Bickley jet Elliptic OECS

Bickley jet Elliptic OECS

Quasi-geostrophic Elliptic OECS

Quasi-geostrophic Elliptic OECS

FTLE

This gallery contains examples for FTLE fields and FTLE ridges.

Bickley jet FTLE

Bickley jet FTLE

Bickley jet FTLE ridges

Bickley jet FTLE ridges

Copernicus Globe FTLE

Copernicus Globe FTLE

Double gyre FTLE

Double gyre FTLE

Double gyre FTLE ridges

Double gyre FTLE ridges

MERRA-2 FTLE

MERRA-2 FTLE

MERRA-2 FTLE ridges

MERRA-2 FTLE ridges

MERRA-2 Globe FTLE

MERRA-2 Globe FTLE

Quasi-geostrophic FTLE

Quasi-geostrophic FTLE

Quasi-geostrophic FTLE ridges

Quasi-geostrophic FTLE ridges

Hyperbolic LCS

This gallery contains examples hyperbolic LCS found using the variational method.

Double gyre Hyperbolic LCS

Double gyre Hyperbolic LCS

MERRA-2 Hyperbolic LCS

MERRA-2 Hyperbolic LCS

Hyperbolic OECS

This gallery contains examples for iLE fields and hyperbolic OECS.

Bickley jet iLE

Bickley jet iLE

Double gyre iLE

Double gyre iLE

MERRA-2 hyperbolic OECS

MERRA-2 hyperbolic OECS

MERRA iLE

MERRA iLE

Quasi-geostrophic hyperbolic OECS

Quasi-geostrophic hyperbolic OECS

Quasi-geostraphic iLE

Quasi-geostraphic iLE

Time series

This gallery contains examples for time series of diagnostics and flow map composition.

NumbaCS vs SciPy/NumPy – Double gyre

NumbaCS vs SciPy/NumPy -- Double gyre

Double gyre time series

Double gyre time series

NumbaCS vs SciPy/NumPy – QGE

NumbaCS vs SciPy/NumPy -- QGE

Quasi-geostrophic FTLE ridges time series

Quasi-geostrophic FTLE ridges time series

Quasi-geostrophic time series

Quasi-geostrophic time series

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Previous Next

© Copyright 2025, Albert Jarvis.

Built with Sphinx using a theme provided by Read the Docs.