GLM Setup and Configuration

SkillFiles & storage

Running the General Lake Model (GLM) and understanding its NML configuration file format.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the GLM Setup and Configuration skill

What this skill tells your AI

The instructions your AI receives, as published by cxcscmu/skilllearnbench in skills/b1-one-shot-claude-opus-4-6/temperature-simulation/glm-setup/SKILL.md and read by ahel’s review.

Running GLM

GLM is run from the directory containing glm3.nml:

cd /path/to/sim && glm

Key NML Sections

  • &glm_setup: Layer configuration
  • &light: Light attenuation (Kw = light extinction coefficient)
  • &mixing: Mixing parameters (coef_mix_hyp = hypolimnetic mixing)
  • &meteorology: Met forcing adjustments (wind_factor, sw_factor, lw_factor, cd, ce, ch)
  • &time: Simulation period (start, stop, dt)
  • &output: Output directory and file naming
  • &init_profiles: Initial temperature/salinity profiles
  • &morphometry: Lake bathymetry
  • &inflow/&outflow: Hydrological boundary conditions

Output

  • NetCDF file at <out_dir>/<out_fn>.nc
  • Contains variables: temp (temperature), salt, etc.
  • Dimensions: time × depth (layers vary per timestep)
  • z variable gives height above bottom; convert to depth = lake_depth - z

NML Editing

Fortran namelist format. Parameters are key = value pairs within &section ... / blocks.

Signals

GitHub stars
83
Forks
5
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
glm-setup
Source
github.com/cxcscmu/skilllearnbench