Traceback (most recent call last):

 "/Users/colinww/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/codefolding.py", line 256, in paintEvent
self._draw_fold_region_background(block, painter)

 "/Users/colinww/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/codefolding.py", line 300, in _draw_fold_region_background
end = self.folding_regions[start]KeyError: 141
Traceback (most recent call last):


 "./test.py", line 15, in <module>

v = fp.get_variables_by_attributes(axis='T')


 "netCDF4/_netCDF4.pyx", line 2531, in netCDF4._netCDF4.Dataset.get_variables_by_attributes (netCDF4/_netCDF4.c:20697)
TypeError: 'NoneType' object is not iterable
