Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Sep 4, 2023
1 parent 999701c commit 9cf83cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ def rectangular_hgrid(λ, φ):
xarray.Dataset: A FMS-compatible *hgrid*, including the required attributes.
"""

R = 6371e3 # mean radius of the Earth
R = 6371e3 # mean radius of the Earth

= λ[1] - λ[0] # assuming that longitude is uniformly spaced
= λ[1] - λ[0] # assuming that longitude is uniformly spaced

# dx = R * cos(φ) * np.deg2rad(dλ) / 2. Note, we divide dy by 2 because we're on the supergrid
dx = np.broadcast_to(
Expand Down

0 comments on commit 9cf83cd

Please sign in to comment.