User Guide#

This guide explains the fundamental concepts of healpix-geo and how to use them effectively.

Guide organisation#

To start#

If you begin with healpix-geo and HEALPix, read in the order :

  1. Fundamental Concepts - Understand HEALPix and healpix-geo

  2. Ellipsoids and Geodesy - Reference system

  3. Coordinate Systems - Coordinates system

Advanced functionalities#

When the basis are acquired :

  1. Hierarchical Indexing - Hierarchical structure and navigation

  2. Coverage Queries - Cover request

  3. Performance and Optimization - Optimisation of calculation

Chapters overview#

Fundamental concepts

Understanding what HEALPix is, why to use it, and the basic principles of equal-area spherical tiling.

Fundamental Concepts
Ellipsoids

Earth models, reference ellipsoids, and their impact on your calculations.

Ellipsoids and Geodesy
Coordinate systems

Conversions between longitude/latitude and HEALPix indices. Nested schemes, ring, and zuniq.

Coordinate Systems
Hierarchical indexing

Navigating the hierarchy: parents, children, neighbors, and multiple resolution levels.

Hierarchical Indexing
Coverage queries

Find all cells that intersect a region: circles, polygons, bounding boxes.

Coverage Queries
Performance

Optimize your calculations: vectorization, multi-threading, and best practices for processing large volumes.

Performance and Optimization

Conventions#

Notation#

In this guide, we are using the following conventions :

  • lon, lat : Longitude and latitude

  • ipix : Healpix cell index

  • depth : Resolution level

  • ellipsoid : Ellipsoidal model

Quick Glossary#

Term

Definition

HEALPix

Hierarchical Equal Area isoLatitude Pixelization

Depth

Resolution level (0 = coarser, 29 = finer)

Nested

Hierarchical indexing scheme

Ring

Latitude ring indexing scheme

Zuniq

Indexing scheme for MOC

MOC

Multi-Order Coverage - compact representation of regions

Ellipsoid

Mathematical model of the shape of the Earth

WGS84

World Geodetic System 1984

See also

For a complete glossary, see Terminology.

Guide of module choice#

Module

When to use it

Principal functionalities

nested

General applications, Hierarchical requests, Multi-resolution

Coordinates conversions, Coverage, Hierarchy, Distances

ring

Compatibility legacy, Specific order requested

Coordinates conversions, Distances, Limited neighbours

zuniq

Work with MOC, Interoperability

Conversions nested ↔ zuniq, Cell Coordinates