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
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
On mac
brew install gsl
Linux systems can use their respective package managers, e.g.
# ubuntu
apt install libgsl-dev
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).
- Building R package
- Python (todo)
- Julia (todo)