From 656c4dfbf8980a0bf4e9d2096511480b080d3882 Mon Sep 17 00:00:00 2001 From: jbedia Date: Tue, 17 Jul 2018 14:05:36 +0200 Subject: [PATCH] Update internal function name --- DESCRIPTION | 4 ++-- NAMESPACE | 1 + R/climagram.R | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5a0d04a..7ba3164 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -27,9 +27,9 @@ Suggests: loadeR, knitr Type: Package -Title: Visualizing and Communicating Uncertainty in Seasonal Climate Prediction +Title: Visualizing climate4R data and Communicating Uncertainty in Seasonal Climate Prediction Version: 1.2.1 -Date: 2018-07-12 +Date: 2018-07-17 Authors@R: as.person(c( "Santander Meteorology Group [cph]", "Maria Dolores Frías [aut, cre]", diff --git a/NAMESPACE b/NAMESPACE index 7f6cdba..484f4c8 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -99,6 +99,7 @@ importFrom(transformeR,array3Dto2Dmat) importFrom(transformeR,bindGrid) importFrom(transformeR,checkDim) importFrom(transformeR,checkSeason) +importFrom(transformeR,checkTemporalConsistency) importFrom(transformeR,climatology) importFrom(transformeR,detrendGrid) importFrom(transformeR,draw.world.lines) diff --git a/R/climagram.R b/R/climagram.R index e3ce24a..6239267 100644 --- a/R/climagram.R +++ b/R/climagram.R @@ -98,7 +98,7 @@ #' @author J. Bedia #' #' @family visualization functions -#' @importFrom transformeR subsetGrid checkDim checkSeason aggregateGrid detrendGrid getYearsAsINDEX getTimeResolution scaleGrid getSeason getGridUnits +#' @importFrom transformeR subsetGrid checkDim checkSeason aggregateGrid detrendGrid getYearsAsINDEX getTimeResolution scaleGrid getSeason getGridUnits checkTemporalConsistency #' @importFrom stats filter median #' @importFrom graphics plot axis grid boxplot box legend #' @importFrom magrittr %>% extract2 %<>% @@ -173,7 +173,7 @@ climagram <- function(hindcast, checkSeason(hindcast, forecast) } if (!is.null(obs)) { - temporalCheck(hindcast, obs) + checkTemporalConsistency(hindcast, obs) transformeR::checkDim(hindcast, obs, dimensions = c("time", "lat", "lon")) } else { if (add.eqc.info) add.eqc.info <- FALSE