View source: R/PrimSecdOtherLand.R
PrimSecdOtherLand | R Documentation |
Calculates share of primary and secondary non-forest vegetation for different aggregation levels based on gridded magpie output and initial shares of primary and secondary non-forest vegetation.
PrimSecdOtherLand(
x,
ini_file,
ini_year = "y1995",
file = NULL,
level = "grid",
unit = "Mha"
)
x |
Time series of land pools (model output) containing only one aggregated class for other land. Can be a file or magclass object. |
ini_file |
Initialisation file for primary and secondary other land (e.g. based on 1995 MAgPIE land-use initialisation values). Must have the same spatial resolution as |
ini_year |
Reference year for estimating primary and secondary other land shares, must be included in |
file |
a file name the output should be written to using |
level |
Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in superAggregate. The unit of output for the cases above is Mha. If level "grid" is specified the unit of output can be chosen between "share" and "Mha". |
unit |
"Mha" or "share". Defines the unit of the gridded output, see also |
x
including land area for primary and secondary non-forested vegetation in MAgPIE (other land) as MAgPIE object; either as unit of area (Mha) or as fraction of total land per grid cell (share).
Patrick v. Jeetze, Kristine Karstens
## Not run:
x <- "./cell.land_0.5.nc"
land <- PrimSecdOtherLand(x)
# direct use of disaggregation output
land <- PrimSecdOtherLand(land_hr)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.