extractRadarGrid: Extract radar Cartesian data.

Description Usage Arguments Value

View source: R/extractRadarGrid.R

Description

Extract radar Cartesian data over a set of points.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
extractRadarGrid(
  url,
  source,
  start_time,
  end_time,
  fields,
  points,
  levels = -1,
  padxyz = c(0, 0, 0),
  fun_sp = "mean",
  time_zone = "Africa/Kigali"
)

Arguments

url

The URL of the server. Ex: "http://192.168.1.10:8080"

source

A partial path of the directory containing the folders dates of the mdv files. Ex: "radarCart/ops", "ctrec" or "radarCart/echo_tops"

start_time, end_time

The start and end time same time zone as time_zone, format "YYYY-mm-dd HH:MM"

fields

Vector of the fields to extract.

points

A data frame of the points to extract. Data frame with column names "id", "longitude" and "latitude"

levels

A vector of the index of altitudes to be extracted in integer, or -1 to extract all available altitude

padxyz

A vector of the padding to use in number of pixels, in order "lon", "lat", "alt"

fun_sp

Character, function to be used for the padding. Options: "mean", "median", "max", "min"

time_zone

the time zone of start_time, end_time and the output QPE. Options: "Africa/Kigali" or "UTC". Default "Africa/Kigali"

Value

A named list


rijaf-iri/mtorwdata documentation built on March 9, 2021, 6:36 a.m.