-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
39 lines (27 loc) · 1.36 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
output: github_document
---
# GEDIcalibratoR
The goal of GEDIcalibratoR is to facilitate location calibration for GEDI. It makes downloading tiles of ALS, DEM, and DEM data easy and evaluates possible spatial shifts using user-defined calibration grids. The best suitable shift can then be applied to the original data and may improve statistical models and following analyses. GEDIcalibratoR also provides functions to visualize calibration effects.
## Installation
You can install the development version of GEDIcalibratoR from [GitHub](https://github.com/) with:
```{r, eval=FALSE}
devtools::install_github("joheisig/GEDIcalibratoR")
```
## Development Goals
The package is currently usable. GEDI data can be calibrated using digital surface and elevation models. More functionality shall be added in the future, e.g.:
- support of more complex calibration variables derived from ALS point clouds
- more criteria to select the best shift (besides RMSE)
- more and more flexible plotting options
## Example
```{r}
library(GEDIcalibratoR)
library(sf)
grid_ext = system.file("demodata/grid_ext.rds", package = "GEDIcalibratoR") |> readRDS()
shifts = shift_stats(grid_ext)
head(shifts)
plot_shift_stats(shifts)
bs = get_best_shift(grid_ext, shifts)
ns = get_no_shift(grid_ext, shifts)
plot_calibration(bs, ns, label = c("Best","Ref"), color = c("forestgreen", "firebrick"))
```