dgGEO_to_Q2DI: Convert from GEO to Q2DI

View source: R/cwrapper.R

dgGEO_to_Q2DIR Documentation

Convert from GEO to Q2DI

Description

Uses a discrete global grid system to convert between GEO and Q2DI (see vignette for details)

Usage

dgGEO_to_Q2DI(dggs, in_lon_deg, in_lat_deg)

Arguments

dggs

A dggs object from dgconstruct()

in_lon_deg

Vector of longitude, in degrees

in_lat_deg

Vector of latitude, in degrees

Value

Returns a dggs object which can be passed to other dggridR functions

Examples

## Not run: 
library(dggridR)
dggs <- dgconstruct(res=20)

dgGEO_to_Q2DI(dggs, in_lon_deg, in_lat_deg)

## End(Not run)


dggridR documentation built on Sept. 11, 2024, 6:58 p.m.