Commit 6e5c0a9e authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Update tzis.py

parent fe3975fe
......@@ -43,7 +43,7 @@ class Tzis():
compat='override',
**xarray_kwargs)
if not self.varname :
self.varname = self.mf_dset.variables[0]
self.varname = mf_dset.variables[0]
if self.verbose :
print("We use variable {0} in case we need to rechunk.".format(varname))
return mf_dset
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment