CDAT / cdat

Community Data Analysis Tools
Other
174 stars 68 forks source link

Graphics error with MESA #1844

Open mcenerney1 opened 8 years ago

mcenerney1 commented 8 years ago

While plotting a large amount of data with MESA, I get the following.

Traceback (most recent call last): File "/opt/nfs/mcenerney1//uvcmetrics/src/python/frontend/diags.py", line 590, in run_diagnostics_from_options(o) File "/opt/nfs/mcenerney1//uvcmetrics/src/python/frontend/diags.py", line 96, in run_diagnostics_from_options run_diagnostics_from_filetables( opts, modelfts, obsfts ) File "/opt/nfs/mcenerney1//uvcmetrics/src/python/frontend/diags.py", line 513, in run_diagnostics_from_filetables units=getattr(var,'units',''), source=rsr.source ) File "/opt/nfs/mcenerney1/02_17_16/lib/python2.7/site-packages/metrics/frontend/amwg_plotting.py", line 19, in amwg_plot_spec_vcs_plot canvas.plot( var, gm, tm, _args, _kwargs ) File "/opt/nfs/mcenerney1/02_17_16/lib/python2.7/site-packages/vcs/Canvas.py", line 2424, in plot a = self.plot(arglist, keyargs) File "/opt/nfs/mcenerney1/02_17_16/lib/python2.7/site-packages/vcs/Canvas.py", line 3747, in plot returned_kargs = self.backend.plot(_arglist, _keyargs) File "/opt/nfs/mcenerney1/02_17_16/lib/python2.7/site-packages/vcs/VTKPlots.py", line 539, in plot vtk_backend_grid, vtk_backend_geo)) File "/opt/nfs/mcenerney1/02_17_16/lib/python2.7/site-packages/vcs/vcsvtk/pipeline2d.py", line 296, in plot self._plotInternal() File "/opt/nfs/mcenerney1/02_17_16/lib/python2.7/site-packages/vcs/vcsvtk/isofillpipeline.py", line 49, in _plotInternal prepedContours = self._prepContours() File "/opt/nfs/mcenerney1/02_17_16/lib/python2.7/site-packages/vcs/vcsvtk/pipeline2d.py", line 248, in _prepContours tmpLevels.append(L) UnboundLocalError: local variable 'L' referenced before assignment

mcenerney1 commented 8 years ago

with or without MESA

danlipsa commented 8 years ago

@mcenerney1 Can we have the script and the data file you used to get this error? Thanks!

danlipsa commented 8 years ago

@doutriaux1 @mcenerney1 Is this still a bug?

doutriaux1 commented 8 years ago

@danlipsa I don't know.

danlipsa commented 8 years ago

@mcenerney1 Is there a script and dataset that we can use to reproduce this bug?