Package: lpjmlkit 1.7.5

Jannes Breier

lpjmlkit: Toolkit for Basic LPJmL Handling

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.

Authors:Jannes Breier [aut, cre], Sebastian Ostberg [aut], Stephen Björn Wirth [aut], Sara Minoli [aut], Fabian Stenzel [aut], David Hötten [aut], Christoph Müller [aut]

lpjmlkit_1.7.5.tar.gz
lpjmlkit_1.7.5.zip(r-4.5)lpjmlkit_1.7.5.zip(r-4.4)lpjmlkit_1.7.5.zip(r-4.3)
lpjmlkit_1.7.5.tgz(r-4.4-any)lpjmlkit_1.7.5.tgz(r-4.3-any)
lpjmlkit_1.7.5.tar.gz(r-4.5-noble)lpjmlkit_1.7.5.tar.gz(r-4.4-noble)
lpjmlkit_1.7.5.tgz(r-4.4-emscripten)lpjmlkit_1.7.5.tgz(r-4.3-emscripten)
lpjmlkit.pdf |lpjmlkit.html
lpjmlkit/json (API)

# Install 'lpjmlkit' in R:
install.packages('lpjmlkit', repos = c('https://pik-piam.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pik-lpjml/lpjmlkit/issues

On CRAN:

7.48 score 7 stars 17 packages 19 scripts 8 downloads 34 exports 25 dependencies

Last updated 7 days agofrom:fea831b854. Checks:OK: 5 NOTE: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 12 2024
R-4.5-winNOTEDec 12 2024
R-4.5-linuxNOTEDec 12 2024
R-4.4-winOKDec 12 2024
R-4.4-macOKDec 12 2024
R-4.3-winOKDec 12 2024
R-4.3-macOKDec 12 2024

Exports:add_gridas_arrayas_headeras_listas_rasteras_terraasubcalc_cellareacheck_configcreate_headerdetect_io_typefind_varfileget_cellindexget_datatypeget_header_itemget_headersizeLPJmLDataLPJmLGridDataLPJmLMetaDatamake_lpjmlplot.LPJmLDataread_configread_gridread_headerread_ioread_metarun_lpjmlset_header_itemsplit_time_namessubmit_lpjmlsubset.LPJmLDatatransformwrite_configwrite_header

Dependencies:abindclicodetoolsdoParalleldplyrfansiforeachgenericsglueiteratorsjsonlitelifecyclemagrittrpillarpkgconfigprocessxpsR6rlangstringitibbletidyselectutf8vctrswithr

LPJmL Data

Rendered fromlpjml-data.Rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-07-26
Started: 2023-01-23

LPJmL Runner

Rendered fromlpjml-runner.Rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-07-26
Started: 2022-02-21

Readme and manuals

Help Manual

Help pageTopics
lpjmlkit: Toolkit for Basic LPJmL Handlinglpjmlkit-package lpjmlkit
Add grid to an LPJmLData objectadd_grid
Coerce an LPJmLData object to an arrayas_array
Coerce LPJmLMetaData to an LPJmL header objectas_header
Coerce LPJmLMetaData to a listas_list
Coerce an LPJmLData object to a raster objectas_raster
Coerce an LPJmLData object to a terra objectas_rast as_SpatRaster as_terra
Coerce an LPJmLData object to a tibbleas_tibble.LPJmLData
Subset a named arrayasub
Calculate the cell area of LPJmL cellscalc_cellarea
Check the validity of LPJmL config JSON filescheck_config
Create a new LPJmL input/output file headercreate_header
Detect the file type of an LPJmL input/output filedetect_io_type
Dimensions of an LPJmLData data arraydim.LPJmLData
Dimnames of an LPJmLData data arraydimnames.LPJmLData
Search for a variable file in a directoryfind_varfile
Get Cell Indexget_cellindex
Data type of an LPJmL input/output fileget_datatype
Retrieve information from an LPJmL input/output file headerget_header_item
Determine the size of an LPJmL input/output file headerget_headersize
Length of an LPJmLData data arraylength.LPJmLData
LPJmL data classLPJmLData
LPJmL grid data classLPJmLGridData
LPJmL meta data classLPJmLMetaData
Compile LPJmL modelmake_lpjml
Plot an LPJmLData objectplot.LPJmLData
Read an LPJmL configuration fileread_config
Read LPJmL input and output grid filesread_grid
Read header (any version) from LPJmL input/output fileread_header
Read LPJmL input and output filesread_input read_io read_output
Read an LPJmL meta file or binary file headerread_meta
Run LPJmL modelrun_lpjml
Set information in an LPJmL input (or output) file headerset_header_item
Split date strings into years, months and dayssplit_time_names
Submit LPJmL model simulation to SLURMsubmit_lpjml
Subset an LPJmLData objectsubset.LPJmLData
LPJmLData object summarysummary.LPJmLData
Transform an LPJmLData objecttransform
Write LPJmL config files (JSON)write_config
Write LPJmL header object to an LPJmL input (or output) filewrite_header