R/readREMMAG.R

Defines functions readREMMAG

#' @importFrom magclass read.magpie

readREMMAG <- function(subtype) {
  files <- c(ghgprices="ghg_prices.mz",
             biodem="2ndgen_biodem.mz")
  file <- toolSubtypeSelect(subtype,files)
  
  return(read.magpie(file))
}
pik-piam/mrland documentation built on Nov. 23, 2024, 11:37 a.m.