-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
In the variable model, the get_variable_label function fails on occasion with error:
File "/usr/local/uvcdat/2.4.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/CDAT_GUI-0.1-py2.7.egg/cdatgui/variables/variable_widget.py", line 54, in edit_variable
label = self.variable_widget.get_variable_label(variable)
File "/usr/local/uvcdat/2.4.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/CDAT_GUI-0.1-py2.7.egg/cdatgui/variables/cdms_var_list.py", line 37, in get_variable_label
return self.model().get_variable_label(var)
File "/usr/local/uvcdat/2.4.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/CDAT_GUI-0.1-py2.7.egg/cdatgui/variables/models.py", line 23, in get_variable_label
if value == var:
File "/usr/local/uvcdat/2.4.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/CDAT_GUI-0.1-py2.7.egg/cdatgui/cdat/metadata.py", line 241, in __eq__
v = self.var.__eq__(*args)
File "/usr/local/uvcdat/2.4.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cdms2/avariable.py", line 1472, in __eq__
return MV.equal(self,other)
File "/usr/local/uvcdat/2.4.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cdms2/MV2.py", line 228, in __call__
maresult = self.mafunc(ta,tb)
File "/usr/local/uvcdat/2.4.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/ma/core.py", line 935, in __call__
result = self.f(da, db, *args, **kwargs)
ValueError: operands could not be broadcast together with shapes (120,40,72) (120,46,72)
Metadata
Metadata
Assignees
Labels
No labels