From 6a0f281a52bfe920368ea92db7afb4caec2a2b4e Mon Sep 17 00:00:00 2001 From: Marco Zuehlke Date: Wed, 12 Jul 2017 16:25:35 +0200 Subject: [PATCH] Fix text in error message, A leftover from #993 --- xarray/core/variable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/core/variable.py b/xarray/core/variable.py index ad4836b930f..121bce979ee 100644 --- a/xarray/core/variable.py +++ b/xarray/core/variable.py @@ -417,7 +417,7 @@ def __setitem__(self, key, value): raise TypeError("this variable's data is stored in a dask array, " 'which does not support item assignment. To ' 'assign to this variable, you must first load it ' - 'into memory explicitly using the .load_data() ' + 'into memory explicitly using the .load() ' 'method or accessing its .values attribute.') data = orthogonally_indexable(self._data) data[key] = value