Skip to content

Commit 3ebc59a

Browse files
philipc2Copilot
andauthored
Update uxarray/grid/grid.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fe00ce6 commit 3ebc59a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uxarray/grid/grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ def compute_face_areas(
19071907
# Ω_pix = 4π / (12 * Nside²) = π / (3 * Nside²)
19081908
# Górski et al. 2005, “HEALPix: A Framework for High‐Resolution Discretization and Fast Analysis of Data Distributed on the Sphere”
19091909
n_side = self._ds.attrs["n_side"]
1910-
face_area = np.pi / 3 * n_side**2
1910+
face_area = np.pi / (3 * n_side**2)
19111911
return np.ones(self.n_face) * face_area, None
19121912

19131913
self.normalize_cartesian_coordinates()

0 commit comments

Comments
 (0)