New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. #854

Closed
cameronsmith1 opened this Issue Oct 29, 2014 · 5 comments

Comments

Projects
None yet
3 participants
@cameronsmith1

cameronsmith1 commented Oct 29, 2014

I wanted to plot a variable with 3 spatial dimensions by animating over the 3D dimension. Hence, I tried to do a 3D_Scalar plot using xyt. UVCDAT didn't like the fact that there wasn't a time dimension. Perhaps not surprising, but it just dumped a bunch of output to the console without giving a helpful message within the GUI.

I am using UVCDAT 2.0.0 on Rhea.

The console errors were:

Error Reading Variable No axis matching order spec t
Error: can't find time slice data cube for variable DMS in dataset
Can't get Metadata!
[InputSpecs]: Error, Metadata for input 0 not found in ispec[7f94e18d0710]
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, **args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/core/modules/vistrails_module.py", line 327, in update
self.compute()
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1275, in compute
self.cellWidget = self.displayAndWait(QCDATWidget, input_ports)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/basic_widgets.py", line 247, in displayAndWait
return spreadsheetWindow.displayCellEvent(e)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_window.py", line 491, in displayCellEvent
sheet.setCellByType(row, col, e.cellType, e.inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 320, in setCellByType
newCell.updateContents(inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1448, in updateContents
self.canvas.plot(cgm,*args,**kwargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 2578, in plot
a = self.__plot( arglist, keyargs )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 3644, in __plot
self.backend.plot(_arglist,__keyargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 363, in plot
self.plot3D(data1,data2,tpl,gm,ren,__kargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 532, in plot3D
g.gminit( data1, data2, roi=roi, axes=gm.axes, n_overview_points=n_overview_points, n_cores=gm.NumCores, renwin=ren.GetRenderWindow(), plot_attributes=gm.getPlotAttributes(), gmname=gm.g_name, cm=gm.cfgManager, *_kargs ) #, plot_type = PlotType.List )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/Application.py", line 64, in gminit
self.plot.gminit( var1, var2, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 641, in gminit
self.execute( )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 239, in execute
self.buildPipeline()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 886, in buildPipeline
primaryInput = self.input()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'

@doutriaux1 doutriaux1 added the DV3D label Oct 29, 2014

@doutriaux1 doutriaux1 added this to the 2.1 milestone Oct 29, 2014

@ThomasMaxwell

This comment has been minimized.

Contributor

ThomasMaxwell commented Oct 30, 2014

Cameron,
3D_Scalar:xyt is a 3D Hovmuller plot (the name is changed in my current development branch, which I hope will be merged soon into master). It plots the time axis as the vertical dimension. If you wish to plot data with three spatial dimension and no time axis you should use the 3D_Scalar:default plot. I believe this error message may be fixed in my current branch. Do you have a way to make your test data available (for this and your previous error report) so we can test?

-- Tom

From: cameronsmith1 <notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, October 29, 2014 6:15 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Subject: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

I wanted to plot a variable with 3 spatial dimensions by animating over the 3D dimension. Hence, I tried to do a 3D_Scalar plot using xyt. UVCDAT didn't like the fact that there wasn't a time dimension. Perhaps not surprising, but it just dumped a bunch of output to the console without giving a helpful message within the GUI.

I am using UVCDAT 2.0.0 on Rhea.

The console errors were:

Error Reading Variable No axis matching order spec t
Error: can't find time slice data cube for variable DMS in dataset
Can't get Metadata!
[InputSpecs]: Error, Metadata for input 0 not found in ispec[7f94e18d0710]

Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, **args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/core/modules/vistrails_module.py", line 327, in update
self.compute()
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1275, in compute
self.cellWidget = self.displayAndWait(QCDATWidget, input_ports)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/basic_widgets.py", line 247, in displayAndWait
return spreadsheetWindow.displayCellEvent(e)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_window.py", line 491, in displayCellEvent
sheet.setCellByType(row, col, e.cellType, e.inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 320, in setCellByType
newCell.updateContents(inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1448, in updateContents
self.canvas.plot(cgm,*args,**kwargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 2578, in plot
a = self.__plot( arglist, keyargs )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 3644, in __plot
self.backend.plot(_arglist,__keyargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 363, in plot
self.plot3D(data1,data2,tpl,gm,ren,__kargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 532, in plot3D
g.gminit( data1, data2, roi=roi, axes=gm.axes, n_overview_points=n_overview_points, n_cores=gm.NumCores, renwin=ren.GetRenderWindow(), plot_attributes=gm.getPlotAttributes(), gmname=gm.g_name, cm=gm.cfgManager, *_kargs ) #, plot_type = PlotType.List )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/Application.py", line 64, in gminit
self.plot.gminit( var1, var2, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 641, in gminit
self.execute( )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 239, in execute
self.buildPipeline()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 886, in buildPipeline
primaryInput = self.input()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'


Reply to this email directly or view it on GitHubhttps://github.com//issues/854.

@cameronsmith1

This comment has been minimized.

cameronsmith1 commented Oct 30, 2014

Hi Tom,

Clarification of the option and an improved error message is all that is needed for this ticket.

For the other ticket, I tried to find a place to upload a screenshot to the github ticket, but couldn't find a way to do it.

You are welcome to a data file. What is the best way to get it to you? The raw netCDF file is ~100 Mbytes (I can probably cut it down to a few Mb if needed). The file is currently at the DOE OLCF facility.

Best wishes,

  Philip

From: Thomas Maxwell [mailto:notifications@github.com]
Sent: Thursday, October 30, 2014 8:15 AM
To: UV-CDAT/uvcdat
Cc: Cameron-smith, Philip
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Cameron,
3D_Scalar:xyt is a 3D Hovmuller plot (the name is changed in my current development branch, which I hope will be merged soon into master). It plots the time axis as the vertical dimension. If you wish to plot data with three spatial dimension and no time axis you should use the 3D_Scalar:default plot. I believe this error message may be fixed in my current branch. Do you have a way to make your test data available (for this and your previous error report) so we can test?

-- Tom

From: cameronsmith1 <notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, October 29, 2014 6:15 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Subject: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

I wanted to plot a variable with 3 spatial dimensions by animating over the 3D dimension. Hence, I tried to do a 3D_Scalar plot using xyt. UVCDAT didn't like the fact that there wasn't a time dimension. Perhaps not surprising, but it just dumped a bunch of output to the console without giving a helpful message within the GUI.

I am using UVCDAT 2.0.0 on Rhea.

The console errors were:

Error Reading Variable No axis matching order spec t
Error: can't find time slice data cube for variable DMS in dataset
Can't get Metadata!
[InputSpecs]: Error, Metadata for input 0 not found in ispec[7f94e18d0710]

Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, **args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/core/modules/vistrails_module.py", line 327, in update
self.compute()
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1275, in compute
self.cellWidget = self.displayAndWait(QCDATWidget, input_ports)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/basic_widgets.py", line 247, in displayAndWait
return spreadsheetWindow.displayCellEvent(e)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_window.py", line 491, in displayCellEvent
sheet.setCellByType(row, col, e.cellType, e.inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 320, in setCellByType
newCell.updateContents(inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1448, in updateContents
self.canvas.plot(cgm,*args,**kwargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 2578, in plot
a = self.__plot( arglist, keyargs )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 3644, in __plot
self.backend.plot(_arglist,__keyargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 363, in plot
self.plot3D(data1,data2,tpl,gm,ren,__kargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 532, in plot3D
g.gminit( data1, data2, roi=roi, axes=gm.axes, n_overview_points=n_overview_points, n_cores=gm.NumCores, renwin=ren.GetRenderWindow(), plot_attributes=gm.getPlotAttributes(), gmname=gm.g_name, cm=gm.cfgManager, *_kargs ) #, plot_type = PlotType.List )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/Application.py", line 64, in gminit
self.plot.gminit( var1, var2, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 641, in gminit
self.execute( )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 239, in execute
self.buildPipeline()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 886, in buildPipeline
primaryInput = self.input()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'


Reply to this email directly or view it on GitHubhttps://github.com//issues/854.


Reply to this email directly or view it on GitHubhttps://github.com//issues/854#issuecomment-61109187.

@ThomasMaxwell

This comment has been minimized.

Contributor

ThomasMaxwell commented Oct 30, 2014

Philip,
Do you have a DropBox or Google Drive that you can use to share one of these files? I believe the issue with the xyt plot is fixed, but the level axis labeling works correctly with all the NASA and ACME datasets that I have tested with. It would be very helpful if you could provide us with the data file that produces the error.

Thanks,
Tom

From: cameronsmith1 <notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Date: Thursday, October 30, 2014 1:59 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Cc: "Maxwell, Thomas P. (GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]" <thomas.maxwell@nasa.govmailto:thomas.maxwell@nasa.gov>
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Hi Tom,

Clarification of the option and an improved error message is all that is needed for this ticket.

For the other ticket, I tried to find a place to upload a screenshot to the github ticket, but couldn't find a way to do it.

You are welcome to a data file. What is the best way to get it to you? The raw netCDF file is ~100 Mbytes (I can probably cut it down to a few Mb if needed). The file is currently at the DOE OLCF facility.

Best wishes,

Philip

From: Thomas Maxwell [mailto:notifications@github.com]
Sent: Thursday, October 30, 2014 8:15 AM
To: UV-CDAT/uvcdat
Cc: Cameron-smith, Philip
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Cameron,
3D_Scalar:xyt is a 3D Hovmuller plot (the name is changed in my current development branch, which I hope will be merged soon into master). It plots the time axis as the vertical dimension. If you wish to plot data with three spatial dimension and no time axis you should use the 3D_Scalar:default plot. I believe this error message may be fixed in my current branch. Do you have a way to make your test data available (for this and your previous error report) so we can test?

-- Tom

From: cameronsmith1 <notifications@github.commailto:notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, October 29, 2014 6:15 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Subject: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

I wanted to plot a variable with 3 spatial dimensions by animating over the 3D dimension. Hence, I tried to do a 3D_Scalar plot using xyt. UVCDAT didn't like the fact that there wasn't a time dimension. Perhaps not surprising, but it just dumped a bunch of output to the console without giving a helpful message within the GUI.

I am using UVCDAT 2.0.0 on Rhea.

The console errors were:

Error Reading Variable No axis matching order spec t
Error: can't find time slice data cube for variable DMS in dataset
Can't get Metadata!
[InputSpecs]: Error, Metadata for input 0 not found in ispec[7f94e18d0710]

Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, **args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/core/modules/vistrails_module.py", line 327, in update
self.compute()
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1275, in compute
self.cellWidget = self.displayAndWait(QCDATWidget, input_ports)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/basic_widgets.py", line 247, in displayAndWait
return spreadsheetWindow.displayCellEvent(e)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_window.py", line 491, in displayCellEvent
sheet.setCellByType(row, col, e.cellType, e.inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 320, in setCellByType
newCell.updateContents(inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1448, in updateContents
self.canvas.plot(cgm,*args,**kwargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 2578, in plot
a = self.__plot( arglist, keyargs )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 3644, in __plot
self.backend.plot(_arglist,__keyargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 363, in plot
self.plot3D(data1,data2,tpl,gm,ren,__kargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 532, in plot3D
g.gminit( data1, data2, roi=roi, axes=gm.axes, n_overview_points=n_overview_points, n_cores=gm.NumCores, renwin=ren.GetRenderWindow(), plot_attributes=gm.getPlotAttributes(), gmname=gm.g_name, cm=gm.cfgManager, *_kargs ) #, plot_type = PlotType.List )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/Application.py", line 64, in gminit
self.plot.gminit( var1, var2, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 641, in gminit
self.execute( )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 239, in execute
self.buildPipeline()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 886, in buildPipeline
primaryInput = self.input()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'


Reply to this email directly or view it on GitHubhttps://github.com//issues/854.


Reply to this email directly or view it on GitHubhttps://github.com//issues/854#issuecomment-61109187.


Reply to this email directly or view it on GitHubhttps://github.com//issues/854#issuecomment-61139280.

@ThomasMaxwell

This comment has been minimized.

Contributor

ThomasMaxwell commented Oct 30, 2014

Philip,
I've been able to reproduce the problem with a CAM4 dataset. Let me push a fix for this one and then you can let me know if it fixes the problem with your dataset. If so we won't be needing your data file.

Thanks,
Tom

From: , "Maxwell, Thomas P. (GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]" <thomas.maxwell@nasa.govmailto:thomas.maxwell@nasa.gov>
Date: Thursday, October 30, 2014 2:35 PM
To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Philip,
Do you have a DropBox or Google Drive that you can use to share one of these files? I believe the issue with the xyt plot is fixed, but the level axis labeling works correctly with all the NASA and ACME datasets that I have tested with. It would be very helpful if you could provide us with the data file that produces the error.

Thanks,
Tom

From: cameronsmith1 <notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Date: Thursday, October 30, 2014 1:59 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Cc: "Maxwell, Thomas P. (GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]" <thomas.maxwell@nasa.govmailto:thomas.maxwell@nasa.gov>
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Hi Tom,

Clarification of the option and an improved error message is all that is needed for this ticket.

For the other ticket, I tried to find a place to upload a screenshot to the github ticket, but couldn't find a way to do it.

You are welcome to a data file. What is the best way to get it to you? The raw netCDF file is ~100 Mbytes (I can probably cut it down to a few Mb if needed). The file is currently at the DOE OLCF facility.

Best wishes,

Philip

From: Thomas Maxwell [mailto:notifications@github.com]
Sent: Thursday, October 30, 2014 8:15 AM
To: UV-CDAT/uvcdat
Cc: Cameron-smith, Philip
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Cameron,
3D_Scalar:xyt is a 3D Hovmuller plot (the name is changed in my current development branch, which I hope will be merged soon into master). It plots the time axis as the vertical dimension. If you wish to plot data with three spatial dimension and no time axis you should use the 3D_Scalar:default plot. I believe this error message may be fixed in my current branch. Do you have a way to make your test data available (for this and your previous error report) so we can test?

-- Tom

From: cameronsmith1 <notifications@github.commailto:notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, October 29, 2014 6:15 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Subject: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

I wanted to plot a variable with 3 spatial dimensions by animating over the 3D dimension. Hence, I tried to do a 3D_Scalar plot using xyt. UVCDAT didn't like the fact that there wasn't a time dimension. Perhaps not surprising, but it just dumped a bunch of output to the console without giving a helpful message within the GUI.

I am using UVCDAT 2.0.0 on Rhea.

The console errors were:

Error Reading Variable No axis matching order spec t
Error: can't find time slice data cube for variable DMS in dataset
Can't get Metadata!
[InputSpecs]: Error, Metadata for input 0 not found in ispec[7f94e18d0710]

Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, **args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/core/modules/vistrails_module.py", line 327, in update
self.compute()
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1275, in compute
self.cellWidget = self.displayAndWait(QCDATWidget, input_ports)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/basic_widgets.py", line 247, in displayAndWait
return spreadsheetWindow.displayCellEvent(e)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_window.py", line 491, in displayCellEvent
sheet.setCellByType(row, col, e.cellType, e.inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 320, in setCellByType
newCell.updateContents(inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1448, in updateContents
self.canvas.plot(cgm,*args,**kwargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 2578, in plot
a = self.__plot( arglist, keyargs )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 3644, in __plot
self.backend.plot(_arglist,__keyargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 363, in plot
self.plot3D(data1,data2,tpl,gm,ren,__kargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 532, in plot3D
g.gminit( data1, data2, roi=roi, axes=gm.axes, n_overview_points=n_overview_points, n_cores=gm.NumCores, renwin=ren.GetRenderWindow(), plot_attributes=gm.getPlotAttributes(), gmname=gm.g_name, cm=gm.cfgManager, *_kargs ) #, plot_type = PlotType.List )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/Application.py", line 64, in gminit
self.plot.gminit( var1, var2, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 641, in gminit
self.execute( )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 239, in execute
self.buildPipeline()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 886, in buildPipeline
primaryInput = self.input()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'


Reply to this email directly or view it on GitHubhttps://github.com//issues/854.


Reply to this email directly or view it on GitHubhttps://github.com//issues/854#issuecomment-61109187.


Reply to this email directly or view it on GitHubhttps://github.com//issues/854#issuecomment-61139280.

@cameronsmith1

This comment has been minimized.

cameronsmith1 commented Oct 30, 2014

Sounds good. Thanks, Tom.

 Philip

From: Thomas Maxwell [mailto:notifications@github.com]
Sent: Thursday, October 30, 2014 12:47 PM
To: UV-CDAT/uvcdat
Cc: Cameron-smith, Philip
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Philip,
I've been able to reproduce the problem with a CAM4 dataset. Let me push a fix for this one and then you can let me know if it fixes the problem with your dataset. If so we won't be needing your data file.

Thanks,
Tom

From: , "Maxwell, Thomas P. (GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]" <thomas.maxwell@nasa.govmailto:thomas.maxwell@nasa.gov>
Date: Thursday, October 30, 2014 2:35 PM
To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Philip,
Do you have a DropBox or Google Drive that you can use to share one of these files? I believe the issue with the xyt plot is fixed, but the level axis labeling works correctly with all the NASA and ACME datasets that I have tested with. It would be very helpful if you could provide us with the data file that produces the error.

Thanks,
Tom

From: cameronsmith1 <notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Date: Thursday, October 30, 2014 1:59 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Cc: "Maxwell, Thomas P. (GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]" <thomas.maxwell@nasa.govmailto:thomas.maxwell@nasa.gov>
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Hi Tom,

Clarification of the option and an improved error message is all that is needed for this ticket.

For the other ticket, I tried to find a place to upload a screenshot to the github ticket, but couldn't find a way to do it.

You are welcome to a data file. What is the best way to get it to you? The raw netCDF file is ~100 Mbytes (I can probably cut it down to a few Mb if needed). The file is currently at the DOE OLCF facility.

Best wishes,

Philip

From: Thomas Maxwell [mailto:notifications@github.com]
Sent: Thursday, October 30, 2014 8:15 AM
To: UV-CDAT/uvcdat
Cc: Cameron-smith, Philip
Subject: Re: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

Cameron,
3D_Scalar:xyt is a 3D Hovmuller plot (the name is changed in my current development branch, which I hope will be merged soon into master). It plots the time axis as the vertical dimension. If you wish to plot data with three spatial dimension and no time axis you should use the 3D_Scalar:default plot. I believe this error message may be fixed in my current branch. Do you have a way to make your test data available (for this and your previous error report) so we can test?

-- Tom

From: cameronsmith1 <notifications@github.commailto:notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, October 29, 2014 6:15 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Subject: [uvcdat] 3D_Scalar plot (xyt) gives errors plotting 3D variable with no time dimensions. (#854)

I wanted to plot a variable with 3 spatial dimensions by animating over the 3D dimension. Hence, I tried to do a 3D_Scalar plot using xyt. UVCDAT didn't like the fact that there wasn't a time dimension. Perhaps not surprising, but it just dumped a bunch of output to the console without giving a helpful message within the GUI.

I am using UVCDAT 2.0.0 on Rhea.

The console errors were:

Error Reading Variable No axis matching order spec t
Error: can't find time slice data cube for variable DMS in dataset
Can't get Metadata!
[InputSpecs]: Error, Metadata for input 0 not found in ispec[7f94e18d0710]

Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, **args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/core/modules/vistrails_module.py", line 327, in update
self.compute()
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1275, in compute
self.cellWidget = self.displayAndWait(QCDATWidget, input_ports)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/basic_widgets.py", line 247, in displayAndWait
return spreadsheetWindow.displayCellEvent(e)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_window.py", line 491, in displayCellEvent
sheet.setCellByType(row, col, e.cellType, e.inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/spreadsheet/spreadsheet_tab.py", line 320, in setCellByType
newCell.updateContents(inputPorts)
File "/lustre/atlas2/csc121/world-shared/uvcdat/2.0.0/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 1448, in updateContents
self.canvas.plot(cgm,*args,**kwargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 2578, in plot
a = self.__plot( arglist, keyargs )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/Canvas.py", line 3644, in __plot
self.backend.plot(_arglist,__keyargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 363, in plot
self.plot3D(data1,data2,tpl,gm,ren,__kargs)
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/vcs/VTKPlots.py", line 532, in plot3D
g.gminit( data1, data2, roi=roi, axes=gm.axes, n_overview_points=n_overview_points, n_cores=gm.NumCores, renwin=ren.GetRenderWindow(), plot_attributes=gm.getPlotAttributes(), gmname=gm.g_name, cm=gm.cfgManager, *_kargs ) #, plot_type = PlotType.List )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/Application.py", line 64, in gminit
self.plot.gminit( var1, var2, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 641, in gminit
self.execute( )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 239, in execute
self.buildPipeline()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 886, in buildPipeline
primaryInput = self.input()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'
Traceback (most recent call last):
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 402, in activateEvent
self.cropRegion = self.getVolumeBounds()
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 409, in getVolumeBounds
extent = args.get( "extent", self.input().GetExtent() )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 199, in input
input = self.setInputZScale( zscale_data, input_index )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 1341, in setInputZScale
input = StructuredGridPlot.setInputZScale( self, zscale_data, input_index, *_args )
File "/lustre/atlas/world-shared/csc121/uvcdat/2.0.0/lib/python2.7/site-packages/DV3D/StructuredGridPlot.py", line 165, in setInputZScale
spacing = input.GetSpacing()
AttributeError: 'NoneType' object has no attribute 'GetSpacing'


Reply to this email directly or view it on GitHubhttps://github.com//issues/854.


Reply to this email directly or view it on GitHubhttps://github.com//issues/854#issuecomment-61109187.


Reply to this email directly or view it on GitHubhttps://github.com//issues/854#issuecomment-61139280.


Reply to this email directly or view it on GitHubhttps://github.com//issues/854#issuecomment-61157906.

@doutriaux1 doutriaux1 closed this Nov 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment