Package: lpjmlkit 1.7.3

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.3.tar.gz
lpjmlkit_1.7.3.zip(r-4.5)lpjmlkit_1.7.3.zip(r-4.4)lpjmlkit_1.7.3.zip(r-4.3)
lpjmlkit_1.7.3.tgz(r-4.4-any)lpjmlkit_1.7.3.tgz(r-4.3-any)
lpjmlkit_1.7.3.tar.gz(r-4.5-noble)lpjmlkit_1.7.3.tar.gz(r-4.4-noble)
lpjmlkit_1.7.3.tgz(r-4.4-emscripten)lpjmlkit_1.7.3.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.40 score 7 stars 15 packages 16 scripts 12 downloads 33 exports 25 dependencies

Last updated 2 months agofrom:9da101e502. Checks:OK: 5 NOTE: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 24 2024
R-4.5-winNOTEOct 24 2024
R-4.5-linuxNOTEOct 24 2024
R-4.4-winOKOct 24 2024
R-4.4-macOKOct 24 2024
R-4.3-winOKOct 24 2024
R-4.3-macOKOct 24 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_itemsubmit_lpjmlsubset.LPJmLDatatransformwrite_configwrite_header

Dependencies:abindclicodetoolsdoParalleldplyrfansiforeachgenericsglueiteratorsjsonlitelifecyclemagrittrpillarpkgconfigprocessxpsR6rlangstringitibbletidyselectutf8vctrswithr

LPJmL Data

Rendered fromlpjml-data.Rmdusingknitr::rmarkdownon Oct 24 2024.

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

LPJmL Runner

Rendered fromlpjml-runner.Rmdusingknitr::rmarkdownon Oct 24 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
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