citHeader("To cite package 'qmap' in publications use:")

year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)

bibentry(bibtype="Manual",
         title = "qmap: Statistical transformations for post-processing climate model output",
         author = "Lukas Gudmundsson",
         year = year,
         note = vers,
         textVersion =
         paste("Gudmundsson, L. (",year, "). qmap: Statistical transformations for post-processing climate model output. ", 
               vers, ".", sep=""))

bibentry(bibtype="Article",
	title = "Technical Note: Downscaling RCM precipitation to the station scale using statistical transformations - 
	         a comparison of methods", 
	 author = c("L. Gudmundsson",
	 "J. B. Bremnes",
	 "J. E. Haugen",
	 "T. Engen-Skaugen") ,
	 journal = "Hydrology and Earth System Sciences",
	 year = "2012",
	 volume = "16",
	 pages = "3383--3390",
	 number = "9",
	 doi = "10.5194/hess-16-3383-2012",
	 textVersion ="Gudmundsson, L.; Bremnes, J. B.; Haugen, J. E. & Engen-Skaugen, T. 
	 Technical Note: Downscaling RCM precipitation to the station scale using statistical 
	 transformations - a comparison of methods. Hydrology and Earth System Sciences, 
	 2012, 16, 3383-3390, doi:<10.5194/hess-16-3383-2012>.")