setup_ibis: Set the ibis.infile

View source: R/setup_ibis.R

setup_ibisR Documentation

Set the ibis.infile

Description

Set the ibis.infile

Usage

setup_ibis(
  model_path,
  file = "ibis_flag.infile",
  irestart = 0,
  irstyear = 1910,
  iyear0 = 1751,
  nrun,
  soilcspin = 0,
  flg_wrestart = 1,
  iyearout = 1,
  imonthout = 0,
  idailyout = 0,
  ihourlyout = 0,
  isimveg = 1,
  nstress = 0,
  isoybean = 0,
  imaize = 0,
  iwheat = 0,
  imiscanthus0 = 0,
  iswitchgrass0 = 0,
  ibsorghum = 0,
  irotation = 0,
  iholdsoiln = 0,
  management_prescribed = F,
  planting_input = "average",
  cultivar_input = "average",
  co2init = 4e-04,
  snorth,
  ssouth,
  swest,
  seast
)

Arguments

model_path

Path to the model directory.

file

Name of the ibis_flag.infile

irestart

0: not a restart run 1: restart run

irstyear

actual calendar year of restart run

iyear0

initial year of simulation (don't change for restart)

nrun

number of years in this simulation (change for restart)

soilcspin

0: no soil spinup, 1: acceleration procedure used

flg_wrestart

1(default): write restart files 0: no restart files

iyearout

0: no yearly output, 1: yearly output 2: yearly output, in a yearly basis

imonthout

0: no monthly output, 1: monthly output 2: monthly output, in a yearly basis

idailyout

0: no daily output, 1: daily output

ihourlyout

0: no hourly output, 1: hourly output

isimveg

0: static veg, 1: dynamic veg, 2: dynamic veg-cold start

nstress

0: no nitrogen stress, 1: apply nitrogen stress

isoybean

0: soybeans not grown 1: soybeans grown everywhere

imaize

0: maize not grown 1: maize grown everywhere

iwheat

0: wheat not grown 1: spring wheat grown everywhere 2: winter wheat

imiscanthus0

0: miscanthus not grown 1: miscanthus grown everywhere

iswitchgrass0

0: switchgrass not grown 1: switchgrass grown everywhere

ibsorghum

0: biomass sorghum not grown 1: biomass sorghum grown everywhere

irotation

0: none – 1: w. wheat/fallow – 2: corn/soy – 3: corn/corn/soy – 4: soy/w. wheat/corn – 5: soy/corn (opposite of 2) – 6: biomass sorghum/soybean

iholdsoiln

0: doesn't save soil inorganic N from restart 1: save inorganic soil N

management_prescribed

If true, used prescribed planting dates & cultivars, as read from maps; if false, use prognostic planting dates and cultivars

planting_input

Suffix on the planting date input file name (e.g., 'transient', 'detrended', 'linearized', or 'fixed'), for management_prescribed=true

cultivar_input

Suffix on the cultivar input file name (e.g., 'transient', 'fixed'), for management_prescribed=true

co2init

initial co2 concentration in mol/mol (ex: 0.000400 is equal to 400 ppm)

snorth

northern latitude for subsetting in/output

ssouth

southern latitude for subsetting in/output

swest

western longitude for subsetting in/output

seast

eastern longitude for subsetting in/output

Value

Writes out to ibis.infile

Author(s)

Bryan Petersen - bryan20@iastate.edu


bpetersen18/ibisR documentation built on April 9, 2022, 7:34 p.m.