getLatLonDomainValueStations: Define geolocation of station datasets

View source: R/loadValueStations.R

getLatLonDomainValueStationsR Documentation

Define geolocation of station datasets

Description

Given the geolocation arguments, finds the index positions and coordinates of the requested data, either single point loactions (finds closest –euclidean– point) or data within the given bounding box.

Usage

getLatLonDomainValueStations(lonLim, latLim, lons, lats)

Arguments

lonLim

Numeric. Definition of geolocation in X

latLim

Numeric. Definition of geolocation in Y

lons

Numeric. All available X coordinates in dataset

lats

Numeric. All available Y coordinates in dataset

Value

A list with index positions of the requested data and a 2D matrix of XY coordinates

Author(s)

J. Bedia


SantanderMetGroup/R_VALUE documentation built on July 4, 2023, 4:27 a.m.