dgPROJTRI_to_Q2DI {dggridR}R Documentation

Convert from PROJTRI to Q2DI

Description

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

Usage

dgPROJTRI_to_Q2DI(dggs, in_tnum, in_tx, in_ty)

Arguments

dggs

A dggs object from dgconstruct()

in_tnum

Vector of triangle numbers

in_tx

Vector of triangle x values

in_ty

Vector of triangle y values

Value

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

Examples

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

dgPROJTRI_to_Q2DI(dggs, in_tnum, in_tx, in_ty)

## End(Not run)


[Package dggridR version 3.0.0 Index]