Skip to content

Commit

Permalink
fix grid
Browse files Browse the repository at this point in the history
  • Loading branch information
mathleur committed Feb 24, 2025
1 parent 8c4c52c commit b3068bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ def second_axis_vals(self, first_val):
def axes_idx_to_reduced_gaussian_idx(self, first_idx, second_idx):
Ny_array = self.lon_spacing()
idx = 0
for i in range(self._resolution):
for i in range(len(Ny_array)):
if i != first_idx:
idx += Ny_array[i]
else:
Expand Down

0 comments on commit b3068bc

Please sign in to comment.