Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Sep 5, 2023
2 parents d414ea1 + a8c9ad4 commit 30254bd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,6 @@ def quadilateral_areas(lat, lon):
y = np.cos(np.deg2rad(lat)) * np.sin(np.deg2rad(lon))
z = np.sin(np.deg2rad(lat))

c0 = (x[:-1, :-1], y[:-1, :-1], z[:-1, :-1])
c1 = (x[:-1, 1:], y[:-1, 1:], z[:-1, 1:])
c2 = (x[1:, 1:], y[1:, 1:], z[1:, 1:])
c3 = (x[1:, :-1], y[1:, :-1], z[1:, :-1])

nx, ny = np.shape(lat)

areas = np.zeros((nx - 1, ny - 1))
Expand Down

0 comments on commit 30254bd

Please sign in to comment.