Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ashjbarnes committed Aug 25, 2023
1 parent 973f681 commit 313eb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def rectangular_hgrid(λ, φ):

# dx = R * cos(φ) * np.deg2rad(dλ) / 2. Note, we divide dy by 2 because we're on the supergrid
dx = np.broadcast_to(
R * np.cos(np.deg2rad(y)) * np.deg2rad(np.diff(λ)) / 2,
R * np.cos(np.deg2rad(φ)) * np.deg2rad(np.diff(λ)) / 2,
(λ.shape[0] - 1, φ.shape[0]),
).T

Expand Down

0 comments on commit 313eb77

Please sign in to comment.