xdggs.DGGSInfo

xdggs.DGGSInfo#

class xdggs.DGGSInfo(level, ellipsoid='sphere')#

Base class for DGGS grid information objects

Parameters:
  • level (int) – Grid hierarchical level. A higher value corresponds to a finer grid resolution with smaller cell areas. The number of cells covering the whole sphere usually grows exponentially with increasing level values, ranging from 5-100 cells at level 0 to millions or billions of cells at level 10+ (the exact numbers depends on the specific grid).

  • ellipsoid (str or Sphere or Ellipsoid, default: "sphere") – The base ellipsoid of the DGGS. If a string, this is the standard name of the ellipsoid or sphere.

__init__(level, ellipsoid='sphere')#

Methods

__init__(level[, ellipsoid])

cell_boundaries(cell_ids[, backend])

cell_ids2geographic(cell_ids)

from_dict(mapping)

geographic2cell_ids(lon, lat)

to_dict()

zoom_to(cell_ids, level)

Attributes

ellipsoid

level