We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a809f8 commit 8207e05Copy full SHA for 8207e05
lib/iris/coords.py
@@ -2431,9 +2431,9 @@ def nearest_neighbour_index(self, point):
2431
2432
>>> cube = iris.load_cube(iris.sample_data_path('ostia_monthly.nc'))
2433
>>> cube.coord('latitude').nearest_neighbour_index(0)
2434
- np.int64(9)
+ 9
2435
>>> cube.coord('longitude').nearest_neighbour_index(10)
2436
- np.int64(12)
+ 12
2437
2438
.. note:: If the coordinate contains bounds, these will be used to
2439
determine the nearest neighbour instead of the point values.
0 commit comments