Skip to content

jannefiluren/FSM.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Factorial Snow Model

This is a Julia implementation of the Factorial Snow Model (FSM), a multi-physics energy balance model of accumulation and melt of snow on the ground. The original code and more information about the model can be found here.

Installation

If you have not yet installed Julia, please follow the instructions for your operating system. We recommend using the latest stable release of Julia.

Start Julia, enter ] to bring up the package manager, and add the FSM package in development mode:

julia> ]
(v1.10) pkg> dev https://github.com/jannefiluren/FSM.jl.git

This clones the code to <your_home>\julia\.dev\FSM. Exit Julia, and change directory to the location of the FSM code. Restart Julia using the following command:

julia --project=.

This starts Julia and activates the development environment of FSM.

Run a first test

Run a first simulation by typing the following command:

include("script/run.jl")

Explore the model in Pluto

Run the model in a Pluto notebook by typing the following command:

using Pluto
Pluto.run(notebook="./notebooks/fsm_pluto.jl")

About

Julia version of the Factorial Snow Model (FSM)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published