Skip to content
Snippets Groups Projects
Commit 033a3626 authored by Jentsch, Helge's avatar Jentsch, Helge
Browse files

230504: update of citation

parent 09602a8d
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ Suggests: knitr, testthat, usethis, rmarkdown
VignetteBuilder: knitr
SystemRequirements: Tested with at least 4 GB RAM.
NeedsCompilation: no
Packaged: 2023-05-03 09:11:34 UTC; helge
Packaged: 2023-05-04 08:24:48 UTC; helge
Author: Helge Jentsch [aut, cre],
Maria Bobrowski [aut],
Johannes Weidinger [aut],
......
......@@ -35,4 +35,5 @@ importFrom(utils,sessionInfo)
importFrom(utils,setTxtProgressBar)
importFrom(utils,txtProgressBar)
importFrom(utils,unzip)
importFrom(utils,write.table)
importFrom(utils,zip)
......@@ -19,10 +19,10 @@
#'@return CHELSA climate datasets for the period of 1979 - 2013
#'
#'@note Please note that the downloaded data for temperature and the therefore also the first eleven bioclim-variables are processed to °C with one significant decimal without offset and factor. Processing and conversion to other file-formats on a global dataset may take some time.
#'@note Citations not yet updated.Please check Chelsa Website for current citation!
#'
#'@references D. N. Karger, O. Conrad, J. B{\"o}hner , et al. "Climatologies at high resolution for the earth's land surface areas". In: _Scientific Data_ 4.1 (Sep. 2017). DOI: 10.1038/sdata.2017.122. <URL: https://doi.org/10.1038/sdata.2017.122>.
#'@references D. N. Karger, O. Conrad, J. B{\"o}hner , et al. _Climatologies at high resolution for the earth's land surface areas_. In: _Scientific Data_ 4.1 (Sep. 2017). DOI: 10.1038/sdata.2017.122. <URL: https://doi.org/10.1038/sdata.2017.122>.
#'@references D. N. Karger, O. Conrad, J. B{\"o}hner , et al. _Data from: Climatologies at high resolution for the earth's land surface areas_. En. 2018. DOI: 10.5061/DRYAD.KD1D4. <URL: http://datadryad.org/stash/dataset/doi:10.5061/dryad.kd1d4>.
#'@references D. N. Karger, O. Conrad, J. B{\"o}hner , et al. _Climatologies at high resolution for the earth’s land surface areas_ EnviDat. (2021) DOI: 10.16904/envidat.228. <URL: https://www.doi.org/10.16904/envidat.228>.
#'
#'@examples
#' \dontrun{
......@@ -36,7 +36,7 @@
#'@import RCurl
#'@import ncdf4
#'@import terra
#'@importFrom utils unzip download.file txtProgressBar
#'@importFrom utils unzip download.file txtProgressBar write.table
#'
#'
#'@export
......@@ -195,7 +195,7 @@ Chelsa.Clim.download <- function(save.location = "./",
}
write.table(x = dataDF,
file = normalizePath(paste0(save.location, "/", call.time, "_dataDF.csv"), winslash = "/"),
file = normalizePath(paste0(save.location, "/", call.time, "_downloadDataframe.csv"), winslash = "/"),
sep = ";",
dec = ".",
row.names = F,
......@@ -495,7 +495,6 @@ Chelsa.Clim.download <- function(save.location = "./",
#'
#'@note Specifications: <URL: https://chelsa-climate.org/wp-admin/download-page/CHELSA_tech_specification_V2.pdf>
#'@note More information on Shared Socioeconomic Pathways under <URL: https://www.dkrz.de/en/communication/climate-simulations/cmip6-en/the-ssp-scenarios?set_language=en>
#'@note Citations not yet updated.Please check Chelsa Website for current citation!
#'
#'@examples
#' \dontrun{
......
......@@ -385,24 +385,50 @@ save.citation <- function(save.location = "./",
# citation_ <- RefManageR::ReadCrossRef("")
citation_paper <- RefManageR::ReadCrossRef("10.1038/sdata.2017.122")
citation_CHELSA_cmip5_ts <- RefManageR::ReadCrossRef("10.1038/s41597-020-00587-y")
citation_PBCOR <- RefManageR::ReadCrossRef("10.1175/JCLI-D-19-0332.1")
# citation_envidat.332 <- RefManageR::ReadCrossRef("10.16904/envidat.332") #doi.org/10.16904/envidat.332
utils::download.file("https://www.envidat.ch/dataset/bioclim_plus/export/bibtex.bib",
destfile = paste0(tempdir(),"/bib_chelsa.bib"), quiet = T)
citation_envidat.332 <- RefManageR::ReadBib(paste0(tempdir(),"/bib_chelsa.bib"))
unlink(x = paste0(tempdir(),"/bib_chelsa.bib"))
# citation_envidat.228.v2.1 <- RefManageR::ReadCrossRef("10.16904/envidat.228.v2.1") # doi.org/10.16904/envidat.228.v2.1
utils::download.file("https://www.envidat.ch/dataset/chelsa-climatologies/export/bibtex.bib",
destfile = paste0(tempdir(),"/bib_chelsa.bib"), quiet = T)
citation_envidat.228.v2.1 <- RefManageR::ReadBib(paste0(tempdir(),"/bib_chelsa.bib"))
unlink(x = paste0(tempdir(),"/bib_chelsa.bib"))
# citation_essd2022212 <- RefManageR::ReadCrossRef("10.5194/essd-2022-212") #doi.org/10.5194/essd-2022-212
utils::download.file("https://essd.copernicus.org/articles/14/5573/2022/essd-14-5573-2022.bib",
destfile = paste0(tempdir(),"/bib_chelsa.bib"), quiet = T)
citation_essd2022212 <- RefManageR::ReadBib(paste0(tempdir(),"/bib_chelsa.bib"))
unlink(x = paste0(tempdir(),"/bib_chelsa.bib"))
citation_sdata.2017.122 <- RefManageR::ReadCrossRef("10.1038/sdata.2017.122") # 10.1038/sdata.2017.122
# Data
citation_data <- RefManageR::ReadCrossRef("10.5061/dryad.kd1d4")
utils::download.file("https://www.envidat.ch/dataset/eur11/export/bibtex.bib",
destfile = paste0(tempdir(),"/bib_chelsa.bib"), quiet = T)
citation_EUR11 <- RefManageR::ReadBib(paste0(tempdir(),"/bib_chelsa.bib"))
unlink(x = paste0(tempdir(),"/bib_chelsa.bib"))
utils::download.file("https://www.envidat.ch/dataset/chelsacruts/export/bibtex.bib",
destfile = paste0(tempdir(),"/bib_chelsa.bib"), quiet = T)
citation_CHELSAcruts_data <- RefManageR::ReadBib(paste0(tempdir(),"/bib_chelsa.bib"))
unlink(x = paste0(tempdir(),"/bib_chelsa.bib"))
utils::download.file("https://www.envidat.ch/dataset/chelsa_cmip5_ts/export/bibtex.bib",
destfile = paste0(tempdir(),"/bib_chelsa.bib"), quiet = T)
citation_CHELSA_cmip5_ts_data <- RefManageR::ReadBib(paste0(tempdir(),"/bib_chelsa.bib"))
unlink(x = paste0(tempdir(),"/bib_chelsa.bib"))
# Old versions
citation_Version1.0 <- RefManageR::ReadCrossRef("10.1594/WDCC/CHELSA_v1")
citation_Version1.1 <- RefManageR::ReadCrossRef("10.1594/WDCC/CHELSA_v1_1")
......
......@@ -72,8 +72,6 @@ Please note that the downloaded data for temperature and the therefore also the
Specifications: <URL: https://chelsa-climate.org/wp-admin/download-page/CHELSA_tech_specification_V2.pdf>
More information on Shared Socioeconomic Pathways under <URL: https://www.dkrz.de/en/communication/climate-simulations/cmip6-en/the-ssp-scenarios?set_language=en>
Citations not yet updated.Please check Chelsa Website for current citation!
}
\examples{
\dontrun{
......
......@@ -58,8 +58,6 @@ This function supports the download, pre-processing and management of CHELSA cli
}
\note{
Please note that the downloaded data for temperature and the therefore also the first eleven bioclim-variables are processed to °C with one significant decimal without offset and factor. Processing and conversion to other file-formats on a global dataset may take some time.
Citations not yet updated.Please check Chelsa Website for current citation!
}
\examples{
\dontrun{
......@@ -71,9 +69,11 @@ Chelsa.Clim.download(parameter = "prec", month.var = c(1,12))
}
\references{
D. N. Karger, O. Conrad, J. B{\"o}hner , et al. "Climatologies at high resolution for the earth's land surface areas". In: _Scientific Data_ 4.1 (Sep. 2017). DOI: 10.1038/sdata.2017.122. <URL: https://doi.org/10.1038/sdata.2017.122>.
D. N. Karger, O. Conrad, J. B{\"o}hner , et al. _Climatologies at high resolution for the earth's land surface areas_. In: _Scientific Data_ 4.1 (Sep. 2017). DOI: 10.1038/sdata.2017.122. <URL: https://doi.org/10.1038/sdata.2017.122>.
D. N. Karger, O. Conrad, J. B{\"o}hner , et al. _Data from: Climatologies at high resolution for the earth's land surface areas_. En. 2018. DOI: 10.5061/DRYAD.KD1D4. <URL: http://datadryad.org/stash/dataset/doi:10.5061/dryad.kd1d4>.
D. N. Karger, O. Conrad, J. B{\"o}hner , et al. _Climatologies at high resolution for the earth’s land surface areas_ EnviDat. (2021) DOI: 10.16904/envidat.228. <URL: https://www.doi.org/10.16904/envidat.228>.
}
\author{
Helge Jentsch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment