Skip to content

Commit

Permalink
Merge pull request #293 from ecmwf/feature/precompute_02560_grid
Browse files Browse the repository at this point in the history
add logging if not using pre computed grid
  • Loading branch information
mathleur authored Dec 12, 2024
2 parents adfd856 + e5384df commit 7ffc2b4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import math

from .....utility.list_tools import bisect_left_cmp, bisect_right_cmp
Expand Down Expand Up @@ -7783,6 +7784,7 @@ def first_axis_vals(self):
if self._resolution == 1280:
return self.get_precomputed_values_N1280()
else:
logging.info("Calculating grid. Not using a pre-computed grid.")
precision = 1.0e-14
nval = self._resolution * 2
rad2deg = 180 / math.pi
Expand Down

0 comments on commit 7ffc2b4

Please sign in to comment.