Title: | One-line description of this awesome package |
---|---|
Description: | One-paragraph description of this awesome package. |
Authors: | Felicitas Beier [aut, cre], Kristine Karstens [aut], Marcos Alves [aut], Jan Philipp Dietrich [aut], Benjamin Leon Bodirsky [aut], David Hoetten [aut], Florian Humpenoeder [aut], Jens Heinke [aut], Patrick v. Jeetze [aut], Abhijeet Mishra [aut], Felcitas Beier [aut], Stephen Wirth [aut], David Chen [aut], Ulrich Kreidenweis [aut] |
Maintainer: | Felicitas Beier <[email protected]> |
License: | LGPL-3 |
Version: | 1.2.0 |
Built: | 2024-12-17 04:43:49 UTC |
Source: | https://github.com/pik-piam/mrlandcore |
Returns harvested areas of individual crops from FAOSTAT. Total harvested areas can be lower or higher than arable land because of multicropping or fallow land. Rice areas are distributed to flooded LUH areas. Additional FAOSTAT rice areas are distributed based on country shares.
calcCroparea( sectoral = "kcr", physical = TRUE, cellular = FALSE, cells = "lpjcell", irrigation = FALSE )
calcCroparea( sectoral = "kcr", physical = TRUE, cellular = FALSE, cells = "lpjcell", irrigation = FALSE )
sectoral |
"area_harvested" returns croparea aggregated to FAO products, "ProductionItem" unaggregated ProdSTAT items, "FoodBalanceItem" Food Balance Sheet categories, "kcr" MAgPIE items, and "lpj" LPJmL items |
physical |
if TRUE the sum over all crops agrees with the cropland area per country |
cellular |
if TRUE: calculates cellular MAgPIE crop area for all magpie croptypes. Crop area from LUH2 crop types (c3ann, c4ann, c3per, c4per, cnfx) are mapped to MAgpIE crop types using mappingLUH2cropsToMAgPIEcrops.csv. Harvested areas of FAO weight area within a specific LUH crop type to divide into MAgPIE crop types. |
cells |
Switch between "magpiecell" (59199) and "lpjcell" (67420) |
irrigation |
If true: cellular areas are returned separated into irrigated and rainfed (see setup in calcLUH2v2) |
areas of individual crops from FAOSTAT and weight
Ulrich Kreidenweis, Kristine Karstens, Felicitas Beier
This function uses total physical area and crop-specific harvested area data from LandInG to calculate crop-specific physical and harvested areas considering special rules for the allocation of perennial and annual crops.
calcCropareaLandInG( sectoral = "kcr", physical = TRUE, cellular = FALSE, cells = "magpiecell", irrigation = FALSE, selectyears = "all", lpjml = c(natveg = "LPJmL4_for_MAgPIE_44ac93de", crop = "ggcmi_phase3_nchecks_bft_e511ac58"), climatetype = "GSWP3-W5E5:historical" )
calcCropareaLandInG( sectoral = "kcr", physical = TRUE, cellular = FALSE, cells = "magpiecell", irrigation = FALSE, selectyears = "all", lpjml = c(natveg = "LPJmL4_for_MAgPIE_44ac93de", crop = "ggcmi_phase3_nchecks_bft_e511ac58"), climatetype = "GSWP3-W5E5:historical" )
sectoral |
"kcr" MAgPIE items, and "lpj" LPJmL items |
physical |
if TRUE the sum over all crops plus fallow land (of calcFallowLand) agrees with the physical cropland of readLandInG(subtype = physical) |
cellular |
if TRUE: calculates cellular crop area for all magpie croptypes. Option FALSE is not (yet) available. |
cells |
Switch between "magpiecell" (59199) and "lpjcell" (67420) |
irrigation |
If true: cellular areas are returned separated into irrigated and rainfed |
selectyears |
extract certain years from the data |
lpjml |
LPJmL version used to determine multiple cropping suitability |
climatetype |
Climate scenario or historical baseline "GSWP3-W5E5:historical" used to determine multiple cropping suitability |
MAgPIE object with cropareas
David Hoetten, Felicitas Beier
Calculates fallow land on grid cell level, based on physical cropland extend and harvested area output of LandInG data. The formula "fallow land are = max( physical cropland area - harvested cropland area, 0)" is used. Due to multiple cropping, harvested cropland area can be greater than non-fallow land area and even greater than physical cropland area. Thus, the results can only be considered a rough estimate of fallow land area.
calcFallowLand(cellular = TRUE)
calcFallowLand(cellular = TRUE)
cellular |
TRUE for cellular outputs. |
MAgPIE object containing fallow land in Mha
David Hoetten, Felicitas Beier
## Not run: calcOutput("FallowLand") ## End(Not run)
## Not run: calcOutput("FallowLand") ## End(Not run)
Calculates consistent forest area and its subcategories based on FAO_FRA2015 and LanduseInitialisation data.
calcForestArea(selectyears = "past")
calcForestArea(selectyears = "past")
selectyears |
defaults to past |
List of magpie object with results on country level, weight, unit and description.
Kristine Karstens, Jan Philipp Dietrich
## Not run: calcOutput("ForestArea") ## End(Not run)
## Not run: calcOutput("ForestArea") ## End(Not run)
Calculates gross primary production (GPP) of grassland under irrigated and rainfed conditions based on LPJmL inputs.
calcGrassGPP(selectyears, lpjml, climatetype, season)
calcGrassGPP(selectyears, lpjml, climatetype, season)
selectyears |
Years to be returned |
lpjml |
LPJmL version required for respective inputs: natveg or crop |
climatetype |
Switch between different climate scenarios or historical baseline "GSWP3-W5E5:historical" |
season |
"wholeYear": grass GPP in the entire year (main + off season) "mainSeason": grass GPPP in the crop-specific growing period of LPJmL (main season) |
magpie object in cellular resolution
Felicitas Beier
## Not run: calcOutput("GrassGPP", aggregate = FALSE) ## End(Not run)
## Not run: calcOutput("GrassGPP", aggregate = FALSE) ## End(Not run)
Calculates which gridcell-specific months in which growing conditions are favorable for crop growth based on monthly grass GPP
calcGrowingPeriodMonths(selectyears, lpjml, climatetype, minThreshold = 100)
calcGrowingPeriodMonths(selectyears, lpjml, climatetype, minThreshold = 100)
selectyears |
Years to be returned |
lpjml |
LPJmL version required for respective inputs: natveg or crop |
climatetype |
Switch between different climate scenarios or historical baseline "GSWP3-W5E5:historical" |
minThreshold |
Threshold of monthly grass GPP to be classified as growing period month Unit of the threshold is gC/m^2. Default: 100gC/m^2 Note: the default value is chosen based on LPJmL version 5 to reflect multiple cropping suitability as shown in GAEZ-4. An update of LPJmL5 with regards to grass management may require an adjustment of the threshold. |
magpie object in cellular resolution
Felicitas Beier, Jens Heinke
## Not run: calcOutput("GrowingPeriodMonths", aggregate = FALSE) ## End(Not run)
## Not run: calcOutput("GrowingPeriodMonths", aggregate = FALSE) ## End(Not run)
Calculates the cellular MAgPIE landuse initialisation area. Data from FAO on forestry is used to split the secondary forest pool of the LU2v2 dataset into forestry and secd_forest.
calcLanduseInitialisation( cellular = FALSE, nclasses = "seven", cells = "lpjcell", selectyears = "past", input_magpie = FALSE )
calcLanduseInitialisation( cellular = FALSE, nclasses = "seven", cells = "lpjcell", selectyears = "past", input_magpie = FALSE )
cellular |
cellular (TRUE) or country-level/regional (FALSE) data? For country-level vs regional data: remember to set "aggregate" to FALSE. |
nclasses |
options are either "six", "seven" or "nine".
|
cells |
if cellular is TRUE: "magpiecell" for 59199 cells or "lpjcell" for 67420 cells |
selectyears |
default on "past" |
input_magpie |
applies area fix (set cells with zero area to minimal value to not disturb aggregating to clusters) |
List of magpie object with results on country or cellular level, weight on cellular level, unit and description.
Jan Philipp Dietrich, Benjamin Leon Bodirsky, Kristine Karstens, Felcitas Beier, Patrick v. Jeetze
## Not run: calcOutput("LanduseInitialisation") ## End(Not run)
## Not run: calcOutput("LanduseInitialisation") ## End(Not run)
Calculates the cellular MAgPIE landuse initialisation area. Data from FAO on forestry is used
to split the secondary forest pool of the LU2v2 dataset into forestry and secd_forest. This function
returns the data set in a basic configuration. Use calcLanduseInitialisation
for
more settings.
calcLanduseInitialisationBase(cells = "lpjcell", selectyears = "past")
calcLanduseInitialisationBase(cells = "lpjcell", selectyears = "past")
cells |
"magpiecell" for 59199 cells or "lpjcell" for 67420 cells |
selectyears |
Years to be computed (default on "past") |
Cellular landuse initialisation in its base configuration
Jan Philipp Dietrich, Benjamin Leon Bodirsky, Kristine Karstens, Felcitas Beier, Patrick v. Jeetze
## Not run: calcOutput("LanduseInitialisationBase") ## End(Not run)
## Not run: calcOutput("LanduseInitialisationBase") ## End(Not run)
Handle LPJmL data and its time behaviour (smoothing and harmonizing to baseline)
calcLPJmL_new( version = "LPJmL4_for_MAgPIE_44ac93de", climatetype = "MRI-ESM2-0:ssp370", subtype = "soilc", subdata = NULL, stage = "harmonized2020" )
calcLPJmL_new( version = "LPJmL4_for_MAgPIE_44ac93de", climatetype = "MRI-ESM2-0:ssp370", subtype = "soilc", subdata = NULL, stage = "harmonized2020" )
version |
Switch between LPJmL versions (including addons for further version specification) |
climatetype |
Switch between different climate scenarios |
subtype |
Switch between different lpjml input as specified in readLPJmL |
subdata |
Switch between data dimension subitems |
stage |
Degree of processing: raw, smoothed - raw or smoothed data from 1930|1951 raw1901, smoothed1901 - raw or smoothed data from 1901 harmonized, harmonized2020 - based on toolLPJmLVersion |
List of magpie objects with results on cellular level, weight, unit and description.
Kristine Karstens, Felicitas Beier
[readLPJmL()]
## Not run: calcOutput("LPJmL_new", subtype = "soilc", aggregate = FALSE) ## End(Not run)
## Not run: calcOutput("LPJmL_new", subtype = "soilc", aggregate = FALSE) ## End(Not run)
Handle LPJmL data and its time behaviour (averaging, approximation, harmonizing to baseline)
calcLPJmL4( version = "LPJmL4", climatetype = "CRU_4", subtype = "soilc", subdata = NULL, time = "raw", averaging_range = NULL, dof = NULL, harmonize_baseline = FALSE, ref_year = "y2015", limited = TRUE, hard_cut = FALSE, selectyears = "all" )
calcLPJmL4( version = "LPJmL4", climatetype = "CRU_4", subtype = "soilc", subdata = NULL, time = "raw", averaging_range = NULL, dof = NULL, harmonize_baseline = FALSE, ref_year = "y2015", limited = TRUE, hard_cut = FALSE, selectyears = "all" )
version |
Switch between LPJmL4 and LPJmL4 |
climatetype |
Switch between different climate scenarios (default: "CRU_4") |
subtype |
Switch between different lpjml input as specified in readLPJmL |
subdata |
Switch between data dimension subitems |
time |
average, spline or raw (default) |
averaging_range |
just specify for time=="average": number of time steps to average |
dof |
just specify for time=="spline": degrees of freedom |
harmonize_baseline |
FALSE (default) nothing happens, if a baseline is specified here data is harmonized to that baseline (from ref_year on) |
ref_year |
just specify for harmonize_baseline != FALSE : Reference year |
limited |
just specify for harmonize_baseline != FALSE : if TRUE limited approached is used |
hard_cut |
just specify for harmonize_baseline != FALSE : use hard cut instead of multiplicative factor |
selectyears |
defaults to all years available |
List of magpie objects with results on cellular level, weight, unit and description.
Kristine Karstens, Felicitas Beier
Handle LPJmL climate input data and its time behaviour (smoothing and harmonizing to baseline)
calcLPJmLClimateInput_new( climatetype = "MRI-ESM2-0:ssp370", variable = "temperature:annualMean", stage = "harmonized2020", lpjmlVersion = "LPJmL4_for_MAgPIE_44ac93de" )
calcLPJmLClimateInput_new( climatetype = "MRI-ESM2-0:ssp370", variable = "temperature:annualMean", stage = "harmonized2020", lpjmlVersion = "LPJmL4_for_MAgPIE_44ac93de" )
climatetype |
Switch between different climate scenario |
variable |
Switch between different climate inputs and temporal resolution |
stage |
Degree of processing: raw, smoothed - raw or smoothed data from 1930|1951 raw1901, smoothed1901 - raw or smoothed data from 1901 harmonized, harmonized2020 - based on toolLPJmLVersion |
lpjmlVersion |
LPJmL Version hand over |
magpie object in cellular resolution
Marcos Alves, Kristine Karstens, Felicitas Beier
## Not run: calcOutput("LPJmLClimateInput_new", climatetype = "MRI-ESM2-0:ssp370", variable = "temperature:annualMean") ## End(Not run)
## Not run: calcOutput("LPJmLClimateInput_new", climatetype = "MRI-ESM2-0:ssp370", variable = "temperature:annualMean") ## End(Not run)
Calculates the real aggregation of LUH croptypes to MAgPIE croptypes out of LUH2FAO and FAO2MAgPIE mappings
calcLUH2MAgPIE( share = "total", bioenergy = "ignore", rice = "non_flooded", selectyears = "past", missing = "ignore" )
calcLUH2MAgPIE( share = "total", bioenergy = "ignore", rice = "non_flooded", selectyears = "past", missing = "ignore" )
share |
total (for total numbers), LUHofMAG (for share of LUH within kcr types), MAGofLUH (for share of kcr within LUH types) |
bioenergy |
"ignore": 0 for share and totals, "fix": fixes betr and begr shares in LUHofMAG to 1 for c3per and c4per |
rice |
rice category: "non_flooded" or "total" |
selectyears |
years to be returned (default: "past") |
missing |
"ignore" will leave data as is, "fill" will add proxy values for data gaps of FAO |
List of magpie objects with results on country level, weight on country level, unit and description
Kristine Karstens, Felicitas Beier
## Not run: calcOutput("LUH2MAgPIE") ## End(Not run)
## Not run: calcOutput("LUH2MAgPIE") ## End(Not run)
Integrates the LUH2v2 landuse-dataset
calcLUH2v2( landuse_types = "magpie", irrigation = FALSE, cellular = FALSE, cells = "lpjcell", selectyears = "past" )
calcLUH2v2( landuse_types = "magpie", irrigation = FALSE, cellular = FALSE, cells = "lpjcell", selectyears = "past" )
landuse_types |
magpie: magpie landuse classes, LUH2v2: original landuse classes flooded: flooded areas as reported by LUH |
irrigation |
if true: areas are returned separated by irrigated and rainfed, if false: total areas |
cellular |
if true: dataset is returned on 0.5 degree resolution |
cells |
Switch between "magpiecell" (59199) and "lpjcell" (67420) NOTE: This setting also affects the sums on country level! |
selectyears |
years to be returned (default: "past") |
List of magpie objects with results on country level, weight on country level, unit and description
Benjamin Leon Bodirsky, Florian Humpenoeder, Jens Heinke, Felicitas Beier
[calcLanduseInitialisation()]
## Not run: calcOutput("LUH2v2") ## End(Not run)
## Not run: calcOutput("LUH2v2") ## End(Not run)
calculates a multiple cropping factor based on area harvested, physical cropland area (and optionally fallow land).
calcMulticropping(extend_future = FALSE, factortype = "CI")
calcMulticropping(extend_future = FALSE, factortype = "CI")
extend_future |
if TRUE |
factortype |
CI: cropping intensity factor calculated as ratio of harvested to physical area where values above one indicate multicropping, below one fallow land (default) MC: multiple cropping factor indicating areas that are harvested more than once in one year calculated taking fallow land into account explicitly: harvestedArea / (physicalArea - fallowLand) |
List of magpie objects with results on country level, weight on country level, unit and description.
Benjamin Leon Bodirsky, David Chen, Felicitas Beier
[calcFAOLand()], [calcCroparea()]
## Not run: calcOutput("Multicropping") ## End(Not run)
## Not run: calcOutput("Multicropping") ## End(Not run)
Calculates which grid cells are potentially suitable for multiple cropping activities under rainfed and irrigated conditions. Calculation is based on the length of the growing period determined by monthly grassland gross primary production (GPP).
calcMulticroppingSuitability( selectyears, lpjml, climatetype, suitability = "endogenous", sectoral = "kcr" )
calcMulticroppingSuitability( selectyears, lpjml, climatetype, suitability = "endogenous", sectoral = "kcr" )
selectyears |
Years to be returned |
lpjml |
LPJmL version required for respective inputs: natveg or crop |
climatetype |
Switch between different climate scenarios or historical baseline "GSWP3-W5E5:historical" |
suitability |
"endogenous": suitability for multiple cropping determined by rules based on grass and crop productivity "exogenous": suitability for multiple cropping given by GAEZ data set |
sectoral |
"kcr" MAgPIE crops, and "lpj" LPJmL crops |
magpie object in cellular resolution
Felicitas Beier, Jens Heinke
## Not run: calcOutput("MulticroppingSuitability", aggregate = FALSE) ## End(Not run)
## Not run: calcOutput("MulticroppingSuitability", aggregate = FALSE) ## End(Not run)
This function returns multiple cropping zones at 0.5 degree resolution
calcMultipleCroppingZones(layers = 2)
calcMultipleCroppingZones(layers = 2)
layers |
8 for original GAEZ layers, 3 for aggregated multiple cropping zones with 1 = single cropping, 2 = double cropping, 3 = triple cropping 2 for aggregated boolean multicropping potential with 0 = no multicropping (single cropping), 1 = multiple cropping |
magpie object in cellular resolution
Felicitas Beier
## Not run: calcOutput("MultipleCroppingZones", layers = 3, aggregate = FALSE) ## End(Not run)
## Not run: calcOutput("MultipleCroppingZones", layers = 3, aggregate = FALSE) ## End(Not run)
calculates rice area based on LUH flooded areas and physical rice areas reported by FAOSTAT.
calcRicearea(cellular = FALSE, cells = "lpjcell", share = TRUE)
calcRicearea(cellular = FALSE, cells = "lpjcell", share = TRUE)
cellular |
If TRUE: calculates cellular rice area |
cells |
Switch between "magpiecell" (59199) and "lpjcell" (67420) |
share |
If TRUE: non-flooded share is returned. If FALSE: rice area (flooded, non-flooded, total) in Mha is returned |
rice areas or rice area shares of flooded and non-flooded category
Felicitas Beier, Kristine Karstens
Convert LPJmL content
convertLPJmL4(x)
convertLPJmL4(x)
x |
magpie object provided by the read function |
List of magpie objects with results on cellular level, weight, unit and description.
Kristine Karstens
[readLPJmL()]
## Not run: readSource("LPJmL4", subtype = "soilc", convert = TRUE) ## End(Not run)
## Not run: readSource("LPJmL4", subtype = "soilc", convert = TRUE) ## End(Not run)
Correct Global Agro-ecological Zones (GAEZ) data
correctGAEZv4(x)
correctGAEZv4(x)
x |
MAgPIE object provided by readGAEZv4 function |
MAgPIE object at 0.5 cellular level
Felicitas Beier
## Not run: readSource("GAEZv4", convert = "onlycorrect") ## End(Not run)
## Not run: readSource("GAEZv4", convert = "onlycorrect") ## End(Not run)
correct LandInG data. Convert unit from ha to mio ha
correctLandInG(x)
correctLandInG(x)
x |
magpie object provided by the read function |
corrected magpie object
David Hoetten, Felicitas Beier
## Not run: a <- readSource("LandInG", convert = "onlycorrect") ## End(Not run)
## Not run: a <- readSource("LandInG", convert = "onlycorrect") ## End(Not run)
Convert LPJmL content (dummy function)
correctLPJmL_new(x)
correctLPJmL_new(x)
x |
magpie object provided by the read function |
Kristine Karstens
[readLPJmL_new()]
## Not run: readSource("LPJmL_new", convert = "onlycorrect") ## End(Not run)
## Not run: readSource("LPJmL_new", convert = "onlycorrect") ## End(Not run)
Correct LPJmL4 content
correctLPJmL4(x)
correctLPJmL4(x)
x |
magpie object provided by the read function |
List of magpie objects with results on cellular level, weight, unit and description.
Kristine Karstens, Felicitas Beier
[correctLPJmL4()]
## Not run: readSource("LPJmL4", subtype = "soilc", convert = "onlycorrect") ## End(Not run)
## Not run: readSource("LPJmL4", subtype = "soilc", convert = "onlycorrect") ## End(Not run)
Correct LPJmL climate input variables
correctLPJmLClimateInput_new(x)
correctLPJmLClimateInput_new(x)
x |
magpie object provided by the read function |
Magpie objects with results on cellular level, weight, unit and description.
Marcos Alves, Felicitas Beier
## Not run: readSource("LPJmLClimateInput_new", subtype, convert="onlycorrect") ## End(Not run)
## Not run: readSource("LPJmLClimateInput_new", subtype, convert="onlycorrect") ## End(Not run)
correct LPJmLInputs content (dummy function)
correctLPJmLInputs(x)
correctLPJmLInputs(x)
x |
magpie object provided by the read function |
Felicitas Beier
## Not run: readSource("LPJmLInputs", convert = "onlycorrect") ## End(Not run)
## Not run: readSource("LPJmLInputs", convert = "onlycorrect") ## End(Not run)
Correct LUH2v2 content
correctLUH2v2(x, subtype)
correctLUH2v2(x, subtype)
x |
magpie object provided by the read function |
subtype |
switch between different inputs |
List of magpie object with results on cellular level
Florian Humpenoeder, Stephen Wirth, Kristine Karstens, Felicitas Beier, Jan Philipp Dietrich, Edna J. Molina Bacca
Download LPJmL content by version, climate model and scenario
downloadLPJmL_new( subtype = "LPJmL4_for_MAgPIE_44ac93de:GSWP3-W5E5:historical:soilc" )
downloadLPJmL_new( subtype = "LPJmL4_for_MAgPIE_44ac93de:GSWP3-W5E5:historical:soilc" )
subtype |
Switch between different input It consists of LPJmL version, climate model, scenario and variable. For pasture lpjml runs, the scenario variable is used to navigate the output folder structure (e.g. 'LPJmL4_for_MAgPIE_3dda0615:GSWP3-W5E5:historical:soilc' or "LPJmL5.2_Pasture:IPSL_CM6A_LR:ssp126_co2_limN_00:soilc_past_hist") |
metadata entry
Kristine Karstens, Marcos Alves, Felicitas Beier
## Not run: readSource("LPJmL_new", convert = FALSE) ## End(Not run)
## Not run: readSource("LPJmL_new", convert = FALSE) ## End(Not run)
Download GCM climate input used for LPJmL runs
downloadLPJmLClimateInput_new( subtype = "ISIMIP3bv2:MRI-ESM2-0:ssp370:temperature" )
downloadLPJmLClimateInput_new( subtype = "ISIMIP3bv2:MRI-ESM2-0:ssp370:temperature" )
subtype |
Switch between different inputs (e.g. "ISIMIP3b:IPSL-CM6A-LR:historical:1850-2014:temperature") Argument consists of GCM version, climate model, scenario and variable, separated by ":" |
metadata entry
Marcos Alves, Kristine Karstens
## Not run: readSource("LPJmLClimateInput_new", convert = "onlycorrect") ## End(Not run)
## Not run: readSource("LPJmLClimateInput_new", convert = "onlycorrect") ## End(Not run)
Read in data from the Global Agro-ecological Zones (GAEZ) data set version 4
readGAEZv4(subtype = "MCzones")
readGAEZv4(subtype = "MCzones")
subtype |
Subtype to be read |
MAgPIE object at 0.5 cellular level
Felicitas Beier
## Not run: readSource("GAEZv4", convert = "onlycorrect") ## End(Not run)
## Not run: readSource("GAEZv4", convert = "onlycorrect") ## End(Not run)
Reads in LandInG data
readLandInG(subtype = "physicalArea")
readLandInG(subtype = "physicalArea")
subtype |
Type of LandInG data that should be read:
|
magpie object
Felicitas Beier
## Not run: A <- readSource("LandInG", subtype = "harvestedArea", aggregate = FALSE) ## End(Not run)
## Not run: A <- readSource("LandInG", subtype = "harvestedArea", aggregate = FALSE) ## End(Not run)
Read in LPJmL outputs
readLPJmL_new( subtype = "LPJmL4_for_MAgPIE_44ac93de:GSWP3-W5E5:historical:soilc" )
readLPJmL_new( subtype = "LPJmL4_for_MAgPIE_44ac93de:GSWP3-W5E5:historical:soilc" )
subtype |
Switch between different inputs (eg. "LPJmL5.2_Pasture:IPSL_CM6A_LR:ssp126_co2_limN_00:soilc_past_hist") |
List of magpie objects with results on cellular level, weight, unit and description.
Kristine Karstens, Abhijeet Mishra, Felicitas Beier, Marcos Alves
[readLPJ()]
## Not run: readSource("LPJmL_new", convert = FALSE) ## End(Not run)
## Not run: readSource("LPJmL_new", convert = FALSE) ## End(Not run)
Read LPJmL content
readLPJmL4(subtype = "LPJmL5:CRU4p02.soilc")
readLPJmL4(subtype = "LPJmL5:CRU4p02.soilc")
subtype |
Switch between different input |
List of magpie objects with results on cellular level, weight, unit and description.
Kristine Karstens, Abhijeet Mishra, Felicitas Beier
## Not run: readSource("LPJmL4", subtype = "LPJmL5:CRU4p02.soilc", convert = "onlycorrect") ## End(Not run)
## Not run: readSource("LPJmL4", subtype = "LPJmL5:CRU4p02.soilc", convert = "onlycorrect") ## End(Not run)
Read Climate data used as LPJmL inputs into MAgPIE objects
readLPJmLClimateInput_new( subset = "annualMean", subtype = "ISIMIP3bv2:MRI-ESM2-0:ssp370:temperature" )
readLPJmLClimateInput_new( subset = "annualMean", subtype = "ISIMIP3bv2:MRI-ESM2-0:ssp370:temperature" )
subset |
Switch between different subsets of the same subtype Available options are: "annualMean", "annualSum", "monthlyMean", "monthlySum", "wetDaysMonth" Note that not all subtype-subset combinations make sense |
subtype |
Switch between different inputs, e.g. "ISIMIP3bv2:MRI-ESM2-0:ssp370:1850-2014:tas" Available variables are: * tas - * wet - * per - |
MAgPIE objects with results on cellular level.
Marcos Alves, Kristine Karstens, Felicitas Beier
## Not run: readSource("LPJmLClimateInput_new", subtype, convert = "onlycorrect") ## End(Not run)
## Not run: readSource("LPJmLClimateInput_new", subtype, convert = "onlycorrect") ## End(Not run)
This function reads in LPJmL inputs (inputs to LPJmL)
readLPJmLInputs(subtype = "lakeshare")
readLPJmLInputs(subtype = "lakeshare")
subtype |
Switch between different inputs |
List of magpie objects with results on cellular level, weight, unit and description.
Felicitas Beier
## Not run: readSource("LPJmLInputs", subtype = "lakeshare", convert = FALSE) ## End(Not run)
## Not run: readSource("LPJmLInputs", subtype = "lakeshare", convert = FALSE) ## End(Not run)
read LUH inputs
readLUH2v2(subtype)
readLUH2v2(subtype)
subtype |
switch between different inputs |
List of magpie objects with results on cellular level, weight, unit and description
Florian Humpenoeder, Stephen Wirth, Kristine Karstens, Felicitas Beier, Jan Philipp Dietrich, Patrick v. Jeetze
Specify default settings for LPJmL climate input version and baseline settings
toolClimateInputVersion(lpjmlVersion, climatetype)
toolClimateInputVersion(lpjmlVersion, climatetype)
lpjmlVersion |
Add-ons (+*) for further version specification for LPJmL version |
climatetype |
Switch between different climate scenarios |
configuration as list
Kristine Karstens
Reallocates cellular forest information from LUH2 to better match FAO forest information
toolForestRelocate(lu, luCountry, natTarget, vegC)
toolForestRelocate(lu, luCountry, natTarget, vegC)
lu |
uncorrected landuse initialisation data set (cell level) |
luCountry |
uncorrected landuse initialisation on country level |
natTarget |
target natural land allocation on country level |
vegC |
vegetation carbon data used as reallocation weight |
List of magpie object with results on cellular level
Kristine Karstens, Jan Philipp Dietrich, Felicitas Beier, Patrick v. Jeetze
Specify default settings for LPJmL version and baseline settings
toolLPJmLVersion(version, climatetype)
toolLPJmLVersion(version, climatetype)
version |
Switch between LPJmL versions (including add-ons (+*) for further version specification) |
climatetype |
Switch between different climate scenarios |
configuration as list
Kristine Karstens