The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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>.

Version: 0.0.5
Depends: R (≥ 4.1.0)
Imports: Rcpp (≥ 1.0.0), terra (≥ 1.7.0)
LinkingTo: Rcpp, RcppArmadillo
Suggests: knitr, raster, rmarkdown, sf, stars, svglite, testthat (≥ 3.0.0)
Published: 2026-08-07
DOI: 10.32614/CRAN.package.topocast
Author: Gilles Colling ORCID iD [aut, cre, cph]
Maintainer: Gilles Colling <gilles.colling051 at gmail.com>
BugReports: https://github.com/gcol33/topocast/issues
License: MIT + file LICENSE
URL: https://gillescolling.com/topocast/, https://github.com/gcol33/topocast
NeedsCompilation: yes
SystemRequirements: C++17
Language: en-US
Citation: topocast citation info
Materials: README, NEWS
CRAN checks: topocast results

Documentation:

Reference manual: topocast.html , topocast.pdf
Vignettes: Getting started with topocast (source, R code)
How moving-window downscaling works (source, R code)

Downloads:

Package source: topocast_0.0.5.tar.gz
Windows binaries: r-devel: topocast_0.0.5.zip, r-release: topocast_0.0.5.zip, r-oldrel: topocast_0.0.5.zip
macOS binaries: r-release (arm64): topocast_0.0.5.tgz, r-oldrel (arm64): topocast_0.0.5.tgz, r-release (x86_64): topocast_0.0.5.tgz, r-oldrel (x86_64): topocast_0.0.5.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=topocast to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.