{
  "_id": "6a17d96aacfb0bcc41d9b3f6",
  "Package": "foreSIGHT",
  "Version": "2.0.0",
  "Title": "Systems Insights from Generation of Hydroclimatic Timeseries",
  "Authors@R": "c(person(given = \"Bree\",\nfamily = \"Bennett\",\nrole = \"aut\",\nemail = \"bree.bennett@adelaide.edu.au\",\ncomment = c(ORCID = \"0000-0002-2131-088X\")),\nperson(given = \"David\",\nfamily = \"McInerney\",\nrole = c(\"aut\", \"cre\"),\nemail = \"david.mcinerney@adelaide.edu.au\",\ncomment = c(ORCID = \"0000-0003-4876-8281\")),\nperson(given = \"Sam\",\nfamily = \"Culley\",\nrole = \"aut\",\nemail = \"sam.culley@adelaide.edu.au\",\ncomment = c(ORCID = \"0000-0003-4798-8522\")),\nperson(given = \"Anjana\",\nfamily = \"Devanand\",\nrole = \"aut\",\nemail = \"anjana.devanand@adelaide.edu.au\",\ncomment = c(ORCID = \"0000-0001-9422-3894\")),\nperson(given = \"Seth\",\nfamily = \"Westra\",\nrole = \"aut\",\nemail = \"seth.westra@adelaide.edu.au\",\ncomment = c(ORCID = \"0000-0003-4023-6061\")),\nperson(given = \"Danlu\",\nfamily = \"Guo\",\nrole = \"ctb\",\nemail = \"danlu.guo@adelaide.edu.au\",\ncomment = c(ORCID = \"0000-0003-1083-1214\")),\nperson(given = \"Holger\",\nfamily = \"Maier\",\nrole = \"ths\",\nemail = \"holger.maier@adelaide.edu.au\",\ncomment = c(ORCID = \"0000-0002-0277-6887\")))",
  "BugReports": "https://github.com/ClimateAnalytics/foreSIGHT/issues",
  "Description": "A tool to create hydroclimate scenarios, stress test\nsystems and visualize system performance in scenario-neutral\nclimate change impact assessments. Scenario-neutral approaches\n'stress-test' the performance of a modelled system by applying\na wide range of plausible hydroclimate conditions (see Brown &\nWilby (2012) <doi:10.1029/2012EO410001> and Prudhomme et al.\n(2010) <doi:10.1016/j.jhydrol.2010.06.043>). These approaches\nallow the identification of hydroclimatic variables that affect\nthe vulnerability of a system to hydroclimate variation and\nchange. This tool enables the generation of perturbed time\nseries using a range of approaches including simple scaling of\nobserved time series (e.g. Culley et al. (2016)\n<doi:10.1002/2015WR018253>) and stochastic simulation of\nperturbed time series via an inverse approach (see Guo et al.\n(2018) <doi:10.1016/j.jhydrol.2016.03.025>). It incorporates\n'Richardson-type' weather generator model configurations\ndocumented in Richardson (1981) <doi:10.1029/WR017i001p00182>,\nRichardson and Wright (1984), as well as latent variable type\nmodel configurations documented in Bennett et al. (2018)\n<doi:10.1016/j.jhydrol.2016.12.043>, Rasmussen (2013)\n<doi:10.1002/wrcr.20164>, Bennett et al. (2019)\n<doi:10.5194/hess-23-4783-2019> to generate hydroclimate\nvariables on a daily basis (e.g. precipitation, temperature,\npotential evapotranspiration) and allows a variety of different\nhydroclimate variable properties, herein called attributes, to\nbe perturbed. Options are included for the easy integration of\nexisting system models both internally in R and externally for\nseamless 'stress-testing'. A suite of visualization options for\nthe results of a scenario-neutral analysis (e.g. plotting\nperformance spaces and overlaying climate projection\ninformation) are also included. Version 1.0 of this package is\ndescribed in Bennett et al. (2021)\n<doi:10.1016/j.envsoft.2021.104999>. As further developments in\nscenario-neutral approaches occur the tool will be updated to\nincorporate these advances.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Collate": "'GR4J_funcs.R' 'LogfileEntry.R' 'RcppExports.R'\n'default_parameters.R' 'SWG_BLRPM.R' 'SWG_LV.R'\n'SWG_WGENotherVars.R' 'SWG_WGENprecip.R' 'SWG_distScaling.R'\n'SWG_monAR1.R' 'argumentInputChecker.R' 'attributeCalculator.R'\n'attributeManager.R' 'calc.stat.lib.R' 'calibrationArgCheck.R'\n'calibrationNation.R' 'checkSimParBounds.R' 'combine_sims.R'\n'control.R' 'controlFileFunctions.R' 'control_utilityFuncs.R'\n'createExpSpace.R' 'dataInputChecker.R' 'dateManager.R'\n'defaultParams_diagAndPlotting.R' 'demoTankModel.R'\n'diagnosticPlotLib.R' 'eval_system_metrics.R'\n'evaluate_attribute_change.R' 'exposureSpaceSampler.R'\n'foreSIGHT.R' 'getSimSummary.R' 'harmonicFit.R'\n'modelInputEnvironments.R' 'modelSequencer.R' 'objFuncTown.R'\n'optimManagement.R' 'plotExpSpace.R' 'plotOptions.R'\n'plotPerformanceOAT.R' 'plotPerformanceSpace.R'\n'plotPerformanceSpaceMulti.R' 'postProcessing.R'\n'runSystemModel.R' 'simCity.R' 'simClimateFromPar.R'\n'simPerformance.R' 'simStochasticMultiSite.R'\n'simplyScale_lib.R' 'stochParManager.R'\n'summariseMutiSiteSimulatedSeries.R'\n'summariseSimulatedSeries.R' 'targetFinder.R' 'zzz.R'",
  "Packaged": {
    "Date": "2026-05-27 14:31:04 UTC",
    "User": "root"
  },
  "Author": "Bree Bennett [aut] (ORCID:\n<https://orcid.org/0000-0002-2131-088X>), David McInerney [aut,\ncre] (ORCID: <https://orcid.org/0000-0003-4876-8281>), Sam\nCulley [aut] (ORCID: <https://orcid.org/0000-0003-4798-8522>),\nAnjana Devanand [aut] (ORCID:\n<https://orcid.org/0000-0001-9422-3894>), Seth Westra [aut]\n(ORCID: <https://orcid.org/0000-0003-4023-6061>), Danlu Guo\n[ctb] (ORCID: <https://orcid.org/0000-0003-1083-1214>), Holger\nMaier [ths] (ORCID: <https://orcid.org/0000-0002-0277-6887>)",
  "Maintainer": "David McInerney <david.mcinerney@adelaide.edu.au>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-05-27 05:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/foreSIGHT",
  "RemoteSha": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
  "RemoteSubdir": "foreSIGHT",
  "MD5sum": "69445db47db33eb96f0fb3934c0a7020",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "foreSIGHT_2.0.0.tar.gz",
  "_fileid": "3e1633a1307cdac6088d47ffc29229baae5ef316efd698f5a55756ad65473023",
  "_filesize": 2605623,
  "_sha256": "3e1633a1307cdac6088d47ffc29229baae5ef316efd698f5a55756ad65473023",
  "_created": "2026-05-27T14:31:04.000Z",
  "_published": "2026-05-28T05:58:02.813Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78231995969,
      "time": 185,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7243133338"
    },
    {
      "job": 78231995954,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7243136018"
    },
    {
      "job": 78231996155,
      "time": 172,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243127824"
    },
    {
      "job": 78231996036,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243131323"
    },
    {
      "job": 78231995790,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7258716261"
    },
    {
      "job": 78231995985,
      "time": 262,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7243166707"
    },
    {
      "job": 78231995786,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258720212"
    },
    {
      "job": 78231996021,
      "time": 375,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243212663"
    },
    {
      "job": 78231995731,
      "time": 236,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243050814"
    },
    {
      "job": 78231996000,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243112113"
    },
    {
      "job": 78231995943,
      "time": 167,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7243125414"
    },
    {
      "job": 78231996170,
      "time": 166,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7243124842"
    },
    {
      "job": 78231996070,
      "time": 219,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243147987"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add foreSIGHT to CRANhaven, because archived on 2026-05-27 05:02:00 +0000\n",
    "time": 1779858120
  },
  "_maintainer": {
    "name": "David McInerney",
    "email": "david.mcinerney@adelaide.edu.au",
    "orcid": "0000-0003-4876-8281"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.0",
      "role": "Imports"
    },
    {
      "package": "GA",
      "version": ">= 3.0.2",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "directlabels",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "viridisLite",
      "role": "Imports"
    },
    {
      "package": "fields",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "SoilHyP",
      "role": "Imports"
    },
    {
      "package": "dfoptim",
      "role": "Imports"
    },
    {
      "package": "RGN",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "BLRPM",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "airGR",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "version": ">= 1.8",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 1.18",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe",
    "cpp"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 606,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/foreSIGHT"
  },
  "_devurl": "https://github.com/climateanalytics/foresight",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/foreSIGHT.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/climateanalytics/foresight",
  "_realowner": "climateanalytics",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.9.2",
      "date": "2018-03-09"
    },
    {
      "version": "0.9.6",
      "date": "2018-07-10"
    },
    {
      "version": "0.9.8",
      "date": "2019-08-04"
    },
    {
      "version": "0.9.81",
      "date": "2019-12-04"
    },
    {
      "version": "1.0.0",
      "date": "2020-12-17"
    },
    {
      "version": "1.1.0",
      "date": "2022-10-25"
    },
    {
      "version": "1.2.0",
      "date": "2023-10-19"
    },
    {
      "version": "2.0.0",
      "date": "2025-09-14"
    }
  ],
  "_exports": [
    "boxplot_prob",
    "calculateAttributes",
    "calGR4J",
    "convert_climYMD_POSIXct",
    "create_clim",
    "createExpSpace",
    "evaluate_system_metrics",
    "func_avg",
    "func_avgDSD",
    "func_avgDwellTime",
    "func_avgWSD",
    "func_cor",
    "func_cv",
    "func_dyWet",
    "func_F0",
    "func_maxDSD",
    "func_maxWSD",
    "func_normP",
    "func_nWet",
    "func_P",
    "func_R",
    "func_rng",
    "func_seasRatio",
    "func_tot",
    "func_WDcor",
    "func_wettest6monPeakDay",
    "func_wettest6monSeasRatio",
    "generateScenarios",
    "getSimSummary",
    "GR4J_wrapper",
    "modCalibrator",
    "modSimulator",
    "mvFunc_avgDryDay",
    "mvFunc_avgWetDay",
    "mvFunc_cor",
    "mvFunc_cvDryDay",
    "mvFunc_cvWetDay",
    "plotExpSpace",
    "plotOptions",
    "plotPerformanceAttributesOAT",
    "plotPerformanceOAT",
    "plotPerformanceSpace",
    "plotPerformanceSpaceMulti",
    "plotScenarios",
    "runSystemModel",
    "setSeasonalTiedAttributes",
    "shuffle_sim",
    "tankWrapper",
    "viewAttributeDef",
    "viewAttributeFuncs",
    "viewDefaultOptimArgs",
    "viewModelParameters",
    "viewModels",
    "viewTankMetrics",
    "writeControlFile"
  ],
  "_datasets": [
    {
      "name": "barossa_obs",
      "title": "Multi-site rainfall observations in the Barossa Valley used in examples and vignette",
      "object": "barossaDat",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "data_A5030502",
      "title": "Catchment data for Scott Creek in South Australia for period 1976-1985.",
      "object": "data_A5030502",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "egClimData",
      "title": "Climate attributes from projections.",
      "object": "egClimData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "P_day_all_tot_m",
        "P_day_all_seasRatioMarAug",
        "P_day_all_P99",
        "Temp_day_all_avg",
        "Name",
        "Avg. Deficit"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "egMultiSiteSim",
      "title": "Output from call to generateScenarios() using multi-site model (see example 5 in generateScenarios).",
      "object": "egMultiSiteSim",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "egScalPerformance",
      "title": "Performance metrics of the tank model using simple scaled scenarios.",
      "object": "egScalPerformance",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "egScalSummary",
      "title": "Summary of a simple scaled scenario.",
      "object": "egScalSummary",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "egSimOATPerformance",
      "title": "Performance metrics of the tank model using OAT scenarios.",
      "object": "egSimOATPerformance",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "egSimOATSummary",
      "title": "Summary of a OAT scenario.",
      "object": "egSimOATSummary",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "egSimPerformance",
      "title": "Performance metrics of the tank model using regGrid scenarios.",
      "object": "egSimPerformance",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "egSimPerformanceB",
      "title": "Performance metrics of an alternate tank model using regGrid scenarios.",
      "object": "egSimPerformanceB",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "egSimSummary",
      "title": "Summary of a regGrid scenario.",
      "object": "egSimSummary",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "subdaily_synthetic_obs",
      "title": "Synthetic sub-daily rainfall data",
      "object": "subdailySyntheticDat",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "tank_obs",
      "title": "Observations for demo tank model examples and vignette",
      "object": "tankDat",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "barossa_obs",
      "title": "Multi-site rainfall observations in the Barossa Valley used in examples and vignette",
      "topics": [
        "barossa_obs"
      ]
    },
    {
      "page": "boxplot_prob",
      "title": "Draws a boxplot with the whiskers at specified probability limits",
      "topics": [
        "boxplot_prob"
      ]
    },
    {
      "page": "calculateAttributes",
      "title": "Calculates the attributes of the hydroclimate time series",
      "topics": [
        "calculateAttributes"
      ]
    },
    {
      "page": "calGR4J",
      "title": "Calibrate GR4J rainfall runoff model parameters",
      "topics": [
        "calGR4J"
      ]
    },
    {
      "page": "convert_climYMD_POSIXct",
      "title": "Converts \"old\" reference climate data format (<V1.2) to \"new\" format with POSIXct dates.",
      "topics": [
        "convert_climYMD_POSIXct"
      ]
    },
    {
      "page": "create_clim",
      "title": "Create foreSIGHT reference climate object from time information and climate data.",
      "topics": [
        "create_clim"
      ]
    },
    {
      "page": "createExpSpace",
      "title": "Creates exposure space of hydroclimatic targets for generation of scenarios using 'generateScenarios'",
      "topics": [
        "createExpSpace"
      ]
    },
    {
      "page": "data_A5030502",
      "title": "Catchment data for Scott Creek in South Australia for period 1976-1985.",
      "topics": [
        "data_A5030502"
      ]
    },
    {
      "page": "egClimData",
      "title": "Climate attributes from projections.",
      "topics": [
        "egClimData"
      ]
    },
    {
      "page": "egMultiSiteSim",
      "title": "Output from call to generateScenarios() using multi-site model (see example 5 in generateScenarios).",
      "topics": [
        "egMultiSiteSim"
      ]
    },
    {
      "page": "egScalPerformance",
      "title": "Performance metrics of the tank model using simple scaled scenarios.",
      "topics": [
        "egScalPerformance"
      ]
    },
    {
      "page": "egScalSummary",
      "title": "Summary of a simple scaled scenario.",
      "topics": [
        "egScalSummary"
      ]
    },
    {
      "page": "egSimOATPerformance",
      "title": "Performance metrics of the tank model using OAT scenarios.",
      "topics": [
        "egSimOATPerformance"
      ]
    },
    {
      "page": "egSimOATSummary",
      "title": "Summary of a OAT scenario.",
      "topics": [
        "egSimOATSummary"
      ]
    },
    {
      "page": "egSimPerformance",
      "title": "Performance metrics of the tank model using regGrid scenarios.",
      "topics": [
        "egSimPerformance"
      ]
    },
    {
      "page": "egSimPerformanceB",
      "title": "Performance metrics of an alternate tank model using regGrid scenarios.",
      "topics": [
        "egSimPerformanceB"
      ]
    },
    {
      "page": "egSimSummary",
      "title": "Summary of a regGrid scenario.",
      "topics": [
        "egSimSummary"
      ]
    },
    {
      "page": "evaluate_system_metrics",
      "title": "Calculates system metrics for and observed and baseline stochastic climates",
      "topics": [
        "evaluate_system_metrics"
      ]
    },
    {
      "page": "func_avg",
      "title": "Calculates average of time series",
      "topics": [
        "func_avg"
      ]
    },
    {
      "page": "func_avgDSD",
      "title": "Calculates average dry spell duration (below threshold)",
      "topics": [
        "func_avgDSD"
      ]
    },
    {
      "page": "func_avgDwellTime",
      "title": "Calculates the average dwell time, i.e. average time for below median value spells",
      "topics": [
        "func_avgDwellTime"
      ]
    },
    {
      "page": "func_avgWSD",
      "title": "Calculates average wet spell duration (below threshold)",
      "topics": [
        "func_avgWSD"
      ]
    },
    {
      "page": "func_cor",
      "title": "Calculates the lag-1 autocorrelation",
      "topics": [
        "func_cor"
      ]
    },
    {
      "page": "func_cv",
      "title": "Calculates the coefficient of variation (mead/sd)",
      "topics": [
        "func_cv"
      ]
    },
    {
      "page": "func_dyWet",
      "title": "Calculates average rainfall on wet days (above threshold)",
      "topics": [
        "func_dyWet"
      ]
    },
    {
      "page": "func_F0",
      "title": "Calculates the number of frost days",
      "topics": [
        "func_F0"
      ]
    },
    {
      "page": "func_maxDSD",
      "title": "Calculates maximum dry spell duration (below threshold)",
      "topics": [
        "func_maxDSD"
      ]
    },
    {
      "page": "func_maxWSD",
      "title": "Calculates maximum wet spell duration (above threshold)",
      "topics": [
        "func_maxWSD"
      ]
    },
    {
      "page": "func_normP",
      "title": "Calculates normalised quantile (quantile divided by mean)",
      "topics": [
        "func_normP"
      ]
    },
    {
      "page": "func_nWet",
      "title": "Calculates number of wet days (above threshold)",
      "topics": [
        "func_nWet"
      ]
    },
    {
      "page": "func_P",
      "title": "Calculates a quantile value",
      "topics": [
        "func_P"
      ]
    },
    {
      "page": "func_R",
      "title": "Calculates the number of days above a threshold (often used for temperature)",
      "topics": [
        "func_R"
      ]
    },
    {
      "page": "func_rng",
      "title": "Calculates the inter-quantile range",
      "topics": [
        "func_rng"
      ]
    },
    {
      "page": "func_seasRatio",
      "title": "Calculates seasonality ratio",
      "topics": [
        "func_seasRatio"
      ]
    },
    {
      "page": "func_tot",
      "title": "Calculates total of time series",
      "topics": [
        "func_tot"
      ]
    },
    {
      "page": "func_WDcor",
      "title": "Calculates the lag-1 autocorrelation for wet days",
      "topics": [
        "func_WDcor"
      ]
    },
    {
      "page": "func_wettest6monPeakDay",
      "title": "Calculates the day of year corresponding to the wettest 6 months",
      "topics": [
        "func_wettest6monPeakDay"
      ]
    },
    {
      "page": "func_wettest6monSeasRatio",
      "title": "Calculates the ratio of wet season to dry season rainfall, based on wettest6monPeakDay",
      "topics": [
        "func_wettest6monSeasRatio"
      ]
    },
    {
      "page": "generateScenarios",
      "title": "Produces time series of hydroclimatic variables for an exposure space.",
      "topics": [
        "generateScenarios"
      ]
    },
    {
      "page": "getSimSummary",
      "title": "Produces a summary object containing the metadata of a full simulation",
      "topics": [
        "getSimSummary"
      ]
    },
    {
      "page": "GR4J_wrapper",
      "title": "System model wrapper GR4J",
      "topics": [
        "GR4J_wrapper"
      ]
    },
    {
      "page": "modCalibrator",
      "title": "modCalibrator",
      "topics": [
        "modCalibrator"
      ]
    },
    {
      "page": "modSimulator",
      "title": "modSimulator",
      "topics": [
        "modSimulator"
      ]
    },
    {
      "page": "mvFunc_avgDryDay",
      "title": "Calculates the average value of a non-rainfall time series on dry-days",
      "topics": [
        "mvFunc_avgDryDay"
      ]
    },
    {
      "page": "mvFunc_avgWetDay",
      "title": "Calculates the average value of a non-rainfall time series on wet-days",
      "topics": [
        "mvFunc_avgWetDay"
      ]
    },
    {
      "page": "mvFunc_cor",
      "title": "Calculates the correlation between two time series",
      "topics": [
        "mvFunc_cor"
      ]
    },
    {
      "page": "mvFunc_cvDryDay",
      "title": "Calculates the coefficient of variation (sdev/mean) value of a non-rainfall time series on dry-days",
      "topics": [
        "mvFunc_cvDryDay"
      ]
    },
    {
      "page": "mvFunc_cvWetDay",
      "title": "Calculates the coefficient of variation (sdev/mean) value of a non-rainfall time series on wet-days",
      "topics": [
        "mvFunc_cvWetDay"
      ]
    },
    {
      "page": "plotExpSpace",
      "title": "Plots the location of points in a two-dimensional exposure space",
      "topics": [
        "plotExpSpace"
      ]
    },
    {
      "page": "plotOptions",
      "title": "Plots the differences in performance metrics from two system options",
      "topics": [
        "plotOptions"
      ]
    },
    {
      "page": "plotPerformanceAttributesOAT",
      "title": "Plots changes in attributes for a specified perturbed attribute",
      "topics": [
        "plotPerformanceAttributesOAT"
      ]
    },
    {
      "page": "plotPerformanceOAT",
      "title": "Plots performance for one-at-a-time (OAT) perturbations in attributes",
      "topics": [
        "plotPerformanceOAT"
      ]
    },
    {
      "page": "plotPerformanceSpace",
      "title": "Plots a performance space using the system performance and scenarios as input",
      "topics": [
        "plotPerformanceSpace"
      ]
    },
    {
      "page": "plotPerformanceSpaceMulti",
      "title": "Plots contours of the number of performance thresholds exceeded in the perturbation space",
      "topics": [
        "plotPerformanceSpaceMulti"
      ]
    },
    {
      "page": "plotScenarios",
      "title": "Creates summary plots of the biases in the scenarios",
      "topics": [
        "plotScenarios"
      ]
    },
    {
      "page": "runSystemModel",
      "title": "Runs a system model and outputs the system performance",
      "topics": [
        "runSystemModel"
      ]
    },
    {
      "page": "setSeasonalTiedAttributes",
      "title": "Creates tied attributes which tie seasonal changes in attributes to annual changes",
      "topics": [
        "setSeasonalTiedAttributes"
      ]
    },
    {
      "page": "shuffle_sim",
      "title": "Post-processing to apply changes in temporal structure of annual precipitation.",
      "topics": [
        "shuffle_sim"
      ]
    },
    {
      "page": "egScottCreekSimStoch",
      "title": "Example perturbed stochastic climates for Scott Creek.",
      "topics": [
        "sim.stoch"
      ]
    },
    {
      "page": "subdaily_synthetic_obs",
      "title": "Synthetic sub-daily rainfall data",
      "topics": [
        "subdaily_synthetic_obs"
      ]
    },
    {
      "page": "tank_obs",
      "title": "Observations for demo tank model examples and vignette",
      "topics": [
        "tank_obs"
      ]
    },
    {
      "page": "tankPerformance",
      "title": "A function to calculate difference performance from simulated tank behaviour",
      "topics": [
        "tankPerformance"
      ]
    },
    {
      "page": "tankWrapper",
      "title": "Wrapper function for a rain water tank system model",
      "topics": [
        "tankWrapper"
      ]
    },
    {
      "page": "viewAttributeDef",
      "title": "Prints the definition of an attribute",
      "topics": [
        "viewAttributeDef"
      ]
    },
    {
      "page": "viewAttributeFuncs",
      "title": "Prints the list of built-in attribute functions",
      "topics": [
        "viewAttributeFuncs"
      ]
    },
    {
      "page": "viewDefaultOptimArgs",
      "title": "Prints the default optimisation arguments",
      "topics": [
        "viewDefaultOptimArgs"
      ]
    },
    {
      "page": "viewModelParameters",
      "title": "Prints the names and bounds of the parameters of the stochastic models",
      "topics": [
        "viewModelParameters"
      ]
    },
    {
      "page": "viewModels",
      "title": "Prints the available stochastic model options",
      "topics": [
        "viewModels"
      ]
    },
    {
      "page": "viewTankMetrics",
      "title": "Prints the names of the performance metrics of the rain water tank system model",
      "topics": [
        "viewTankMetrics"
      ]
    },
    {
      "page": "writeControlFile",
      "title": "Writes a sample 'controlFile.json' file",
      "topics": [
        "writeControlFile"
      ]
    }
  ],
  "_rundeps": [
    "airGR",
    "BLRPM",
    "cli",
    "codetools",
    "cowplot",
    "cpp11",
    "crayon",
    "data.table",
    "dfoptim",
    "directlabels",
    "doParallel",
    "dotCall64",
    "dplyr",
    "farver",
    "fields",
    "foreach",
    "GA",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "iterators",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "maps",
    "Matrix",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RGN",
    "rlang",
    "S7",
    "scales",
    "SoilHyP",
    "spam",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Vignette_foreSIGHT_stochastic.Rmd",
      "filename": "Vignette_foreSIGHT_stochastic.html",
      "title": "'Stress-Testing' using foreSIGHT: Stochastic simulation",
      "author": "David McInerney, Seth Westra, Anjana Devanand, Michael Leonard, Sam Culley, Bree Bennett",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "1. Overview",
        "2. Attribute naming convention",
        "2.1. Variable names",
        "2.2. Temporal stratification",
        "2.3. Function names (and optional parameters)",
        "2.4. Operator name",
        "2.5. Viewing attribute definitions and calculating values",
        "2.6. Multivariable attributes",
        "3. Creating the exposure space (Step A)",
        "3.1. Perturbed attributes",
        "3.2. Held attributes",
        "3.3. Tied attributes",
        "3.4 Example: Creating an exposure space",
        "4. Generating perturbed climate scenarios (Step B)",
        "4.1. The inverse optimization approach",
        "4.2. Generating scenarios with generateScenarios()",
        "4.3. Stochastic simulation options (the control file)",
        "4.3.1. Control file format",
        "4.3.2. Stochastic weather generators",
        "4.3.3. Post-processing of stochastic weather generator output",
        "4.3.4. Optimization",
        "Objective function weights",
        "Parameter Bounds",
        "Optimization arguments",
        "4.3.5. Advice for managing the number of parameters and target attributes",
        "4.3.6. Example: Generating perturbed stochastic climates",
        "5. Evaluation of perturbed climates",
        "5.1. Evaluation of target attributes",
        "5.2. Evaluating changes in attributes",
        "5.3. Evaluating the ability of SWGs to capture climate features relevant to the system model",
        "6. Calculate and evaluate performance (Steps C and D)",
        "6.1. Plotting OAT (One-At-a-Time) performance",
        "6.2. Plot 2D performance spaces:",
        "7. Conclusion",
        "Appendix: Scott Creek case study",
        "References"
      ],
      "created": "2026-05-27 05:02:00",
      "modified": "2026-05-27 05:02:00",
      "commits": 1
    },
    {
      "source": "Vignette_foreSIGHT_intro.Rmd",
      "filename": "Vignette_foreSIGHT_intro.html",
      "title": "Introduction to climate stress testing using foreSIGHT",
      "author": "Anjana Devanand, David McInerney, Sam Culley, Bree Bennett, Seth Westra",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "1. Introduction",
        "1.1. Objectives and application areas of foreSIGHT",
        "1.2. foreSIGHT workflow for climate stress testing",
        "2. Case Study - Climate 'Stress-test' of a Rainwater Tank System",
        "2.1. Step A: Identify attributes for perturbation and create an exposure space",
        "2.2. Step B: Generate perturbed time series",
        "2.3. Step C: Simulate system performance",
        "2.4. Step D: Visualise system performance",
        "2.5 Step E: Evaluate system options",
        "3. Advanced usage",
        "3.1 Stochastic simulation",
        "3.2 Coupling with external system models",
        "4. Conclusions",
        "5. References"
      ],
      "created": "2026-05-27 05:02:00",
      "modified": "2026-05-27 05:02:00",
      "commits": 1
    }
  ],
  "_score": 3.278753600952829,
  "_indexed": false,
  "_nocasepkg": "foresight",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://climateanalytics.r-universe.dev/foreSIGHT",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-27T14:33:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "9866ba1c6320c4700b9de54936fd1f68d0c85ff806db62de4c09b59c194603a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-27T14:33:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "acde47114403c8ab0695266e3dd4002e864969de06622640071a288a6d0c6046",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-27T14:33:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "fff76984d1ac3455006b2dd2f6f66ed242fb4cb7dfccaf88ca3a0d9974811823",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-27T14:33:43.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "bbc108b457840f63ae0edace4cd31582f5a0ee1a178aa18fb60e86c9ffe68c77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-28T05:56:46.000Z",
      "arch": "aarch64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "f42472cbf48edc5816554cf1d7f132e92e8ccfccc3c2a7a2bf884a0814731ca7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-27T14:34:37.000Z",
      "arch": "x86_64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "b016609ab544f4ea6a524e11042c76811a05e1a02b8105e0b67807add4d6d68b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-28T05:56:54.000Z",
      "arch": "aarch64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "784ad126976ee0f0903218f239a6dca7b952e4d6c14ed6722bc275c6073949a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-27T14:35:34.000Z",
      "arch": "x86_64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "7245c293866a709a53f4b489c0327e0bdb3f1b8eaa2ed61cce22c88f2aab0b4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-05-27T14:33:42.000Z",
      "arch": "emscripten",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "578cc7371b686e3db5946a76991fd1e8ccaf46ac7a51fef017d919d36c5c34a1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-27T14:32:49.000Z",
      "arch": "x86_64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "d49dbc8d4903711748537aec1cc734f21a8f51fce25ff574895670dfbe75873d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-27T14:32:43.000Z",
      "arch": "x86_64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "338243e1179884c71698ebe19085c17a623fab984472849bb85b8b357bb9d946",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-27T14:33:05.000Z",
      "arch": "x86_64",
      "commit": "ef0f0205ccab92931821266f3d9bc645e5b0a178",
      "fileid": "84f25b069dacb8e712d5ede6922f2180d775dd009d067c49effe9dc2813c6f91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26517502926"
    }
  ]
}