download_pvolfiles: Download polar volume ('pvol') files from the NEXRAD archive

View source: R/download_pvolfiles.R

download_pvolfilesR Documentation

Download polar volume (pvol) files from the NEXRAD archive

Description

Download a selection of polar volume (pvol) files from the NEXRAD Level II archive data.

Usage

download_pvolfiles(
  date_min,
  date_max,
  radar,
  directory = ".",
  overwrite = FALSE,
  bucket = "noaa-nexrad-level2"
)

Arguments

date_min

POSIXct. Start date of file selection. If no timezone are provided, it will be assumed to be UTC.

date_max

POSIXct. End date of file selection.If no timezone are provided, it will be assumed to be UTC.

radar

character (vector). 4-letter radar code(s) (e.g. "KAMA")

directory

character. Path to local directory where files should be downloaded

overwrite

logical. TRUE for re-downloading and overwriting previously downloaded files of the same names.

bucket

character. Bucket name to use.

Examples

## Not run: 
dir.create("~/bioRad_tmp_files")
download_pvolfiles(
  date_min = as.POSIXct("2016-10-02 20:00", tz = "UTC"),
  date_max = as.POSIXct("2016-10-02 20:05", tz = "UTC"),
  radar = "KBBX",
  directory = "~/bioRad_tmp_files",
  overwrite = TRUE
)

## End(Not run)

bioRad documentation built on Dec. 28, 2022, 3 a.m.