Skip to content

Convention for HEALPix grid parameters #433

@uweschulzweida

Description

@uweschulzweida

We will soon be producing a lot of data on a HEALPix (Hierarchical Equal Area isoLatitude Pixelation) grid. The grid coordinates can be calculated easily from 2 parameters. The NSIDE parameter controls the resolution of the pixellization and the ORDER parameter sets the index ordering convention of the pixels (ring or nested).
I think it would be good to have a convention for storing these parameters in NetCDF. My idea is to define these parameters via the grid_mapping attribute, for example:

dimensions:
	cells = 49152 ;
variables:
	int healpix ;
		healpix:grid_mapping_name = "healpix" ;
		healpix:healpix_nside = 64 ;
		healpix:healpix_order = "nested" ;
	float var(cells) ;
		var:grid_mapping = "healpix" ;

This defines a HEALPix grid with nside=64 and a nested index ordering.
Can this be taken over into the CF Convention or do you have a better suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CF1.13?We might conclude this issue in time for CF1.13enhancementProposals to add new capabilities, improve existing ones in the conventions, improve style or format

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions