Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f43331b
Merge branch 'main' into develop
fdetsch Jun 21, 2026
34a7e2a
bump dev version 1.2.3.9000
fdetsch Jun 21, 2026
be6b81f
chore:
fdetsch Jun 21, 2026
7f43962
refactor: convert built-in `Raster*` data to `PackedSpatRaster` objec…
fdetsch Jul 13, 2026
90605c0
docs: adjust for built-in data and add usage and examples (#12)
fdetsch Jul 13, 2026
306f8be
test: init; test built-in data
fdetsch Jul 13, 2026
9993e0e
refactor: migrate `deseason()` (#12)
fdetsch Jul 13, 2026
60d7829
bump dev version 1.2.3.9001
fdetsch Jul 13, 2026
dcb4677
* build: integrate `devtools::document()` with pkg check
fdetsch Jul 14, 2026
570c431
* docu: update
fdetsch Jul 14, 2026
82d6613
refactor: migrate `anomalize()`
fdetsch Jul 14, 2026
ad5065f
bump dev version 1.2.3.9002
fdetsch Jul 14, 2026
69682b9
perf: benchmark `calcVar()`
fdetsch Jul 14, 2026
efa73f7
refactor: migrate `calcVar()` (#12)
fdetsch Jul 14, 2026
f11d823
bump dev version 1.2.3.9003
fdetsch Jul 14, 2026
ea961fd
refactor: migrate `cutStack()` (#12)
fdetsch Jul 15, 2026
ee979fe
refactor: migrate `deg2rad()` (#12)
fdetsch Jul 15, 2026
581158a
bump dev version 1.2.3.9004
fdetsch Jul 15, 2026
52f429b
refactor: migrate `denoise()` and underlying weights functions (#12)
fdetsch Jul 16, 2026
040af9b
collective commit: * perf: benchmark `denoise()` {terra} vs. {Rcpp}; …
fdetsch Jul 16, 2026
4779cac
bump dev version 1.2.3.9005
fdetsch Jul 16, 2026
fd1bfce
docs: minor edits
fdetsch Jul 17, 2026
687426e
refactor: migrate `geoWeight()` (#12)
fdetsch Jul 17, 2026
05ef89e
refactor: migrate `lagalize()` (#12)
fdetsch Jul 17, 2026
6e9a950
bump dev version 1.2.3.9006
fdetsch Jul 17, 2026
e61e4ba
refactor: migrate `eot()` and related subfunctions (#12)
fdetsch Jul 20, 2026
12b4b67
refactor: migrate `longtermMeans()` (#12)
fdetsch Jul 20, 2026
de0a532
refactor: migrate `print()` (via `show()`) (#12)
fdetsch Jul 20, 2026
63b7947
refactor: migrate `nmodes()` (#12)
fdetsch Jul 20, 2026
bb8bf22
refactor: migrate `nXplain()` (#12)
fdetsch Jul 20, 2026
293a08b
chore: legacy commit
fdetsch Jul 20, 2026
ddd1a1c
bump dev version 1.2.3.9007
fdetsch Jul 20, 2026
670963c
refactor: migrate `writeEot()` (#12)
fdetsch Jul 21, 2026
c5e60ef
refactor: migrate `readEot()` (#12)
fdetsch Jul 21, 2026
64c908f
docs: add `TODO` for '...'
fdetsch Jul 21, 2026
54f58db
bump dev version 1.2.3.9008
fdetsch Jul 21, 2026
9ae25cc
refactor: migrate `predict()` (#12)
fdetsch Jul 22, 2026
bebf703
refactor: migrate `plot()` (#12)
fdetsch Jul 22, 2026
d782247
refactor: migrate `subset()` (#12)
fdetsch Jul 22, 2026
8324c1a
bump dev version 1.2.3.9009
fdetsch Jul 22, 2026
26d1ff6
feat: fail gracefully if 'reference' is not a (single-layer) raster o…
fdetsch Jul 23, 2026
4930c99
feat: fails gracefully if neither 'expl.var' nor 'k' are supplied
fdetsch Jul 23, 2026
a52c768
docu: migrate to {terra} (#12)
fdetsch Jul 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
^\README.Rmd$
^dev_history\.R$
^\.github$
^data-raw$
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ src/*.so
src/*.dll
README.html
README.Rmd
data-raw/*.RData
25 changes: 15 additions & 10 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: remote
Title: Empirical Orthogonal Teleconnections in R
Version: 1.2.3
Authors@R:
Version: 1.2.3.9009
Authors@R:
c(person(given = "Tim",
family = "Appelhans",
role = c("cre", "aut"),
Expand All @@ -25,24 +25,29 @@ Description: Empirical orthogonal teleconnections in R.
space and time, EOT analysis produces patterns that are orthogonal in
either space or time.
License: GPL (>= 3) | file LICENSE
Depends:
Depends:
Rcpp (>= 0.10.3),
raster,
methods
Imports:
methods,
R (>= 3.5)
Imports:
grDevices,
gridExtra,
latticeExtra,
mapdata,
scales,
stats,
terra,
utils
Suggests:
maps,
lattice,
Suggests:
checkmate,
grid,
sp
lattice,
maps,
sp,
tinytest
LinkingTo: Rcpp
RoxygenNote: 7.3.2
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
Config/roxygen2/version: 8.0.0
LazyData: true
7 changes: 4 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ export(denoise)
export(deseason)
export(geoWeight)
export(getWeights)
export(lagalize)
export(longtermMeans)
export(nmodes)
export(readEot)
export(subset)
exportClasses(EotMode)
exportClasses(EotStack)
exportMethods("names<-")
exportMethods(eot)
exportMethods(lagalize)
exportMethods(longtermMeans)
exportMethods(nXplain)
exportMethods(names)
exportMethods(nmodes)
exportMethods(plot)
exportMethods(predict)
exportMethods(writeEot)
Expand All @@ -32,6 +32,7 @@ import(methods)
import(parallel)
import(raster)
import(scales)
import(terra)
importFrom(grDevices,colorRampPalette)
importFrom(grDevices,hcl)
importFrom(stats,cov.wt)
Expand Down
15 changes: 15 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# remote 1.2.3.9009 (2026-07-22)

#### ✨ features and improvements

* `anomalize()` fails gracefully if 'reference' is not a raster object, and
uses the 1st layer (with a warning) if a multi-layer object is supplied.
* `denoise()` fails gracefully if neither 'expl.var' nor 'k' are supplied.

#### 🐛 bug fixes

#### 💬 documentation etc

#### 🍬 miscellaneous


# remote 1.2.3 (2025-04-12)

#### 💬 documentation etc
Expand Down
64 changes: 34 additions & 30 deletions R/AAAremoteClasses.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,54 +6,58 @@
#' @slot coords_bp the coordinates of the identified base point
#' @slot cell_bp the cell number of the indeified base point
#' @slot cum_exp_var the cumulative explained variance of the considered EOT mode
#' @slot r_predictor the RasterLayer of the correlation coefficients between the base point and each pixel of the predictor domain
#' @slot r_predictor `SpatRaster` of the correlation coefficients between the base point and each pixel of the predictor domain
#' @slot rsq_predictor as above but for the coefficient of determination of the predictor domain
#' @slot rsq_sums_predictor as above but for the sums of coefficient of determination of the predictor domain
#' @slot int_predictor the RasterLayer of the intercept of the regression equation for each pixel of the predictor domain
#' @slot slp_predictor same as above but for the slope of the regression equation for each pixel of the predictor domain
#' @slot p_predictor the RasterLayer of the significance (p-value) of the the regression equation for each pixel of the predictor domain
#' @slot resid_predictor the RasterBrick of the reduced data for the predictor domain
#' @slot r_response the RasterLayer of the correlation coefficients between the base point and each pixel of the response domain
#' @slot int_predictor `SpatRaster` of the intercept of the regression equation for each pixel of the predictor domain
#' @slot slp_predictor as above but for the slope of the regression equation for each pixel of the predictor domain
#' @slot p_predictor `SpatRaster` of the significance (p-value) of the regression equation for each pixel of the predictor domain
#' @slot resid_predictor `SpatRaster` of the reduced data for the predictor domain
#' @slot r_response `SpatRaster` of the correlation coefficients between the base point and each pixel of the response domain
#' @slot rsq_response as above but for the coefficient of determination of the response domain
#' @slot int_response the RasterLayer of the intercept of the regression equation for each pixel of the response domain
#' @slot int_response `SpatRaster` of the intercept of the regression equation for each pixel of the response domain
#' @slot slp_response as above but for the slope of the regression equation for each pixel of the response domain
#' @slot p_response same the RasterLayer of the significance (p-value) of the the regression equation for each pixel of the response domain
#' @slot resid_response the RasterBrick of the reduced data for the response domain
#' @slot p_response `SpatRaster` of the significance (p-value) of the regression equation for each pixel of the response domain
#' @slot resid_response `SpatRaster` of the reduced data for the response domain
#'
#' @exportClass EotMode
#' @rdname EotMode-class

setClass('EotMode',
slots = c(mode = 'integer',
name = 'character',
eot = 'numeric',
coords_bp = 'matrix',
cell_bp = 'integer',
cum_exp_var = 'numeric',
r_predictor = 'RasterLayer',
rsq_predictor = 'RasterLayer',
rsq_sums_predictor = 'RasterLayer',
int_predictor = 'RasterLayer',
slp_predictor = 'RasterLayer',
p_predictor = 'RasterLayer',
resid_predictor = 'RasterBrick',
r_response = 'RasterLayer',
rsq_response = 'RasterLayer',
int_response = 'RasterLayer',
slp_response = 'RasterLayer',
p_response = 'RasterLayer',
resid_response = 'RasterBrick'))
methods::setClass(
'EotMode'
, slots = c(mode = 'integer'
, name = 'character'
, eot = 'numeric'
, coords_bp = 'matrix'
, cell_bp = 'integer'
, cum_exp_var = 'numeric'
, r_predictor = 'SpatRaster'
, rsq_predictor = 'SpatRaster'
, rsq_sums_predictor = 'SpatRaster'
, int_predictor = 'SpatRaster'
, slp_predictor = 'SpatRaster'
, p_predictor = 'SpatRaster'
, resid_predictor = 'SpatRaster'
, r_response = 'SpatRaster'
, rsq_response = 'SpatRaster'
, int_response = 'SpatRaster'
, slp_response = 'SpatRaster'
, p_response = 'SpatRaster'
, resid_response = 'SpatRaster'
)
)

NULL

#' Class EotStack
#'
#' @slot modes a list containing the individual 'EotMode's of the 'EotStack'
#' @slot names the names of the modes
#'
#' @exportClass EotStack
#' @rdname EotStack-class

setClass('EotStack',
methods::setClass('EotStack',
slots = c(modes = 'list',
names = 'character'))

Expand Down
Loading
Loading