From 805a4febf8cc0f189031f6fe687896d2952603b5 Mon Sep 17 00:00:00 2001 From: Ruth Comer Date: Wed, 20 Jan 2021 18:31:14 +0000 Subject: [PATCH] Remove warning for convert_units on lazy data (#3951) --- lib/iris/cube.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/iris/cube.py b/lib/iris/cube.py index 40f5fbcef3..c3f77c9288 100644 --- a/lib/iris/cube.py +++ b/lib/iris/cube.py @@ -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.