uxarray.Grid.from_healpix

uxarray.Grid.from_healpix#

classmethod Grid.from_healpix(zoom, pixels_only=True, nest=True)#

Constructs a Grid object representing a given HEALPix zoom level.

Parameters:
  • zoom (int) – Zoom level of HEALPix, with 12*zoom^4 representing the number of pixels (n_face)

  • pixels_only (bool) – Whether to only compute pixels (face_lon, face_lat) or to also construct boundaries (face_node_connectivity, node_lon, node_lat)

Returns:

An instance of uxarray.Grid

Return type:

Grid