Package: topocast 0.0.5

topocast: Moving-Window Regression Downscaling of Raster Data

Downscales coarse-resolution raster data to a finer grid by fitting local linear regressions of a response, such as a climate variable, on one or more fine-resolution predictors, such as elevation and other terrain indices, within a moving window. Regression coefficients are estimated for every cell using summed-area tables, so the cost is independent of the window size, then resampled to the target resolution and applied to the fine-resolution predictors. Multiplicative and additive anomaly application downscale time series relative to a baseline climatology, following the regression-on-elevation approach used for high-resolution climate surfaces described in Karger et al. (2017) <doi:10.1038/sdata.2017.122>.

Authors:Gilles Colling [aut, cre, cph]

topocast_0.0.5.tar.gz
topocast_0.0.5.zip(r-4.7-x86_64)topocast_0.0.5.zip(r-4.7-arm64)topocast_0.0.5.zip(r-4.6-x86_64)topocast_0.0.5.zip(r-4.5-x86_64)
topocast_0.0.5.tgz(r-4.6-x86_64)topocast_0.0.5.tgz(r-4.6-arm64)topocast_0.0.5.tgz(r-4.5-x86_64)topocast_0.0.5.tgz(r-4.5-arm64)
topocast_0.0.5.tar.gz(r-4.7-arm64)topocast_0.0.5.tar.gz(r-4.7-x86_64)topocast_0.0.5.tar.gz(r-4.6-arm64)topocast_0.0.5.tar.gz(r-4.6-x86_64)
topocast_0.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
topocast/json (API)

# Install 'topocast' in R:
install.packages('topocast', repos = c('https://gcol33.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gcol33/topocast/issues

Pkgdown/docs site:https://gillescolling.com

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

climatedownscalinggeospatialrasterterraopenblascppopenmp

3.70 score 2 exports 3 dependencies

Last updated from:5a3c4b9006. Checks:14 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK152
linux-devel-x86_64OK222
source / vignettesOK272
linux-release-arm64OK159
linux-release-x86_64OK193
macos-release-arm64OK120
macos-release-x86_64OK407
macos-oldrel-arm64OK109
macos-oldrel-x86_64OK342
windows-devel-arm64OK252
windows-devel-x86_64OK144
windows-release-x86_64OK132
windows-oldrel-x86_64OK123
wasm-releaseOK180

Exports:topocastwindow_regression

Dependencies:RcppRcppArmadilloterra

Getting started with topocast
A landscape to downscale | One predictor | Several predictors | Several responses at once | The one-DEM shortcut | Mapping the local relationship | Where the fit is strong | A time series | Points and other spatial classes | The matrix engine | Practical guidance

Last update: 2026-07-24
Started: 2026-06-10

How moving-window downscaling works
A regression in every neighborhood | Constant cost with summed-area tables | Numerical and masking choices | Reporting fit quality | Carrying a time series | What the output preserves | Reference

Last update: 2026-07-24
Started: 2026-06-10