vcs
vcs copied to clipboard
DV3D/VCS plot error
The demo at http://uvcdat.llnl.gov/examples/vcs3D_cubed_sphere_volume.html returns the following error:
In [27]: x.plot( v, dv3d, grid_file="vcs3D_cubed_sphere_volume_grid.nc" )
---------------------------------------------------------------------------
vcsError Traceback (most recent call last)
<ipython-input-27-6a265f659a04> in <module>()
----> 1 x.plot( v, dv3d, grid_file="vcs3D_cubed_sphere_volume_grid.nc" )
/export/durack1/160302_pcmdi_metrics/PCMDI_METRICS/lib/python2.7/site-packages/vcs/Canvas.pyc in plot(self, *actual_args, **keyargs)
2404 self.__last_plot_keyargs = keyargs
2405 passed_var = keyargs.get("variable", None)
-> 2406 arglist = _determine_arg_list(None, actual_args)
2407 if passed_var is not None:
2408 arglist[0] = cdms2.asVariable(passed_var)
/export/durack1/160302_pcmdi_metrics/PCMDI_METRICS/lib/python2.7/site-packages/vcs/Canvas.pyc in _determine_arg_list(g_name, actual_args)
222 else:
223 raise vcsError("Unknown type %s of argument to plotting command." %
--> 224 type(args[i]))
225 if g_name is not None:
226 arglist[igraphics_method] = g_name
vcsError: Unknown type <type 'NoneType'> of argument to plotting command.
Following version info:
[duro@ocean ~/160302_pcmdi_metrics]$ env | grep UVCDAT
UVCDAT_PROMPT_STRING=v2.5.0-81-gf4493d2
UVCDAT_SETUP_PATH=/export/durack1/160302_pcmdi_metrics/PCMDI_METRICS
@chaosphere2112 @mattben pinging you gentlemen here
Migrated from: https://github.com/UV-CDAT/uvcdat/issues/1867