complete_magpie

Share:

Description

MAgPIE objects can be incomplete to reduce memory. This function blows up a magpie object to its real dimensions, so you can apply unwrap.

Usage

1

Arguments

x

MAgPIE object which should be completed.

fill

Value that shall be written into the missing entries

Value

The completed MAgPIE object

Author(s)

Benjamin Bodirsky

See Also

add_dimension,clean_magpie

Examples

1
2
3
4
5
6
 data(population_magpie)
 a <- complete_magpie(population_magpie)
 b <- add_dimension(a)
 c <- add_dimension(a,nm="dummy2")
 incomplete<-mbind(b[,,1],c)
 d<-complete_magpie(incomplete)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.