getRad
Download Radar Data for Biological Research
Load polar volume and vertical profile data for aeroecological research directly into R. With 'getRad' you can access data from several sources in Europe and the US and standardize it to facilitate further exploration in tools such as 'bioRad'.
README
<!-- README.md is generated from README.Rmd. Please edit that file -->
# getRad
<!-- badges: start -->
[](https://CRAN.R-project.org/package=getRad)
[](https://github.com/aloftdata/getRad/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/aloftdata/getRad/)
[](https://www.repostatus.org/#active)
[](https://github.com/aloftdata/getRad/actions/workflows/regular-checks.yaml)
<!-- badges: end -->
getRad is an R package that provides a unified interface to download
radar data for biological and aeroecological research. It gives access
to both polar volume radar data and [vertical profile
data](https://aloftdata.eu/vpts-csv/) from [different
sources](https://aloftdata.github.io/getRad/articles/supported_sources.html)
and loads it directly into R. getRad also facilitates further
exploration of the data by other tools such as
[bioRad](https://adriaandokter.com/bioRad/) by standardizing the data.
## Installation
Install the latest released version from CRAN:
``` r
install.packages("getRad")
```
Or the development version from
[GitHub](https://github.com/aloftdata/getRad):
``` r
# install.packages("devtools")
devtools::install_github("aloftdata/getRad")
```
## Usage
Download a polar volume, and then plot it using `bioRad`:
``` r
library(getRad)
library(bioRad)
# Plot daytime insect movements in Finland (Mäkinen et al. 2022)
pvol <- get_pvol("fianj", as.POSIXct("2012-05-17 14:00", tz = "UTC"))
plot(project_as_ppi(get_scan(pvol, 0), range_max = 75000))
```
<img src="man/figures/README-example-1.png" width="100%" />
``` r
plot(calculate_vp(pvol, h_layer = 50, n_layer = 40, warning = FALSE))
```
<img src="man/figures/README-example-2.png" width="100%" />
``` r
# Plot nocturnal migration in Finland
pvol <- get_pvol("fianj", as.POSIXct("2012-05-11 23:00", tz = "UTC"))
plot(project_as_ppi(get_scan(pvol, 0), range_max = 75000))
```
<img src="man/figures/README-example-3.png" width="100%" />
``` r
plot(calculate_vp(pvol, h_layer = 50, n_layer = 40, warning = FALSE))
```
<img src="man/figures/README-example-4.png" width="100%" />
Download a vertical profile time series from the [Aloft
bucket](https://aloftdata.eu/browse/):
``` r
# Plot VPTS data for two radars
vpts_list <- get_vpts(
radar = c("bejab", "deess"),
datetime = lubridate::interval(
lubridate::as_datetime("2021-10-03 16:00:00"),
lubridate::as_datetime("2021-10-05 10:00:00")
),
source = "baltrad"
)
par(mfrow = 2:1)
for (i in names(vpts_list)) {
plot(regularize_vpts(vpts_list[[i]]), main = i)
}
```
<img src="man/figures/README-vpts-1.png" width="100%" />
## Meta
- We welcome
[contributions](https://aloftdata.github.io/getRad/CONTRIBUTING.html)
including bug reports.
- License: MIT
- Get [citation
information](https://aloftdata.github.io/getRad/authors.html#citation)
for getRad in R doing `citation("getRad")`.
- Please note that this project is released with a [Contributor Code of
Conduct](https://aloftdata.github.io/getRad/CODE_OF_CONDUCT.html). By
participating in this project you agree to abide by its terms.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.2.4 |
rolling linux/jammy R-4.5 | getRad_0.2.4.tar.gz |
683.0 KiB |
0.2.4 |
rolling linux/noble R-4.5 | getRad_0.2.4.tar.gz |
683.0 KiB |
0.2.4 |
rolling source/ R- | getRad_0.2.4.tar.gz |
683.0 KiB |
0.2.4 |
latest linux/jammy R-4.5 | getRad_0.2.4.tar.gz |
683.0 KiB |
0.2.4 |
latest linux/noble R-4.5 | getRad_0.2.4.tar.gz |
683.0 KiB |
0.2.4 |
latest source/ R- | getRad_0.2.4.tar.gz |
683.0 KiB |
0.2.4 |
2026-04-26 source/ R- | getRad_0.2.4.tar.gz |
683.0 KiB |
0.2.4 |
2026-04-23 source/ R- | getRad_0.2.4.tar.gz |
683.0 KiB |