gen_ensemble_member: Generate the ensemble members for a single set of parameters

Description Usage Arguments Value

View source: R/main.R

Description

This generates one each of the Perfect, Adaptive, HybridLinearAdaptive, HybridPerfectAdaptive, and Linear scenario types using the input parameters. The return value is a list of the three ScenarioInfo objects for the scenarios generated.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
gen_ensemble_member(
  agFor,
  agForNonPast,
  crop,
  share1,
  share2,
  share3,
  linyears1,
  linyears2,
  linyears3,
  serialnum,
  aScenType,
  aIncludeSubsidies,
  suffix,
  aOutputDir
)

Arguments

agFor

The logit exponent the ag/forest nest, which controls competition between pasture and all other arable land.

agForNonPast

The logit exponent for the non-pasture nest, which controls competition between crops, grass/shrub, and forest.

crop

The logit exponent for the crop nest

share1

The share parameter for the lagged model for crop group 1 (see constants.R)

share2

The share parameter for the lagged model for crop group 2 (see constants.R)

share3

The share parameter for the lagged model for crop group 3 (see constants.R)

linyears1

The number of years parameter for the linear model for crop group 1 (see constants.R)

linyears2

The number of years parameter for the linear model for crop group 2 (see constants.R)

linyears3

The number of years parameter for the linear model for crop group 3 (see constants.R)

serialnum

Serial number for the run

aScenType

Scenario type, either "Hindcast" or "Reference"

aIncludeSubsidies

Boolean flag indicating whether subsidies should be included in profit

suffix

Suffix for output filenames.

aOutputDir

Name of the output directory.

Value

List of three ScenarioInfo objects


JGCRI/gcamland documentation built on Oct. 6, 2020, 5:30 p.m.