Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rilwan-Adewoyin committed Aug 13, 2024
1 parent fb1b5c4 commit 10b5ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/graphs/nodes/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_raw_values(self, nodes: NodeStorage, *args, **kwargs) -> np.ndarray:
Weights.
"""
latitudes, longitudes = nodes.x[:, 0], nodes.x[:, 1]
points = latlon_rad_to_cartesian((np.asarray(latitudes), np.asarray(longitudes) ))
points = latlon_rad_to_cartesian((np.asarray(latitudes), np.asarray(longitudes)))
sv = SphericalVoronoi(points, self.radius, self.centre)
area_weights = sv.calculate_areas()
LOGGER.debug(
Expand Down

0 comments on commit 10b5ef9

Please sign in to comment.