Learn R Programming

dggridR (version 3.1.0)

dgQ2DD_to_Q2DI: Convert from Q2DD to Q2DI

Description

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

Usage

dgQ2DD_to_Q2DI(dggs, in_quad, in_qx, in_qy)

Value

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

Arguments

dggs

A dggs object from dgconstruct()

in_quad

Vector of quad numbers

in_qx

Vector of quadrant x values

in_qy

Vector of quadrant y values

Examples

Run this code
if (FALSE) {
library(dggridR)
dggs <- dgconstruct(res=20)

dgQ2DD_to_Q2DI(dggs, in_quad, in_qx, in_qy)
}

Run the code above in your browser using DataLab