extract_3DPolarData: Extract 3D Polar data.

Description Usage Arguments Value

View source: R/extract3DPolardata.R

Description

Interpolate and extract 3D polar data over a set of points.

Usage

1
2
3
4
5
6
7
8
9
extract_3DPolarData(
  grid_coords,
  grid_data,
  grid_interp,
  points,
  padxy,
  fun_sp,
  maxdist = 1000
)

Arguments

grid_coords

A named list containing the coordinates of the grid data, with names "x", "y", "z"

grid_data

A named list containing the gridded data, the 3d array data are flatten to a vector. The names of list are the names of the data.

grid_interp

A named list containing the coordinates at which the polar data will be interpolated, with names "x", "y", "z", "lon" and "lat"

points

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

padxy

A vector of the padding to use in number of pixels, in order "x", "y"

fun_sp

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

maxdist

The maximum radius of influence in meters for the interpolation.

Value

A named list
List of matrix of the extracted data over the set of points.
The row represents the set of points and the column for the heights.


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