FSM2
Flexible Snow Model - a multi-physics energy balance model of accumulation and melt of snow on the ground and in forest canopies
Install / Use
/learn @RichardEssery/FSM2README
FSM2 quickstart guide
The Flexible Snow Model (FSM2; Essery et al. 2025) is a multi-physics energy balance model of snow accumulation and melt, extending the Factorial Snow Model (Essery, 2015) with additional physics, driving and output options. FSM2 adds forest canopy model options and the possibility of running simulations for more than one point at the same time. For greater efficiency than FSM, which selects physics options when it is run, FSM2 options are selected when the model is compiled. Otherwise, FSM2 is built and run in the same way as FSM; for details, see the user guide in docs.
Building the model
FSM2 is coded in Fortran and consists of subroutines and modules contained in the src directory. A linux executable FSM2 is produced by running script compil.sh, which uses the gfortran compiler by default. Physics and driving data configurations are selected in the compilation script by defining options that are copied to a preprocessor file before compilation.
Running the model
FSM2 requires meteorological driving data and namelists to set options and parameters. An example can be run with the command
./FSM2 < nlst_Alptal.txt
which runs simulations for the winter of 2004-2005 at Alptal, Switzerland (Stähli and Gustafsson, 2006). Two points are simulated: one with forest cover and one without.
References
Essery (2015). A Factorial Snowpack Model (FSM 1.0). Geoscientific Model Development, 8, 3867-3876, doi:10.5194/gmd-8-3867-2015
Essery, Mazzotti, Barr, Jonas, Quaife and Rutter (2025). A Flexible Snow Model (FSM 2.1.1) including a forest canopy. Geoscientific Model Development, 18, 3583-3605, doi:10.5194/egusphere-18-3583-2025
Stähli and Gustafsson (2006). The role of snow interception in winter-time radiation processes of a coniferous sub-alpine forest. Hydrological Processes, 23, 2498–2512, doi:10.1002/hyp.7180
Related Skills
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
