diff --git a/DESCRIPTION b/DESCRIPTION index fc36a0f3dc7b697a1f64ddbeffd8e40d1d5d15db..6e2da7c71262178f99420c2c770505b5a73104b1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -42,7 +42,7 @@ Suggests: knitr, testthat, usethis, rmarkdown VignetteBuilder: knitr SystemRequirements: Tested with at least 4 GB RAM. NeedsCompilation: no -Packaged: 2023-05-02 05:43:04 UTC; helge +Packaged: 2023-05-03 09:11:34 UTC; helge Author: Helge Jentsch [aut, cre], Maria Bobrowski [aut], Johannes Weidinger [aut], diff --git a/R/Chelsa_new_download_functions.R b/R/Chelsa_new_download_functions.R index 84b50f6f9e1370815f6771446f2bbf007db4e8f4..3d0675ce111d939b9df7d2c32a26ecdd1c0f29ee 100644 --- a/R/Chelsa_new_download_functions.R +++ b/R/Chelsa_new_download_functions.R @@ -19,6 +19,7 @@ #'@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. _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>. @@ -305,6 +306,7 @@ Chelsa.Clim.download <- function(save.location = "./", rm(tempFilePath) gc() } + rm(rescale_i) unlink(list.files(tempdir(), recursive = T, full.names =T)) } } @@ -326,6 +328,7 @@ Chelsa.Clim.download <- function(save.location = "./", rm(tempFilePath) gc() } + rm(rescale_i) unlink(list.files(tempdir(), recursive = T, full.names =T)) } offsetDF_V21 <- dataDF[dataDF$version == "2.1" & @@ -351,6 +354,7 @@ Chelsa.Clim.download <- function(save.location = "./", rm(tempFilePath) gc() } + rm(rescale_i) unlink(list.files(tempdir(), recursive = T, full.names =T)) } } @@ -491,6 +495,7 @@ 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{ diff --git a/man/Chelsa.CMIP_6.download.Rd b/man/Chelsa.CMIP_6.download.Rd index 8c82a57adc1eb822b6477f40f4d38d55b7d15590..c662fd228e58e34fa8bd34eb5704da72b22df6ed 100644 --- a/man/Chelsa.CMIP_6.download.Rd +++ b/man/Chelsa.CMIP_6.download.Rd @@ -72,6 +72,8 @@ 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{ diff --git a/man/Chelsa.Clim.download.Rd b/man/Chelsa.Clim.download.Rd index 8772ba78352cc8c7a7eb2c762ab483fa532bee18..a4ba783c1d5bdce0c3a84a44f9c5d0f5793b57f6 100644 --- a/man/Chelsa.Clim.download.Rd +++ b/man/Chelsa.Clim.download.Rd @@ -58,6 +58,8 @@ 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{