Skip to content

Commit

Permalink
fix comparison values
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Apr 10, 2024
1 parent eea613e commit c34780f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oceans/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def get_depth(lon, lat, tfile=None):
>>> station_lon = [-40, -32]
>>> station_lat = [-20, -20]
>>> get_depth(station_lon, station_lat)
array([ -32.98816423, -4275.63374601])
array([ -32.988163, -4275.634 ], dtype=float32)
"""
lon, lat = list(map(np.atleast_1d, (lon, lat)))
Expand Down

0 comments on commit c34780f

Please sign in to comment.