logo Toolkit for Basic LPJmL Handling

R package lpjmlkit, version 1.8.3

DOI R build status codecov r-universe

Purpose and Functionality

A collection of basic functions to facilitate the work with the Dynamic Global Vegetation Model (DGVM) Lund-Potsdam-Jena managed Land (LPJmL) hosted at the Potsdam Institute for Climate Impact Research (PIK). It provides functions for performing LPJmL simulations, as well as reading, processing and writing model-related data such as inputs and outputs or configuration files.

Overview

LPJmL Runner 🏃 to perform LPJmL simulations

LPJmL Runner only supports Unix-based operating systems that have an LPJmL version >= 4 installed.

LPJmL Data 💾 for reading and processing LPJmL data

miscellaneous

Installation

For installation of the most recent package version an additional repository has to be added in R:

options(repos = c(CRAN = "@CRAN@", pik = "https://rse.pik-potsdam.de/r/packages"))

The additional repository can be made available permanently by adding the line above to a file called .Rprofile stored in the home folder of your system (Sys.glob("~") in R returns the home directory).

After that the most recent version of the package can be installed using install.packages:

install.packages("lpjmlkit")

Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):

update.packages()

Tutorial

The package comes with vignettes describing the basic functionality of the package and how to use it. You can load them with the following command (the package needs to be installed):

vignette("lpjml-data")   # LPJmL Data
vignette("lpjml-runner") # LPJmL Runner

Questions / Problems

In case of questions / problems please contact Jannes Breier jannesbr@pik-potsdam.de.

Citation

To cite package lpjmlkit in publications use:

Breier J, Ostberg S, Wirth S, Minoli S, Stenzel F, Hötten D, Müller C (2026). "lpjmlkit: Toolkit for Basic LPJmL Handling." doi:10.5281/zenodo.7773134 https://doi.org/10.5281/zenodo.7773134, Version: 1.8.3, https://github.com/PIK-LPJmL/lpjmlkit.

A BibTeX entry for LaTeX users is

@Misc{,
 title = {lpjmlkit: Toolkit for Basic LPJmL Handling},
 author = {Jannes Breier and Sebastian Ostberg and Stephen Björn Wirth and Sara Minoli and Fabian Stenzel and David Hötten and Christoph Müller},
 doi = {10.5281/zenodo.7773134},
 date = {2026-09-21},
 year = {2026},
 url = {https://github.com/PIK-LPJmL/lpjmlkit},
 note = {Version: 1.8.3},
}