{
  "_id": "6ad3cf7f8b78ae42bccc4a0c",
  "Package": "Maeswrap",
  "Type": "Package",
  "Title": "Wrapper Functions for MAESTRA/MAESPA",
  "Version": "1.7",
  "Author": "Remko Duursma",
  "Maintainer": "Remko Duursma <remkoduursma@gmail.com>",
  "Description": "A bundle of functions for modifying MAESTRA/MAESPA input\nfiles,reading output files, and visualizing the stand in 3D.\nHandy for running sensitivity analyses, scenario analyses, etc.",
  "License": "GPL",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-17 19:38:37 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake libfreetype6-dev libglu1-mesa-dev make\ntexlive libicu-dev libpng-dev libuv1-dev libgl1-mesa-dev\nzlib1g-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-10-17 11:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/Maeswrap",
  "RemoteSha": "d6f69a39fc37028458d95bf86ed65db178af59a1",
  "RemoteSubdir": "Maeswrap",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "Maeswrap_1.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/a3b8a30ac4784f64f24aa3558b83b5616e18163949915343dd6e626c19e36438",
  "_filesize": 172683,
  "_sha256": "a3b8a30ac4784f64f24aa3558b83b5616e18163949915343dd6e626c19e36438",
  "_expires": "2027-01-25T19:41:50.000Z",
  "_created": "2026-10-17T19:38:37.000Z",
  "_published": "2026-10-18T06:07:14.428Z",
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117485836515,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12111743462"
    },
    {
      "job": 117485836544,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12111992510"
    },
    {
      "job": 117485836619,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12111698563"
    },
    {
      "job": 117485836593,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12111829914"
    },
    {
      "job": 117484997131,
      "time": 223,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12112417160"
    },
    {
      "job": 117485836558,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12111314934"
    },
    {
      "job": 117485836702,
      "time": 75,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12112017387"
    },
    {
      "job": 117485836571,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12112307654"
    },
    {
      "job": 117485836574,
      "time": 78,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12111779991"
    }
  ],
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "d6f69a39fc37028458d95bf86ed65db178af59a1",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add Maeswrap to CRANhaven, because archived on 2026-10-17 11:02:00 +0000\n",
    "time": 1792234920
  },
  "_maintainer": {
    "name": "Remko Duursma",
    "email": "remkoduursma@gmail.com",
    "login": "remkoduursma",
    "description": "I am a data scientist at Shinto Labs, the Netherlands. Most of the code here was developed when I was at the Hawkesbury Institute for the Environment.",
    "uuid": 452362
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "rgl",
      "role": "Depends"
    },
    {
      "package": "lattice",
      "role": "Depends"
    },
    {
      "package": "geometry",
      "role": "Depends"
    },
    {
      "package": "stringr",
      "role": "Depends"
    },
    {
      "package": "tools",
      "role": "Depends"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "followers": 3,
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 312,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Maeswrap"
  },
  "_devurl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_searchresults": 30,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/Maeswrap.html",
    "extra/manual.pdf"
  ],
  "_homeurl": "https://github.com/remkoduursma/maeswrap",
  "_realowner": "remkoduursma",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.4.8",
      "date": "2011-09-21"
    },
    {
      "version": "1.4.9",
      "date": "2012-01-17"
    },
    {
      "version": "1.4.11",
      "date": "2012-05-25"
    },
    {
      "version": "1.7",
      "date": "2015-06-30"
    }
  ],
  "_exports": [
    "checkwatbal",
    "maesparunall",
    "maestrarunall",
    "parseFile",
    "Plotstand",
    "plottree",
    "plotuspar",
    "randomstand",
    "readdayflux",
    "readhrflux",
    "readmet",
    "readNameList",
    "readPAR",
    "readuspar",
    "readwatbal",
    "replacemetdata",
    "replacemetvar",
    "replaceNameList",
    "replacePAR",
    "runmaespa",
    "runmaestra"
  ],
  "_datasets": [
    {
      "name": "maeswrapdefinitions",
      "title": "Example Maeswrap definition file",
      "object": "maeswrapdefinitions",
      "file": "maeswrapdefinitions.txt.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "parname",
        "fileparname",
        "filename",
        "namelist"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "runfiletest",
      "title": "Example Maeswrap run datafile.",
      "object": "runfiletest",
      "file": "runfiletest.csv.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "comment.vcmax.jmax"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Maeswrap-package",
      "title": "Bundle of functions for modifying MAESTRA/MAESPA input files, and reading output files.",
      "topics": [
        "Maeswrap-package",
        "Maeswrap"
      ]
    },
    {
      "page": "checkwatbal",
      "title": "Checks MAESPA water balance by adding up fluxes for the soil water balance calculated by MAESPA. Prints the total fluxes (precipitation, transpiration, canopy interception, and so on), and the difference between ingoing and outgoing. This is a debugging/checking tool: if the model has serious problems, there will be a missing sink or source.",
      "topics": [
        "checkwatbal"
      ]
    },
    {
      "page": "batchutil",
      "title": "Functions for MAESPA batch runs",
      "topics": [
        "maesparunall",
        "maestrarunall",
        "runmaespa",
        "runmaestra"
      ]
    },
    {
      "page": "maeswrapdefinitions",
      "title": "Example Maeswrap definition file",
      "topics": [
        "maeswrapdefinitions"
      ]
    },
    {
      "page": "parseFile",
      "title": "Parse an input file",
      "topics": [
        "parseFile"
      ]
    },
    {
      "page": "Plotstand",
      "title": "Plot the stand in 3D",
      "topics": [
        "Plotstand",
        "plottree"
      ]
    },
    {
      "page": "plotuspar",
      "title": "Plot the understorey PAR points",
      "topics": [
        "plotuspar",
        "readuspar"
      ]
    },
    {
      "page": "randomstand",
      "title": "Generate a simple random stand of trees",
      "topics": [
        "randomstand"
      ]
    },
    {
      "page": "readdayflux",
      "title": "Reads the dayflx.dat output file",
      "topics": [
        "readdayflux"
      ]
    },
    {
      "page": "readhrflux",
      "title": "Reads the hrflux.dat MAESTRA/MAESPA output file",
      "topics": [
        "readhrflux"
      ]
    },
    {
      "page": "readmet",
      "title": "Reads the met.dat input file",
      "topics": [
        "readmet"
      ]
    },
    {
      "page": "readNameList",
      "title": "Read a namelist into a list",
      "topics": [
        "readNameList",
        "readPAR"
      ]
    },
    {
      "page": "readwatbal",
      "title": "Reads the watbal.dat MAESPA output file",
      "topics": [
        "readwatbal"
      ]
    },
    {
      "page": "replacemetvar",
      "title": "Replace a weather variable",
      "topics": [
        "replacemetdata",
        "replacemetvar"
      ]
    },
    {
      "page": "replacePAR",
      "title": "Replaces a namelist or a parameter",
      "topics": [
        "replaceNameList",
        "replacePAR"
      ]
    },
    {
      "page": "revchar",
      "title": "Reverse a character string.",
      "topics": [
        "revchar"
      ]
    },
    {
      "page": "runfiletest",
      "title": "Example Maeswrap run datafile.",
      "topics": [
        "runfiletest"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "digest",
    "evaluate",
    "fastmap",
    "fontawesome",
    "fs",
    "geometry",
    "glue",
    "highr",
    "htmltools",
    "htmlwidgets",
    "jquerylib",
    "jsonlite",
    "knitr",
    "lattice",
    "lifecycle",
    "linprog",
    "lpSolve",
    "magic",
    "magrittr",
    "memoise",
    "mime",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppProgress",
    "rgl",
    "rlang",
    "rmarkdown",
    "sass",
    "stringi",
    "stringr",
    "tinytex",
    "vctrs",
    "xfun",
    "yaml"
  ],
  "_score": 2.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "maeswrap",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://remkoduursma.r-universe.dev/Maeswrap",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7",
      "date": "2026-10-17T19:41:08.000Z",
      "distro": "resolute",
      "commit": "d6f69a39fc37028458d95bf86ed65db178af59a1",
      "fileid": "https://r2.ropensci.org/0e29a14dac5826c35edebe3d81fd246b9f8a6f5c983d0509e019a4e3fc795898",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.7",
      "date": "2026-10-17T19:41:14.000Z",
      "distro": "resolute",
      "commit": "d6f69a39fc37028458d95bf86ed65db178af59a1",
      "fileid": "https://r2.ropensci.org/2aa59476de4f142a369ced8ba58705a7686df93de9e38f3712b9822c70e0d328",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7",
      "date": "2026-10-17T19:40:34.000Z",
      "commit": "d6f69a39fc37028458d95bf86ed65db178af59a1",
      "fileid": "https://r2.ropensci.org/2274b98597907dfbc6f85feb209bbfd31be6d43414b2d86630afee90955f23a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.7",
      "date": "2026-10-17T19:40:49.000Z",
      "commit": "d6f69a39fc37028458d95bf86ed65db178af59a1",
      "fileid": "https://r2.ropensci.org/71ad1305324b302a88c29e5d530a10b089bbccc60241c3a4de49bc8b2d64cef6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.7",
      "date": "2026-10-17T19:41:25.000Z",
      "commit": "d6f69a39fc37028458d95bf86ed65db178af59a1",
      "fileid": "https://r2.ropensci.org/aabfcdb518bb96f67127d19285aef1b26dce4ad10c141cfccfc1f11e47e784db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.7",
      "date": "2026-10-17T19:39:54.000Z",
      "commit": "d6f69a39fc37028458d95bf86ed65db178af59a1",
      "fileid": "https://r2.ropensci.org/11fd058fd535b02563793eddb7a19da558a898fd8ae76995f985369c350aa4f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.7",
      "date": "2026-10-17T19:39:50.000Z",
      "commit": "d6f69a39fc37028458d95bf86ed65db178af59a1",
      "fileid": "https://r2.ropensci.org/ae19befbc8442c2defa659bef493f331492a0f47f1f8d3585bc4a82a02e0e7b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.7",
      "date": "2026-10-17T19:39:54.000Z",
      "commit": "d6f69a39fc37028458d95bf86ed65db178af59a1",
      "fileid": "https://r2.ropensci.org/c380c7567e341d07896433814887343a86a07d1991f458d5ee8b4cd27eb56be9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/39063046271"
    }
  ]
}