ReadRainLocation: Function for finding (interpolated) rainfall value for a...

View source: R/ReadRainLocation.R

ReadRainLocationR Documentation

Function for finding (interpolated) rainfall value for a given latitude and longitude.

Description

Function for finding (interpolated) rainfall value for a given latitude and longitude. I.e. find the grid cell which belongs to the location for which latitude and longitude are provided.

Usage

ReadRainLocation(
  dataf,
  FileGrid,
  InputCoorSystem,
  Lat,
  LocalCartesianCoorSystem,
  Lon
)

Arguments

dataf

Data frame of (interpolated) rainfall values.

FileGrid

File with interpolation grid in same coordinate system as InputCoorSystem.

InputCoorSystem

Define EPSG code for input coordinate system (e.g., 4326L for WGS84 in degrees).

Lat

Latitude of location for which (interpolated) rainfall value is to be extracted (in coordinate system InputCoorSystem).

Lot

Longitude of location for which (interpolated) rainfall value is to be extracted (in coordinate system InputCoorSystem).

Value

Rainfall value for selected location (in unit of provided input rainfall data).

Author(s)

Aart Overeem & Hidde Leijnse

References

”ManualRAINLINK.pdf”

Overeem, A., Leijnse, H., and Uijlenhoet, R., 2016: Retrieval algorithm for rainfall mapping from microwave links in a cellular communication network, Atmospheric Measurement Techniques, 9, 2425-2444, https://doi.org/10.5194/amt-9-2425-2016.

Examples

ReadRainLocation(dataf=dataf,FileGrid=FileGrid,InputCoorSystem=4326L,
Lat=Lat,LocalCartesianCoorSystem=28992,Lon=Lon)

overeem11/RAINLINK documentation built on July 8, 2023, 5:53 a.m.