powered by
Uses a discrete global grid system to convert between GEO and Q2DD (see vignette for details)
dgGEO_to_Q2DD(dggs, in_lon_deg, in_lat_deg)
Returns a dggs object which can be passed to other dggridR functions
A dggs object from dgconstruct()
Vector of longitude, in degrees
Vector of latitude, in degrees
if (FALSE) { library(dggridR) dggs <- dgconstruct(res=20) dgGEO_to_Q2DD(dggs, in_lon_deg, in_lat_deg) }
Run the code above in your browser using DataLab