Skip to content

Commit 6482d51

Browse files
philipc2rajeejaaaronzedwick
authored
Add HEALPix Support (#1147)
* initial from_healpix * add healpix as a dependency * add healpix io module * continue healpix reader, start user guide * continue healpix reader, start user guide * update user guide * add tests * update notebook * work on userguide, data loading * docstrings * add docstrings * add tests for data * notebook revisions * notebook revisions * normalize before finding unique nodes --------- Co-authored-by: Rajeev Jain <[email protected]> Co-authored-by: Aaron Zedwick <[email protected]>
1 parent 15f1152 commit 6482d51

File tree

14 files changed

+708
-18
lines changed

14 files changed

+708
-18
lines changed

Diff for: ci/asv.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies:
1111
- holoviews
1212
- matplotlib-base
1313
- matplotlib-inline
14+
- healpix
1415
- netcdf4
1516
- numba
1617
- numpy

Diff for: ci/docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies:
1212
- pytest
1313
- pytest-cov
1414
- scipy
15+
- healpix
1516
- xarray
1617
- pip
1718
- ipykernel

Diff for: ci/environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies:
1111
- geoviews
1212
- h5netcdf
1313
- hdf5
14+
- healpix
1415
- holoviews
1516
- hvplot
1617
- matplotlib-base

Diff for: docs/api.rst

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ I/O & Conversion
4343
Grid.from_topology
4444
Grid.from_structured
4545
Grid.from_points
46+
Grid.from_healpix
4647
Grid.to_xarray
4748
Grid.to_geodataframe
4849
Grid.to_polycollection
@@ -225,6 +226,7 @@ I/O & Conversion
225226

226227
UxDataset.from_structured
227228
UxDataset.from_xarray
229+
UxDataset.from_healpix
228230

229231
Plotting
230232
--------

Diff for: docs/user-guide/grid-formats.rst

+16
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ models have their own grid format (e.g. MPAS, ICON). Below is a list of support
2020
* GEOS CS
2121
* ICON
2222
* FESOM2
23+
* HEALPix
2324

2425
UGRID
2526
=====
@@ -149,6 +150,21 @@ References
149150
----------
150151
* https://fesom2.readthedocs.io/en/latest/index.html#
151152

153+
HEALPix
154+
=======
155+
The Hierarchical Equal Area isoLatitude Pixelisation (HEALPix) algorithm is a method for the pixelisation of the
156+
2-sphere. It has three defining qualities.
157+
- The sphere is hierarchically tessellated into curvilinear quadrilaterals
158+
- Areas of all pixels at a given resolution are identical
159+
- Pixels are distributed on lines of constant latitude
160+
161+
References
162+
----------
163+
* https://easy.gems.dkrz.de/Processing/healpix/index.html#hierarchical-healpix-output
164+
* https://healpix.sourceforge.io/
165+
* https://healpix.jpl.nasa.gov/
166+
* https://iopscience.iop.org/article/10.1086/427976
167+
152168
Parsed Variables
153169
================
154170

0 commit comments

Comments
 (0)