magclass (version 4.107.0)

complete_magpie: complete_magpie

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

complete_magpie(x, fill = NA)

Arguments

x

MAgPIE object which should be completed.

fill

Value that shall be written into the missing entries

Value

The completed MAgPIE object

See Also

add_dimension,clean_magpie

Examples

Run this code
# NOT RUN {
 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)

# }

Run the code above in your browser using DataLab