getXYcoordinatesForecast: Get geographical coordinates

View source: R/getXYcoordinatesForecast.R

getXYcoordinatesForecastR Documentation

Get geographical coordinates

Description

Retrieves the geographical coordinates of the data subset, taking care of its adequate ordering for data retrieval and mapping

Usage

getXYcoordinatesForecast(grid, pointXYindex, llRanges)

Arguments

grid

A java ‘GeoGrid’

pointXYindex

An integer vector of length 2 with specifying the point selection (if any).

llRanges

A list of length 2 or 1 (depending whether the subset crosses or not the dateline), with the java ‘LatLonRect’ objects defining the spatial ranges.

Value

A list of the following components:

  • xx coordinates in ascending order

  • yy coordinates in ascending order

  • revLatA logical indicating if the ordering of latitudes should be reversed or not

Author(s)

J Bedia


SantanderMetGroup/loadeR.ECOMS documentation built on July 4, 2023, 4:29 a.m.