Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove warning for convert_units on lazy data #3951

Merged
merged 2 commits into from
Jan 20, 2021
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
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