Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cf/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4407,7 +4407,9 @@ def arctan2(cls, x1, x2):
x2: array_like
X coordinates. *x1* and *x2* must be broadcastable to
a common shape (which becomes the shape of the
output).
output). If both *x1* and *x2* have units, they must
be equal or equivalent, in which case they
will be conformed.

:Returns:

Expand All @@ -4434,6 +4436,9 @@ def arctan2(cls, x1, x2):
[90.0 -90.0]

"""

x1 = conform_units(x1, x2.Units)

try:
y = x1.to_dask_array()
except AttributeError:
Expand Down