https://github.com/frbcesab/downscaler
:package: Downscale a Spatial Raster
https://github.com/frbcesab/downscaler
downscale exactextract r raster sf spatial stars
Last synced: about 1 year ago
JSON representation
:package: Downscale a Spatial Raster
- Host: GitHub
- URL: https://github.com/frbcesab/downscaler
- Owner: FRBCesab
- License: other
- Created: 2020-01-23T09:34:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-23T11:11:59.000Z (over 6 years ago)
- Last Synced: 2025-01-29T18:14:36.336Z (over 1 year ago)
- Topics: downscale, exactextract, r, raster, sf, spatial, stars
- Language: R
- Homepage: https://frbcesab.github.io/downscaler/index.html
- Size: 146 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# downscaler
[](https://travis-ci.org/FRBCesab/downscaler)
[](https://ci.appveyor.com/project/FRBCesab/downscaler)
[](https://www.repostatus.org/#active)
[](https://opensource.org/licenses/MIT)
This package is an alternative to [`raster::resample()`](https://www.rdocumentation.org/packages/raster/versions/3.0-7/topics/resample) and downscales a raster to coarser resolution in a more efficient way (for large rasters).
## Installation
To install the package `downscaler` from GitHub, first install the package [`devtools`](http://cran.r-project.org/web/packages/devtools/index.html) from the CRAN.
```{r echo = TRUE, eval = FALSE}
### Install the < devtools > package
install.packages("devtools", dependencies = TRUE)
```
Then install the `downscaler` package:
```{r echo = TRUE, eval = FALSE}
### Install the < downscaler > package from GitHub
devtools::install_github("frbcesab/downscaler")
### Load the < downscaler > package
library(downscaler)
```
## Example
Type `?downscaler::downscale` for an example.