vcs
vcs copied to clipboard
Visualization Control System
``` python import vcs f=vcs.createfillarea() x=vcs.init() f.y=[.2,.2,.8,.8,.2] f.x=[.2,.8,.2,.8,.2] f.color=["red"] x.plot(f) ``` produces: 
The following script opens 4 canvases, plots the same fillarea and closes the canvases one at a time. The canvases get cleared but not closed. This does not work on...
Looks like there are a couple of issues with the legend (at least when using boxfill). [This notebook illustrates most of the issues I found](https://github.com/chaosphere2112/uvcdat-site/blob/93a5649b0d64e8f324fc1289b218b6fa0e2a92a8/iPython/boxfill/boxfill.ipynb), but I'll break it down...
@doutriaux1 I found one issue is that the PDF generated seems to be bad. The good news is that I found the source of the bad PDF problem and I...
example ``` python >>> gm = x.createisoline() >>> gm.line= ['dot','dash'] >>> gm.line ['dot', 'dash'] >>> gm.line= [1,2,3] >>> gm.line ['dash', 'dot', 'dash-dot'] >>> ``` Migrated from: https://github.com/UV-CDAT/uvcdat/issues/2010
I'm playing with a technique to do a polar 1D plot in VCS, and I ran into some issues along the way. The biggest issue is that attempting to use...
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) in () ----> 1 x.plot( v, dv3d,...
The offending file is: `/cmip5_css02/scratch/cmip5/output1/NCAR/CCSM4/1pctCO2/fx/ocean/fx/r0i0p0/v20130312/areacello/areacello_fx_CCSM4_1pctCO2_r0i0p0.nc` ``` python /work/cmip5/fx/fx/areacello/cmip5.CCSM4.1pctCO2.r0i0p0.fx.ocn.fx.areacello.ver-v20130312.latestX.xml Traceback (most recent call last): File "make_evsp.py", line 171, in c.plot(areacello) File "/usr/local/uvcdat/2016-02-04/lib/python2.7/site-packages/vcs/Canvas.py", line 2424, in plot a = self.__plot(arglist, keyargs) File...
@doutriaux1 as discussed: ``` python inPath = '/work/durack1/Shared/model_data/140220_AusCOM1-0/' inFile = 'AusCOM1-0.Salt.Omon.so.00011231-00501231.nc' >>> f_h = cdm.open(os.path.join(inPath,inFile)) >>> so = f_h('so') f_h.close() >>> so = so[0:1,] >>> import vcs >>> x =...
@doutriaux1 @chaosphere2112 Given the following doctest: ```python >>> a=vcs.init() >>> import cdms2 >>> f = cdms2.open(vcs.sample_data+'/clt.nc') >>> v = f('v') # use the data file to create a cdms2 slab...