Skip to content

jannefiluren/JFSM.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JFSM

Build Status

Coverage Status

Julia wrapper for the Factorial Snow Model (original code available on this homepage). For installing the package, run the following code:

Pkg.clone("https://github.com/jmgnve/JFSM.jl")

The example below runs one model combination and plots the results (requires the PyPlot.jl and Plots.jl packages).

using JFSM
using PyPlot

am = 0;
cm = 0;
dm = 0;
em = 0;
hm = 0;

metdata = readdlm(joinpath(Pkg.dir("JFSM"), "data\\met_CdP_0506.txt"), Float32);

md = FsmType(am, cm, dm, em, hm);

hs = run_fsm(md, metdata);

plot(hs)

The example folder contains code for running all model combinations and also a simple particle filter implementation:

cd(joinpath(Pkg.dir("JFSM"), "examples"))

include("run_all_combinations.jl")

include("test_pfilter.jl")

About

Julia wrapper for the Factorial Snow Model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages