getLatLonDomainStations: Define geolocation of station datasets

View source: R/getLatLonDomainStations.R

getLatLonDomainStationsR 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

getLatLonDomainStations(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/loadeR documentation built on July 4, 2023, 4:29 a.m.