Skip to content

Commit

Permalink
Remove warning for convert_units on lazy data (#3951)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcomer authored Jan 20, 2021
1 parent 5c8edc1 commit 805a4fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/iris/cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,9 +981,7 @@ def convert_units(self, unit):
celsius and subtract 273.15 from each value in
:attr:`~iris.cube.Cube.data`.
.. warning::
Calling this method will trigger any deferred loading, causing
the cube's data array to be loaded into memory.
This operation preserves lazy data.
"""
# If the cube has units convert the data.
Expand Down

0 comments on commit 805a4fe

Please sign in to comment.