agentsclimarketplace

Glm setup

Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-claude-opus-4-6/temperature-simulation/glm-setup

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

Install
npx -y skills add cxcscmu/SkillLearnBench --skill glm-setup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.1 KB, 284 tokens by cl100k_base, as published. Nobody here has run it

GLM Setup and Configuration

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.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.