• decarvalhobueno@gmail.com

Interwave Analyzer: An internal wave and lake hydrodynamic analyzer

The Interwave Analyzer is designed to be a powerful, easily accessible, and universal software to analyze the thermally stratified system from the instrumented buoy and numerical models, reviling specific details about the internal wave field and the lake mixing regime (de Carvalho Bueno et al., 2021; Environ. Model. Softw.).

TThe software offers an intuitive graphical user interface (Fig 1) that allows users to easily specify parameters for the analysis of lake hydrodynamics. It provides several essential analyses related to internal motion, including:

  1. A detailed and unique characterization of wind events;
  2. An effective Wedderburn number filtered by the wind characterization;
  3. Multi-layer model to identify the theoretical periodicity of internal waves;
  4. Spectral analysis of isotherms that may help on the identification of internal waves;
  5. Coherence and phase shift analysis to analyze the internal seiche patterns;
  6. Theoretical values related to internal seiche amplitude and degeneration;
  7. General classification of mixing, including many physical indices parameters.
Fig 1. Interwave Analyzer main menu
Fig 2. Wind and effective Wedderburn number estimated by the Interwave Analyzer. Green region indicates results of internal seiche activity according to Spigel and Imberger (1980) classification, whilst the red region indicates values most common found in the wide literature.

The software includes a wind characterization feature that takes into account wind events that may contribute to the formation of internal seiches. By analyzing segmented windows, the system calculates the influence of wind direction on the generation of internal seiches. For each averaged segment, the software computes consecutive wind events and determines the mean effective Wedderburn number. When the Wedderburn number falls within the range associated with internal wave formation (Spigel and Imberger, 1980; J. Phys. Oceanogr.), the software considers it as a consecutive wind event. It is worth noting that the longer the duration of the wind event, the greater the likelihood of generating internal seiches (Fig. 2). The size of each segment is determined based on the theoretical period of the internal seiche (t=1/8 TV1H1).

Spectral analyses are performed by Welch's method (Fourier transform) and Wavelet transform. The software also provides the confidence level for power spectral density of isotherms, revealing significant peaks that may be attributed to internal waves activities. Coupled with spectral analysis, the software also provides the theoretical period of internal seiche for different modes (Fig. 3).


The software offers a phase shift analysis between isotherms to identify internal waves with higher vertical modes. Additionally, the software includes a coherence analysis that examines the relationship between the power spectral density of wind speed and internal waves, which enables the identification of potential resonance effect between internal waves and wind forcing.

In addition to the aforementioned capabilities, the software offers theoretical results to describe the internal seiche field, including lake mixing characterization (Spigel and Imberger, 1980; J. Phys. Oceanogr.) and internal seiche amplitude (de Carvalho Bueno et al., 2021; Environ. Fluid Mech.) and how the internal seiche could be degenerated (Horn et al., 2001; J. Fluid Mech.).

Fig 3. Power spectral densities for different isotherms varying three user-defined parameters: window, window size, and wind direction contribution (angle).

The first version has been published at Environmental modelling and Software in 2021 under the title "Interwave analyzer for thermally stratified lakes" (de Carvalho Bueno et al., 2021; Environ. Model. Softw.). However, we are continuously working on further improvements and enhancements.

With the release of version 2.0, we introduced a decomposition model that incorporates an internal wave solution for continuous stratification. This new functionality provides the theoretical wave period for the first five vertical modes, along with a detailed description of their mode shapes.

The results obtained using Interwave Analyzer V2.0 can be combined with horizontal velocity data and utilized in conjunction with the horizontal velocity decomposer horizontal velocity decomposer. This allows to decompose the horizontal velocity into the first five vertical modes of internal seiches, further enhancing the analysis capabilities of the software.


Time-series of Horiozntal velocity and Lake Number

Are you an undergraduate student with a passion for environmental research and programming? This project offers a opportunity to gain hands-on experience in environmental data analysis and software development. You will have the chance to deepen your understanding of physical limnology while enhancing your programming skills in Python.

Main tasks include:

  1. Developing Python scripts to incorporate new input options for horizontal velocity and bathymetry data;
  2. Implementing algorithms to use velocity data on the deocmposition model to obtain velocity associated to different modes;
  3. Implementing algorithms to calculate the lake number based on the provided inputs;
  4. Testing and debugging the software to ensure its accuracy and functionality;
  5. Collaborating with the team to analyze and interpret the results obtained from the enhanced Interwave Analyzer;