Skip to content

Commit

Permalink
try to fix reduced_ll grid for res 3601
Browse files Browse the repository at this point in the history
  • Loading branch information
mathleur committed Jan 28, 2025
1 parent 0860f11 commit e4075b1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ def first_axis_vals(self):
end_lat = -90
if self._resolution == 3601:
start_lat = 89.9731
end_lat = -89.9731
# resolution = 180 / (self._resolution - 1)
# vals = [round(90 - i * resolution, 12) for i in range(self._resolution)]
resolution = 180 / (self._resolution - 1)
# resolution = 180 / (self._resolution - 1)
resolution = (start_lat - end_lat) / (self._resolution - 1)
vals = [round(start_lat - i * resolution, 12) for i in range(self._resolution)]
return vals

Expand Down

0 comments on commit e4075b1

Please sign in to comment.