{
  "_id": "6a1f0b70b401979e7341c76f",
  "Package": "lpjmlkit",
  "Type": "Package",
  "Title": "Toolkit for Basic LPJmL Handling",
  "Version": "1.8.1",
  "Authors@R": "c(\nperson(\"Jannes\", \"Breier\", , \"jannesbr@pik-potsdam.de\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-9055-6904\")),\nperson(\"Sebastian\",\"Ostberg\", , \"ostberg@pik-potsdam.de\", role = \"aut\", comment = c(ORCID = \"0000-0002-2368-7015\")),\nperson(\"Stephen Björn\", \"Wirth\", , \"wirth@pik-potsdam.de\", role = \"aut\", comment = c(ORCID = \"0000-0003-3090-3318\")),\nperson(\"Sara\",\"Minoli\", , \"minoli@pik-potsdam.de\", role = \"aut\", comment = c(ORCID = \"0000-0001-7920-3107\")),\nperson(\"Fabian\", \"Stenzel\", , \"stenzel@pik-potsdam.de\", role = \"aut\", comment = c(ORCID = \"0000-0002-5109-0048\")),\nperson(\"David\",\"Hötten\", , \"davidho@pik-potsdam.de\", role = c(\"aut\")),\nperson(\"Christoph\", \"Müller\", , \"cmueller@pik-potsdam.de\", role = \"aut\", comment = c(ORCID = \"0000-0002-9491-3550\"))\n)",
  "Description": "A collection of basic functions to facilitate the work\nwith the Dynamic Global Vegetation Model (DGVM)\nLund-Potsdam-Jena managed Land (LPJmL) hosted at the Potsdam\nInstitute for Climate Impact Research (PIK). It provides\nfunctions for performing LPJmL simulations, as well as reading,\nprocessing and writing model-related data such as inputs and\noutputs or configuration files.",
  "License": "AGPL-3",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE, r6 = TRUE)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/PIK-LPJmL/lpjmlkit,\nhttps://doi.org/10.5281/zenodo.7773134",
  "BugReports": "https://github.com/PIK-LPJmL/lpjmlkit/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Date": "2026-03-10",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://pik-piam.r-universe.dev",
  "Date/Publication": "2026-04-14 07:23:04 UTC",
  "RemoteUrl": "https://github.com/PIK-LPJmL/lpjmlkit",
  "RemoteRef": "HEAD",
  "RemoteSha": "5c693a9074690535b13d40691c7583c84118622a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 09:52:26 UTC",
    "User": "root"
  },
  "Author": "Jannes Breier [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9055-6904>),\nSebastian Ostberg [aut] (ORCID:\n<https://orcid.org/0000-0002-2368-7015>),\nStephen Björn Wirth [aut] (ORCID:\n<https://orcid.org/0000-0003-3090-3318>),\nSara Minoli [aut] (ORCID: <https://orcid.org/0000-0001-7920-3107>),\nFabian Stenzel [aut] (ORCID: <https://orcid.org/0000-0002-5109-0048>),\nDavid Hötten [aut],\nChristoph Müller [aut] (ORCID: <https://orcid.org/0000-0002-9491-3550>)",
  "Maintainer": "Jannes Breier <jannesbr@pik-potsdam.de>",
  "MD5sum": "50557edef7956575e30ec18d428ec690",
  "_user": "pik-piam",
  "_type": "src",
  "_file": "lpjmlkit_1.8.1.tar.gz",
  "_fileid": "fa7ebf75b5ece907d8b02459605d3ebb37e94f4f805cbb98de0e2710f2765c10",
  "_filesize": 581135,
  "_sha256": "fa7ebf75b5ece907d8b02459605d3ebb37e94f4f805cbb98de0e2710f2765c10",
  "_created": "2026-05-17T09:52:26.000Z",
  "_published": "2026-06-02T16:57:20.707Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79126102785,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041405484"
    },
    {
      "job": 79126103441,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041404325"
    },
    {
      "job": 79126102623,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7041414667"
    },
    {
      "job": 79126102992,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041405190"
    },
    {
      "job": 79126102287,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041386588"
    },
    {
      "job": 79126102047,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364408866"
    },
    {
      "job": 79126102866,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041398874"
    },
    {
      "job": 79126103256,
      "time": 115,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7041399115"
    },
    {
      "job": 79126102589,
      "time": 126,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041400225"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/PIK-LPJmL/lpjmlkit",
  "_commit": {
    "id": "5c693a9074690535b13d40691c7583c84118622a",
    "author": "Stephen Wirth <wirth@pik-potsdam.de>",
    "committer": "Stephen Wirth <wirth@pik-potsdam.de>",
    "message": "Merge branch 'fix_cdf_format_check' into 'master'\n\nFix failure of initialize() of Metadata if .format is NULL\n\nSee merge request lpjml/lpjmlkit!113",
    "time": 1776151384
  },
  "_maintainer": {
    "name": "Jannes Breier",
    "email": "jannesbr@pik-potsdam.de",
    "login": "jnnsbrr",
    "orcid": "0000-0002-9055-6904",
    "description": "",
    "uuid": 57749050
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "processx",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "terra",
      "role": "Suggests"
    },
    {
      "package": "raster",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "maps",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "ncdf4",
      "role": "Suggests"
    },
    {
      "package": "CFtime",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    }
  ],
  "_owner": "pik-lpjml",
  "_selfowned": false,
  "_usedby": 17,
  "_updates": [
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.8.0",
      "date": "2026-02-24"
    }
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "jnnsbrr",
      "count": 138,
      "uuid": 57749050
    },
    {
      "user": "stephnwirth",
      "count": 62,
      "uuid": 29886668
    },
    {
      "user": "sostberg",
      "count": 39,
      "uuid": 57191154
    },
    {
      "user": "davidhopik",
      "count": 8,
      "uuid": 101278418
    },
    {
      "user": "stenzelf",
      "count": 7,
      "uuid": 45236611
    },
    {
      "user": "cmueller-pik",
      "count": 2,
      "uuid": 11943892
    }
  ],
  "_userbio": {
    "uuid": 29039634,
    "type": "organization",
    "name": "Potsdam Integrated Assessment Modelling (PIAM)",
    "description": "Tools developed for use with data and models related to PIK's research."
  },
  "_downloads": {
    "count": 1,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lpjmlkit"
  },
  "_devurl": "https://github.com/pik-lpjml/lpjmlkit",
  "_searchresults": 30,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lpjmlkit.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.11",
      "date": "2023-03-24"
    }
  ],
  "_exports": [
    "add_grid",
    "as_array",
    "as_header",
    "as_list",
    "as_raster",
    "as_terra",
    "asub",
    "calc_cellarea",
    "check_config",
    "create_header",
    "detect_io_type",
    "find_varfile",
    "get_cellindex",
    "get_datatype",
    "get_header_item",
    "get_headersize",
    "LPJmLData",
    "LPJmLGridData",
    "LPJmLMetaData",
    "make_lpjml",
    "plot.LPJmLData",
    "read_config",
    "read_grid",
    "read_header",
    "read_io",
    "read_meta",
    "run_lpjml",
    "set_header_item",
    "split_time_names",
    "submit_lpjml",
    "subset.LPJmLData",
    "transform",
    "write_config",
    "write_header"
  ],
  "_help": [
    {
      "page": "lpjmlkit-package",
      "title": "lpjmlkit: Toolkit for Basic LPJmL Handling",
      "topics": [
        "lpjmlkit-package",
        "lpjmlkit"
      ]
    },
    {
      "page": "add_grid",
      "title": "Add grid to an LPJmLData object",
      "topics": [
        "add_grid"
      ]
    },
    {
      "page": "as_array",
      "title": "Coerce an LPJmLData object to an array",
      "topics": [
        "as_array"
      ]
    },
    {
      "page": "as_header",
      "title": "Coerce LPJmLMetaData to an LPJmL header object",
      "topics": [
        "as_header"
      ]
    },
    {
      "page": "as_list",
      "title": "Coerce LPJmLMetaData to a list",
      "topics": [
        "as_list"
      ]
    },
    {
      "page": "as_raster",
      "title": "Coerce an LPJmLData object to a raster object",
      "topics": [
        "as_raster"
      ]
    },
    {
      "page": "as_terra",
      "title": "Coerce an LPJmLData object to a terra object",
      "topics": [
        "as_rast",
        "as_SpatRaster",
        "as_terra"
      ]
    },
    {
      "page": "as_tibble.LPJmLData",
      "title": "Coerce an LPJmLData object to a tibble",
      "topics": [
        "as_tibble.LPJmLData"
      ]
    },
    {
      "page": "asub",
      "title": "Subset a named array",
      "topics": [
        "asub"
      ]
    },
    {
      "page": "calc_cellarea",
      "title": "Calculate the cell area of LPJmL cells",
      "topics": [
        "calc_cellarea"
      ]
    },
    {
      "page": "check_config",
      "title": "Check the validity of LPJmL config JSON files",
      "topics": [
        "check_config"
      ]
    },
    {
      "page": "create_header",
      "title": "Create a new LPJmL input/output file header",
      "topics": [
        "create_header"
      ]
    },
    {
      "page": "detect_io_type",
      "title": "Detect the file type of an LPJmL input/output file",
      "topics": [
        "detect_io_type"
      ]
    },
    {
      "page": "dim.LPJmLData",
      "title": "Dimensions of an LPJmLData data array",
      "topics": [
        "dim.LPJmLData"
      ]
    },
    {
      "page": "dimnames.LPJmLData",
      "title": "Dimnames of an LPJmLData data array",
      "topics": [
        "dimnames.LPJmLData"
      ]
    },
    {
      "page": "find_varfile",
      "title": "Search for a variable file in a directory",
      "topics": [
        "find_varfile"
      ]
    },
    {
      "page": "get_cellindex",
      "title": "Get Cell Index",
      "topics": [
        "get_cellindex"
      ]
    },
    {
      "page": "get_datatype",
      "title": "Data type of an LPJmL input/output file",
      "topics": [
        "get_datatype"
      ]
    },
    {
      "page": "get_header_item",
      "title": "Retrieve information from an LPJmL input/output file header",
      "topics": [
        "get_header_item"
      ]
    },
    {
      "page": "get_headersize",
      "title": "Determine the size of an LPJmL input/output file header",
      "topics": [
        "get_headersize"
      ]
    },
    {
      "page": "length.LPJmLData",
      "title": "Length of an LPJmLData data array",
      "topics": [
        "length.LPJmLData"
      ]
    },
    {
      "page": "LPJmLData",
      "title": "LPJmL data class",
      "topics": [
        "LPJmLData"
      ]
    },
    {
      "page": "LPJmLGridData",
      "title": "LPJmL grid data class",
      "topics": [
        "LPJmLGridData"
      ]
    },
    {
      "page": "LPJmLMetaData",
      "title": "LPJmL meta data class",
      "topics": [
        "LPJmLMetaData"
      ]
    },
    {
      "page": "make_lpjml",
      "title": "Compile LPJmL model",
      "topics": [
        "make_lpjml"
      ]
    },
    {
      "page": "plot.LPJmLData",
      "title": "Plot an LPJmLData object",
      "topics": [
        "plot.LPJmLData"
      ]
    },
    {
      "page": "read_cdf",
      "title": "Reads netcdf and returns it as array",
      "topics": [
        "read_cdf"
      ]
    },
    {
      "page": "read_cdf_meta",
      "title": "Reads netcdf and returns it header info",
      "topics": [
        "read_cdf_meta"
      ]
    },
    {
      "page": "read_config",
      "title": "Read an LPJmL configuration file",
      "topics": [
        "read_config"
      ]
    },
    {
      "page": "read_grid",
      "title": "Read LPJmL input and output grid files",
      "topics": [
        "read_grid"
      ]
    },
    {
      "page": "read_header",
      "title": "Read header (any version) from LPJmL input/output file",
      "topics": [
        "read_header"
      ]
    },
    {
      "page": "read_io",
      "title": "Read LPJmL input and output files",
      "topics": [
        "read_input",
        "read_io",
        "read_output"
      ]
    },
    {
      "page": "read_meta",
      "title": "Read an LPJmL meta file, NetCDF or binary file header",
      "topics": [
        "read_meta"
      ]
    },
    {
      "page": "run_lpjml",
      "title": "Run LPJmL model",
      "topics": [
        "run_lpjml"
      ]
    },
    {
      "page": "set_header_item",
      "title": "Set information in an LPJmL input (or output) file header",
      "topics": [
        "set_header_item"
      ]
    },
    {
      "page": "split_time_names",
      "title": "Split date strings into years, months and days",
      "topics": [
        "split_time_names"
      ]
    },
    {
      "page": "submit_lpjml",
      "title": "Submit LPJmL model simulation to SLURM",
      "topics": [
        "submit_lpjml"
      ]
    },
    {
      "page": "subset.LPJmLData",
      "title": "Subset an LPJmLData object",
      "topics": [
        "subset.LPJmLData"
      ]
    },
    {
      "page": "summary.LPJmLData",
      "title": "LPJmLData object summary",
      "topics": [
        "summary.LPJmLData"
      ]
    },
    {
      "page": "transform",
      "title": "Transform an LPJmLData object",
      "topics": [
        "transform"
      ]
    },
    {
      "page": "write_config",
      "title": "Write LPJmL config files (JSON)",
      "topics": [
        "write_config"
      ]
    },
    {
      "page": "write_header",
      "title": "Write LPJmL header object to an LPJmL input (or output) file",
      "topics": [
        "write_header"
      ]
    }
  ],
  "_readme": "https://github.com/PIK-LPJmL/lpjmlkit/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "cli",
    "codetools",
    "doParallel",
    "dplyr",
    "foreach",
    "generics",
    "glue",
    "iterators",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "processx",
    "ps",
    "R6",
    "rlang",
    "stringi",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "lpjml-data.Rmd",
      "filename": "lpjml-data.html",
      "title": "LPJmL Data",
      "author": "Jannes Breier",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "1. r if (!knitr::is_latex_output()) {\"&#128214;\"} Read function read_io",
        "2. r if (!knitr::is_latex_output()) {\"&#128193;\"} Data class LPJmLData",
        "3. r if (!knitr::is_latex_output()) {\"&#128200;\"} Basic statistics of LPJmLData objects",
        "4. r if (!knitr::is_latex_output()) {\"&#9999;\"} Modify LPJmLData objects",
        "5. r if (!knitr::is_latex_output()) {\"&#128230;\"} Export LPJmLData objects",
        "Miscellaneous",
        "Usage",
        "1. Example Global Trend in net primary productivity (NPP) over the years",
        "2. Example Runoff in northern hemisphere during summertime",
        "3. Example Gross primary productivity (GPP) per latitude",
        "4. Example CFT fractions for area around Potsdam",
        "Notes & tips"
      ],
      "created": "2023-01-23 11:21:00",
      "modified": "2026-02-24 13:48:01",
      "commits": 9
    },
    {
      "source": "lpjml-runner.Rmd",
      "filename": "lpjml-runner.html",
      "title": "LPJmL Runner",
      "author": "Jannes Breier",
      "engine": "knitr::rmarkdown",
      "headings": [
        "r if (!knitr::is_latex_output()) {\"&#9881;\"} Setup",
        "Overview",
        "1. r if (!knitr::is_latex_output()) {\"&#128203;\"} Define a table of modified configuration parameters\\",
        "2. r if (!knitr::is_latex_output()) {\"&#9997;\"} Create corresponding Configuration files\\",
        "3. r if (!knitr::is_latex_output()) {\"&#128269;\"} Check validity of Configurations\\",
        "4. r if (!knitr::is_latex_output()) {\"&#9654;\"} Run or r if (!knitr::is_latex_output()) {\"&#128640;\"} submit LPJmL\\",
        "miscellaneous \\",
        "Usage",
        "Single cell simulations\\",
        "Example Potential natural vegetation and land-use run",
        "Example Old vs. new phenology and old land-use vs. input toolbox",
        "Global simulations on the PIK cluster",
        "Example Compare old vs new land use (lpjml input toolbox)",
        "Notes & tips"
      ],
      "created": "2022-02-21 11:30:38",
      "modified": "2025-03-17 14:40:16",
      "commits": 16
    }
  ],
  "_score": 7.48572142648158,
  "_indexed": false,
  "_nocasepkg": "lpjmlkit",
  "_universes": [
    "pik-piam"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-05-17T09:54:53.000Z",
      "distro": "noble",
      "commit": "5c693a9074690535b13d40691c7583c84118622a",
      "fileid": "9af1e111cebd7ee859a3ecde5aeefaacc88283096834e9130e17e5d54b4c80cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-05-17T09:54:46.000Z",
      "distro": "noble",
      "commit": "5c693a9074690535b13d40691c7583c84118622a",
      "fileid": "36a61bb6a448b71f702552d748ee67a78e965aa584b16b077bfa351bae7456d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-05-17T09:56:29.000Z",
      "commit": "5c693a9074690535b13d40691c7583c84118622a",
      "fileid": "a953445c0bdcc23a6a4ab17d669b7eccf73c73c09fc6dcc25fc836868feb6493",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-05-17T09:55:00.000Z",
      "commit": "5c693a9074690535b13d40691c7583c84118622a",
      "fileid": "b66947273513b4dbff7a5a7f0c755dc07cf34c7df544eea615d69f5e4d72a1de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-05-17T09:53:44.000Z",
      "commit": "5c693a9074690535b13d40691c7583c84118622a",
      "fileid": "bc3dbd515dc6057d18e6094b992871be3de193cb3d5c7ac5b328578cd6423535",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-05-17T09:53:42.000Z",
      "commit": "5c693a9074690535b13d40691c7583c84118622a",
      "fileid": "2e14bcc3818ed8e36ff90727da04c78965922ff00ad87a360dc6b90b529f5579",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-05-17T09:53:50.000Z",
      "commit": "5c693a9074690535b13d40691c7583c84118622a",
      "fileid": "7bf1007118db89a7d1c497e5259188e74791a3b0a2e7107fb5db6cd98fc4fd5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.1",
      "date": "2026-06-02T16:57:05.000Z",
      "commit": "5c693a9074690535b13d40691c7583c84118622a",
      "fileid": "bd5bf6891ca920e5b9e2924445dc004480e784e1df203fe0482cd87fa05eae10",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pik-piam/actions/runs/25987534778"
    }
  ]
}