Learn R Programming

dggridR (version 3.1.0)

dgQ2DD_to_PROJTRI: Convert from Q2DD to PROJTRI

Description

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

Usage

dgQ2DD_to_PROJTRI(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_PROJTRI(dggs, in_quad, in_qx, in_qy)
}

Run the code above in your browser using DataLab