Giter Site home page Giter Site logo

npp2016 / fsm2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from richardessery/fsm2

0.0 2.0 0.0 1.02 MB

Flexible Snow Model - a multi-physics energy balance model of accumulation and melt of snow on the ground and in forest canopies

License: MIT License

Batchfile 1.60% Shell 1.86% Fortran 96.54%

fsm2's Introduction

FSM2 quickstart guide

The Flexible Snow Model (FSM2) 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 scientific documentation and 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 or a Windows executable FSM2.exe is produced by running script compil.sh or batch file compil.bat. Both use the gfortran compiler but could be edited for other compilers. 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 commands

./FSM2 < nlst_Sod_1314

or

FSM2.exe < nlst_Sod_1314

which run simulations for the winter of 2013-2014 at Sodankylä, Finland (Essery et al, 2016). 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 et al. (2016). A 7-year dataset for driving and evaluating snow models at an Arctic site (Sodankylä, Finland). Geosci. Instrum. Method. Data Syst., 5, 219-227, doi:10.5194/gi-5-219-2016

fsm2's People

Contributors

richardessery avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.