You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the healpy library to iterate over each pixel to obtain its boundaries using hp.boundaries and used the outputs to generate the face_node_connectivity
This was a very initial exploration, but the results appear to be on the right track.
What I'm the most curious about is whether a UGRID to HEALPix conversion is something that is desired by the community, and/or if it is even practical.
Scope: More comprehensive package with a wider range of features, including spherical harmonic transforms, map visualization, and advanced analysis tools.
Functionality: Offers a broader set of functionalities, including integration with other astronomy libraries.
Licensing: GNU General Public License (GPL) version 2.
For use with uxarray, healpix is generally recommended due to its BSD-3-Clause license, which is more permissive than the GPL license of healpy.
Scope: More comprehensive package with a wider range of features, including spherical harmonic transforms, map visualization, and advanced analysis tools. Functionality: Offers a broader set of functionalities, including integration with other astronomy libraries. Licensing: GNU General Public License (GPL) version 2. For use with uxarray, healpix is generally recommended due to its BSD-3-Clause license, which is more permissive than the GPL license of healpy.
Activity
philipc2 commentedon Dec 2, 2024
Following a similar track to what I've done with other grid formats, I've initially attempted to represent a HEALPix grid in the UGRID conventions.
The current expectation from UXarray (and the UGRID conventions) is that at least the following are required to represent a 2D unstructured grid:
node_lon: Longitude of the corner nodes that make up each face/cellnode_lat: Latitude of the corner nodes that make up each face/cellface_node_connectivity: Indices of the corner nodes that make up each face/cellIf we posses these three variables, a
Gridcan be constructed even if we do not support a format directly:I used the
healpylibrary to iterate over each pixel to obtain its boundaries usinghp.boundariesand used the outputs to generate theface_node_connectivityThis was a very initial exploration, but the results appear to be on the right track.
What I'm the most curious about is whether a UGRID to HEALPix conversion is something that is desired by the community, and/or if it is even practical.
philipc2 commentedon Jan 28, 2025
ntessore/healpix#66
rajeeja commentedon Jan 29, 2025
I was thinking of using healpy:
Scope: More comprehensive package with a wider range of features, including spherical harmonic transforms, map visualization, and advanced analysis tools.
Functionality: Offers a broader set of functionalities, including integration with other astronomy libraries.
Licensing: GNU General Public License (GPL) version 2.
For use with uxarray, healpix is generally recommended due to its BSD-3-Clause license, which is more permissive than the GPL license of healpy.
rajeeja commentedon Jan 29, 2025
UxDataset.from_healpix#1161