Skip to content

Commit 808bf8a

Browse files
committed
Ensure lsm lat/lon indices are integers
1 parent 12d79a8 commit 808bf8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PyStemmusScope/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ def convert_to_lsm_coordinates(lat, lon):
2121
if lon < 0:
2222
lon += 720
2323

24-
return np.round(lat), np.round(lon)
24+
return np.round(lat).astype(int), np.round(lon).astype(int)

0 commit comments

Comments
 (0)