Skip to content
/ blsp-c Public

C library for Bayesian Land Surface Phenology model

License

Notifications You must be signed in to change notification settings

ocsmit/blsp-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCMC sampler for the Bayesian Land Surface Phenology model.

important: This is under active development and subject to change at any point.

This is a monorepo containing the C source code for a Metroplois Hastings + Gibbs MCMC sampler, and interfaces for several higher level languages.

For more info please see the paper

Gao, X., Gray, J. M., & Reich, B. J. (2021). Long-term, medium spatial resolution annual land surface phenology with a Bayesian hierarchical model. Remote Sensing of Environment, 261, 112484. https://doi.org/10.1016/j.rse.2021.112484

and the original algorithms git repo.

Depends on GNU Scientific Library

Building for Linux & macOS

Dependencies

Autotools

Ensure that you have autotools installed. They are required to generate the build scripts and compile the software.

On macOS this can be accomplished with homebrew.

brew install autoconf automake libtool

Linux systems can use their respective package managers, e.g.

# ubuntu
apt install autoconf libtool automake

GNU Scientific Library

On mac

brew install gsl

Linux systems can use their respective package managers, e.g.

# ubuntu
apt install libgsl-dev

Installing from source

Once dependencies are installed, you can build and install.

Generate the require build scripts with

./autogen.sh

To build and install on your system run the following

./compile
make install # May need sudo

This assumes that GSL is discoverable on your system (installed to a common location).

Language bindings

About

C library for Bayesian Land Surface Phenology model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages