From 435332f9b0c1208bc74272ab61ebed8e266b161f Mon Sep 17 00:00:00 2001 From: aho Date: Wed, 11 Nov 2020 15:35:44 +0100 Subject: [PATCH] Update version number to v0.1.0, and remove author in headers --- DESCRIPTION | 6 ++++-- NEWS.md | 13 +++++++++---- R/AMV.R | 4 ---- R/GMST.R | 4 ---- R/GSAT.R | 4 ---- R/Persistence.R | 1 - R/RandomWalkTest.R | 3 --- R/SPOD.R | 4 ---- R/TPI.R | 4 ---- man/AMV.Rd | 7 ------- man/GMST.Rd | 7 ------- man/GSAT.Rd | 7 ------- man/Persistence.Rd | 3 --- man/RandomWalkTest.Rd | 5 ----- man/SPOD.Rd | 7 ------- man/TPI.Rd | 7 ------- 16 files changed, 13 insertions(+), 73 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index f61512a..6aff1bc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,12 +1,14 @@ Package: s2dv Title: A Set of Common Tools for Seasonal to Decadal Verification -Version: 0.0.1 +Version: 0.1.0 Authors@R: c( person("BSC-CNS", role = c("aut", "cph")), person("An-Chi", "Ho", , "an.ho@bsc.es", role = c("aut", "cre")), person("Nuria", "Perez-Zanon", , "nuria.perez@bsc.es", role = "aut"), + person("Roberto", "Bilbao", , "roberto.bilbao@bsc.es", role = "ctb"), + person("Carlos", "Delgado", , "carlos.delgado@bsc.es", role = "ctb"), person("Andrea", "Manrique", , "andrea.manrique@bsc.es", role = "ctb"), - person("Carlos", "Delgado", , "carlos.delgado@bsc.es", role = "ctb")) + person("Deborah", "Verfaillie", , "deborah.verfaillie@bsc.es", role = "ctb")) Description: The advanced version of package 's2dverification'. It is intended for 'seasonal to decadal' (s2d) climate forecast verification, but it can also be used in other kinds of forecasts or general climate analysis. diff --git a/NEWS.md b/NEWS.md index 9979a52..463a6ca 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,13 +1,18 @@ -# s2dv 0.0.2 (Release date: 2020-) -- New functions: Ano(), Composite(), PlotAno(), and Smoothing(). +# s2dv 0.1.0 (Release date: 2020-11-12) +- New functions: Ano(), Composite(), PlotAno(), Smoothing(), AMV(), GSAT(), SPOD(), TPI(), GMST(), Persistence(). - Change the default value of PlotClim() parameter 'fileout' to NULL. - Change Regression() parameter 'time_dim' to 'reg_dim', and enable the inputs to be vectors. - Change Trend() parameter 'time_dim' default value from 'sdate' to 'ftime'. - Change the default of Season() parameter 'time_dim' from 'sdate' to 'ftime'. - Bugfix for Regression() na.action. 'na.action = na.fail' was not functional before. - Add p-value by ANOVA in Trend(). -- Change MeanDims() na.rm default to FALSE to be in line with mean() -- Remove unecessary parameter checks in Clim() +- Bugfix for Trend() slope, detrended, and p-value. +- Change MeanDims() na.rm default to FALSE to be in line with mean(). +- Remove unecessary parameter checks in Clim(). +- Change parameter 'memb_dim' to 'dat_dim', and the default value from 'member' to 'dat' in Corr(), RMS(), and RMSSS(). +- Allow RMS() and RMSSS() to have vector data input. +- Bugfix for Load() when start date and first lead time is not consistent. +- Improve Season() performance by using apply() when 'ncores' is not bigger than 1 # s2dv 0.0.1 (Release date: 2020-02-07) - The package is the advanced version of package 's2dverification', adopting the regime of package 'multiApply' for all the analytic functions. Most of the other functions for plotting and data retrieval in 's2dverification' are also preserved in this package. diff --git a/R/AMV.R b/R/AMV.R index 6657f6f..9854449 100644 --- a/R/AMV.R +++ b/R/AMV.R @@ -80,10 +80,6 @@ #' lon <- seq(0, 360, 10) #' index_dcpp <- AMV(data = dcpp, data_lats = lat, data_lons = lon, type = 'dcpp', monini = 1) #' -#'@author Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} -#'@author Roberto Bilbao, \email{roberto.bilbao@bsc.es} -#'@author Núria Pérez-Zanón, \email{nuria.perez@bsc.es} -#' #'@importFrom ClimProjDiags WeightedMean #'@import multiApply #'@export diff --git a/R/GMST.R b/R/GMST.R index 8f6f6e4..c922eae 100644 --- a/R/GMST.R +++ b/R/GMST.R @@ -105,10 +105,6 @@ #' data_lons = lon, type = 'dcpp', monini = 1, mask_sea_land = mask_sea_land, #' sea_value = sea_value) #' -#'@author Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} -#'@author Roberto Bilbao, \email{roberto.bilbao@bsc.es} -#'@author Núria Pérez-Zanón, \email{nuria.perez@bsc.es} -#' #'@importFrom ClimProjDiags WeightedMean #'@import multiApply #'@export diff --git a/R/GSAT.R b/R/GSAT.R index b9d0f6f..d764843 100644 --- a/R/GSAT.R +++ b/R/GSAT.R @@ -75,10 +75,6 @@ #' lon <- seq(0, 360, 10) #' index_dcpp <- GSAT(data = dcpp, data_lats = lat, data_lons = lon, type = 'dcpp', monini = 1) #' -#'@author Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} -#'@author Núria Pérez-Zanón, \email{nuria.perez@bsc.es} -#'@author Roberto Bilbao, \email{roberto.bilbao@bsc.es} -#' #'@importFrom ClimProjDiags WeightedMean #'@import multiApply #'@export diff --git a/R/Persistence.R b/R/Persistence.R index 88e15d2..e8865c2 100644 --- a/R/Persistence.R +++ b/R/Persistence.R @@ -76,7 +76,6 @@ #'persist <- Persistence(obs1, dates = dates, start = 1961, end = 2005, ft_start = 1, #' nmemb = 40) #' -#'@author Deborah Verfaillie, \email{deborah.verfaillie@bsc.es} #'@import multiApply #'@export Persistence <- function(data, dates, time_dim = 'time', start, end, ft_start, diff --git a/R/RandomWalkTest.R b/R/RandomWalkTest.R index 0771331..e818f57 100644 --- a/R/RandomWalkTest.R +++ b/R/RandomWalkTest.R @@ -36,9 +36,6 @@ #' skill_B <- abs(fcst_B - reference) #' RandomWalkTest(skill_A = skill_A, skill_B = skill_B, time_dim = 'sdate', ncores = 1) #' -#'@author Andrea Manrique \email{andrea.manrique@bsc.es} -#'@author Carlos Delgado-Torres \email{carlos.delgado@bsc.es} -#' #'@import multiApply #'@export RandomWalkTest <- function(skill_A, skill_B, time_dim = 'sdate', ncores = NULL){ diff --git a/R/SPOD.R b/R/SPOD.R index d939df7..30527f1 100644 --- a/R/SPOD.R +++ b/R/SPOD.R @@ -78,10 +78,6 @@ #' lon <- seq(0, 360, 10) #' index_dcpp <- SPOD(data = dcpp, data_lats = lat, data_lons = lon, type = 'dcpp', monini = 1) #' -#'@author Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} -#'@author Núria Pérez-Zanón, \email{nuria.perez@bsc.es} -#'@author Roberto Bilbao, \email{roberto.bilbao@bsc.es} -#' #'@importFrom ClimProjDiags WeightedMean CombineIndices #'@import multiApply #'@export diff --git a/R/TPI.R b/R/TPI.R index 6733bdd..d5be6da 100644 --- a/R/TPI.R +++ b/R/TPI.R @@ -77,10 +77,6 @@ #' lon = seq(0, 360, 10) #' index_dcpp = TPI(data = dcpp, data_lats = lat, data_lons = lon, type = 'dcpp', monini = 1) #' -#'@author Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} -#'@author Núria Pérez-Zanón, \email{nuria.perez@bsc.es} -#'@author Roberto Bilbao, \email{roberto.bilbao@bsc.es} -#' #'@importFrom ClimProjDiags WeightedMean CombineIndices #'@import multiApply #'@export diff --git a/man/AMV.Rd b/man/AMV.Rd index 7cb7503..5aa6d30 100644 --- a/man/AMV.Rd +++ b/man/AMV.Rd @@ -106,11 +106,4 @@ lon <- seq(0, 360, 10) index_dcpp <- AMV(data = dcpp, data_lats = lat, data_lons = lon, type = 'dcpp', monini = 1) } -\author{ -Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} - -Roberto Bilbao, \email{roberto.bilbao@bsc.es} - -Núria Pérez-Zanón, \email{nuria.perez@bsc.es} -} diff --git a/man/GMST.Rd b/man/GMST.Rd index be2d479..208ff75 100644 --- a/man/GMST.Rd +++ b/man/GMST.Rd @@ -134,11 +134,4 @@ index_dcpp <- GMST(data_tas = dcpp_tas, data_tos = dcpp_tos, data_lats = lat, sea_value = sea_value) } -\author{ -Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} - -Roberto Bilbao, \email{roberto.bilbao@bsc.es} - -Núria Pérez-Zanón, \email{nuria.perez@bsc.es} -} diff --git a/man/GSAT.Rd b/man/GSAT.Rd index bb43cfb..9d3fbb6 100644 --- a/man/GSAT.Rd +++ b/man/GSAT.Rd @@ -101,11 +101,4 @@ lon <- seq(0, 360, 10) index_dcpp <- GSAT(data = dcpp, data_lats = lat, data_lons = lon, type = 'dcpp', monini = 1) } -\author{ -Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} - -Núria Pérez-Zanón, \email{nuria.perez@bsc.es} - -Roberto Bilbao, \email{roberto.bilbao@bsc.es} -} diff --git a/man/Persistence.Rd b/man/Persistence.Rd index 4cbacf1..9514788 100644 --- a/man/Persistence.Rd +++ b/man/Persistence.Rd @@ -97,7 +97,4 @@ persist <- Persistence(obs1, dates = dates, start = 1961, end = 2005, ft_start = nmemb = 40) } -\author{ -Deborah Verfaillie, \email{deborah.verfaillie@bsc.es} -} diff --git a/man/RandomWalkTest.Rd b/man/RandomWalkTest.Rd index 2946517..33b226f 100644 --- a/man/RandomWalkTest.Rd +++ b/man/RandomWalkTest.Rd @@ -49,9 +49,4 @@ skill_B <- abs(fcst_B - reference) RandomWalkTest(skill_A = skill_A, skill_B = skill_B, time_dim = 'sdate', ncores = 1) } -\author{ -Andrea Manrique \email{andrea.manrique@bsc.es} - -Carlos Delgado-Torres \email{carlos.delgado@bsc.es} -} diff --git a/man/SPOD.Rd b/man/SPOD.Rd index 09621c7..cbbbf1a 100644 --- a/man/SPOD.Rd +++ b/man/SPOD.Rd @@ -104,11 +104,4 @@ lon <- seq(0, 360, 10) index_dcpp <- SPOD(data = dcpp, data_lats = lat, data_lons = lon, type = 'dcpp', monini = 1) } -\author{ -Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} - -Núria Pérez-Zanón, \email{nuria.perez@bsc.es} - -Roberto Bilbao, \email{roberto.bilbao@bsc.es} -} diff --git a/man/TPI.Rd b/man/TPI.Rd index d7938ff..e0d62b1 100644 --- a/man/TPI.Rd +++ b/man/TPI.Rd @@ -103,11 +103,4 @@ lon = seq(0, 360, 10) index_dcpp = TPI(data = dcpp, data_lats = lat, data_lons = lon, type = 'dcpp', monini = 1) } -\author{ -Carlos Delgado-Torres, \email{carlos.delgado@bsc.es} - -Núria Pérez-Zanón, \email{nuria.perez@bsc.es} - -Roberto Bilbao, \email{roberto.bilbao@bsc.es} -} -- GitLab