<p><b>ringler@lanl.gov</b> 2012-03-15 16:14:03 -0600 (Thu, 15 Mar 2012)</p><p><br>
add capability to make movies and/or snapshots of baroclinic channel test case<br>
</p><hr noshade><pre><font color="gray">Added: branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/movie.cfg
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/movie.cfg                                (rev 0)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/movie.cfg        2012-03-15 22:14:03 UTC (rev 1653)
@@ -0,0 +1,170 @@
+//
+// time: Thu Mar 15 16:03:37 2012
+//
+// version: 3.2.0 (format), 4.4.4 (DX)
+//
+// Message Window:
+// window: position = (0.2840,0.5938), size = 0.2391x0.1502, screen = 0
+//
+// panel[0]: position = (0.0039,0.0469), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[1]: position = (0.0039,0.0469), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[2]: position = (0.0039,0.0608), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[3]: position = (0.0039,0.0330), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[4]: position = (0.0039,0.0330), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[5]: position = (0.0039,0.0469), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[6]: position = (0.0039,0.0469), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[7]: position = (0.0039,0.0469), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[8]: position = (0.0039,0.0330), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[9]: position = (0.0039,0.0608), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 124, height = 59
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[10]: position = (0.0039,0.1027), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 126, height = 59
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[11]: position = (0.0039,0.0330), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 500, height = 500
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[12]: position = (0.0039,0.0330), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 0, height = 0
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// interactor FileSelector[1]: num_components = 1, value = &quot;./movie/list.dx&quot;
+// instance: panel = 0, x = 5, y = 5, style = FileSelector, vertical = 1, size = 180x55
+//
+// interactor String[1]: num_components = 1, value = &quot;smovie&quot;
+// instance: panel = 1, x = 5, y = 5, style = Text, vertical = 1, size = 119x51
+//
+// interactor Integer[9]: num_components = 1, value = 1 
+// component[0]: minimum = -1e+06, maximum = 1e+06, global increment = 1, decimal = 0, global continuous = 0
+// instance: panel = 9, x = 5, y = 5, style = Stepper, vertical = 1, size = 119x54
+// local continuous: value = 0, mode = global
+// local increment[0]: value = 1, mode = global
+//
+// interactor Integer[10]: num_components = 1, value = 18 
+// component[0]: minimum = -1e+06, maximum = 1e+06, global increment = 1, decimal = 0, global continuous = 0
+// instance: panel = 10, x = 5, y = 5, style = Stepper, vertical = 1, size = 121x54
+// local continuous: value = 0, mode = global
+// local increment[0]: value = 1, mode = global
+//
+// node Sequencer[1]:
+// vcr[1]: min = 1, max = 18, beg = 1, end = 18, cur = 1, inc = 1, loop = off, step = off, pal = off
+// window: position = (0.0063,0.2015), size = 0.1094x0.0507, screen = 0
+// startup = 1
+//
+// interactor Scalar[2]: num_components = 1, value = -1500.0 
+// component[0]: minimum = -1e+06, maximum = 1e+06, global increment = 1, decimal = 5, global continuous = 0
+// instance: panel = 7, x = 5, y = 5, style = Stepper, vertical = 1, size = 148x54
+// local continuous: value = 0, mode = global
+// local increment[0]: value = 1, mode = global
+//
+// interactor Scalar[1]: num_components = 1, value = -1498.0 
+// component[0]: minimum = -1e+06, maximum = 1e+06, global increment = 1, decimal = 5, global continuous = 0
+// instance: panel = 6, x = 5, y = 5, style = Stepper, vertical = 1, size = 148x54
+// local continuous: value = 0, mode = global
+// local increment[0]: value = 1, mode = global
+//
+// node Colormap[1]:
+// input[1]: defaulting = 0, value = { [0.0 0.74683544] [1.0 0.0] }
+// input[2]: defaulting = 0, value = { [0.0 1.0] [0.15300546 1.0] [0.66462168 1.0] [1.0 1.0] }
+// input[3]: defaulting = 0, value = { [0.84699454 1.0] }
+// input[4]: defaulting = 0, value = { [0.84972678 1.0] }
+// input[5]: defaulting = 0, value = &quot;Colormap_1&quot;
+// input[7]: defaulting = 1, value = -2.4020001e-06
+// input[8]: defaulting = 1, value = 1.1363e-05
+// input[9]: defaulting = 1, value = 20
+// input[12]: defaulting = 0, value = { -2.4020001e-06 1.1363e-05 }
+// input[17]: defaulting = 0, value = -2.4020001e-06
+// input[18]: defaulting = 0, value = 1.1363e-05
+// window: position = (0.0090,0.4785), size = 0.3230x0.4100, screen = 0
+//
+// interactor String[7]: num_components = 1, value = &quot;white&quot;
+//
+// node Image[2]:
+// depth: value = 24
+// window: position = (0.4270,0.0095), size = 0.2758x0.9449, screen = 0
+// input[1]: defaulting = 0, value = &quot;Image_2&quot;
+// input[4]: defaulting = 0, value = 1
+// input[5]: defaulting = 0, value = [84316.1 212644 0]
+// input[6]: defaulting = 0, value = [84316.1 212644 1.11565e+06]
+// input[7]: defaulting = 0, value = 220715.0
+// input[8]: defaulting = 0, value = 692
+// input[9]: defaulting = 0, value = 2.095
+// input[10]: defaulting = 0, value = [0 1 0]
+// input[11]: defaulting = 1, value = 11.2984
+// input[12]: defaulting = 0, value = 0
+// input[14]: defaulting = 0, value = 1
+// input[15]: defaulting = 1, value = &quot;none&quot;
+// input[16]: defaulting = 1, value = &quot;none&quot;
+// input[17]: defaulting = 1, value = 1
+// input[18]: defaulting = 1, value = 1
+// input[19]: defaulting = 0, value = 0
+// input[22]: defaulting = 0, value = &quot;black&quot;
+// input[25]: defaulting = 0, value = &quot;ssh_rms1.tiff&quot;
+// input[26]: defaulting = 0, value = &quot;tiff gamma=1&quot;
+// input[27]: defaulting = 0, value = 1500
+// input[28]: defaulting = 1, value = 1.0
+// input[29]: defaulting = 0, value = 0
+// input[30]: defaulting = 0, value = {&quot;x axis&quot;, &quot;y axis&quot;, &quot;&quot;}
+// input[31]: defaulting = 0, value = { -15 -15 15 }
+// input[34]: defaulting = 0, value = 1
+// input[37]: defaulting = 0, value = {&quot;grey30&quot;, &quot;grey5&quot;, &quot;yellow&quot;, &quot;white&quot;}
+// input[38]: defaulting = 0, value = {&quot;background&quot;, &quot;grid&quot;, &quot;ticks&quot;, &quot;labels&quot;}
+// input[39]: defaulting = 0, value = 0.5
+// input[41]: defaulting = 0, value = &quot;none&quot;
+// internal caching: 1

Added: branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/movie.net
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/movie.net                                (rev 0)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/movie.net        2012-03-15 22:14:03 UTC (rev 1653)
@@ -0,0 +1,856 @@
+//
+// time: Thu Mar 15 16:03:37 2012
+//
+// version: 3.2.0 (format), 4.4.4 (DX)
+//
+//
+// MODULE main
+// workspace: width = 653, height = 1146
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+macro main(
+) -&gt; (
+) {
+    // 
+    // node FileSelector[1]: x = 66, y = 17, inputs = 0, label = FileSelector
+    // output[1]: visible = 1, type = 32, value = &quot;./movie/list.dx&quot;
+    // output[2]: visible = 1, type = 32, value = &quot;list.dx&quot;
+    //
+    // 
+    // node String[1]: x = 187, y = 20, inputs = 0, label = String
+    // output[1]: visible = 1, type = 32, value = &quot;smovie&quot;
+    //
+    // 
+    // node Import[1]: x = 164, y = 128, inputs = 6, label = Import
+    // input[1]: defaulting = 1, visible = 1, type = 32, value = &quot;/disk5/gdc/swm/run.02562/dx/hexagon.dx&quot;
+    // input[2]: defaulting = 1, visible = 1, type = 32, value = &quot;center_area&quot;
+    // input[3]: defaulting = 0, visible = 1, type = 32, value = &quot;dx&quot;
+    //
+main_Import_1_out_1 = 
+    Import(
+    main_FileSelector_1_out_1,
+    main_String_1_out_1,
+    main_Import_1_in_3,
+    main_Import_1_in_4,
+    main_Import_1_in_5,
+    main_Import_1_in_6
+    ) [instance: 1, cache: 1];
+    // 
+    // node Integer[9]: x = 323, y = 69, inputs = 11, label = Integer
+    // input[1]: defaulting = 0, visible = 0, type = 32, value = &quot;Integer_9&quot;
+    // input[3]: defaulting = 0, visible = 0, type = 1, value = 1 
+    // input[5]: defaulting = 1, visible = 0, type = 1, value = -1000000
+    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1000000
+    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
+    // input[9]: defaulting = 1, visible = 0, type = 1, value = 0
+    // output[1]: visible = 1, type = 1, value = 1 
+    //
+    // 
+    // node Integer[10]: x = 422, y = 61, inputs = 11, label = Integer
+    // input[1]: defaulting = 0, visible = 0, type = 32, value = &quot;Integer_10&quot;
+    // input[3]: defaulting = 0, visible = 0, type = 1, value = 18 
+    // input[5]: defaulting = 1, visible = 0, type = 1, value = -1000000
+    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1000000
+    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
+    // input[9]: defaulting = 1, visible = 0, type = 1, value = 0
+    // output[1]: visible = 1, type = 1, value = 18 
+    //
+    // 
+    // node Sequencer[1]: x = 224, y = 249, inputs = 7, label = Sequencer
+    // input[1]: defaulting = 0, visible = 0, type = 32, value = &quot;Sequencer_1&quot;
+    // input[4]: defaulting = 1, visible = 1, type = 1, value = 1
+    // input[5]: defaulting = 1, visible = 1, type = 1, value = 18
+    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1
+    // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 1 18 1 1 18 1 }
+    // vcr[1]: min = 1, max = 18, beg = 1, end = 18, cur = 1, inc = 1, loop = off, step = off, pal = off
+    // window: position = (0.0063,0.2015), size = 0.1094x0.0507, screen = 0
+    //
+    main_Sequencer_1_in_3 = @frame;
+main_Sequencer_1_out_1[cache: 2] = 
+    Sequencer(
+    main_Sequencer_1_in_1,
+    main_Sequencer_1_in_2,
+    main_Sequencer_1_in_3,
+    main_Integer_9_out_1,
+    main_Integer_10_out_1,
+    main_Sequencer_1_in_6,
+    main_Sequencer_1_in_7
+    ) [instance: 1, cache: 1];
+    // 
+    // node Select[2]: x = 141, y = 320, inputs = 3, label = Select
+    // input[2]: defaulting = 1, visible = 1, type = 1, value = 0
+    //
+main_Select_2_out_1 = 
+    Select(
+    main_Import_1_out_1,
+    main_Sequencer_1_out_1,
+    main_Select_2_in_3
+    ) [instance: 2, cache: 1];
+    // 
+    // node Scalar[2]: x = 449, y = 390, inputs = 11, label = Scalar
+    // input[1]: defaulting = 0, visible = 0, type = 32, value = &quot;Scalar_2&quot;
+    // input[3]: defaulting = 0, visible = 0, type = 5, value = -1500.0 
+    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
+    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
+    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
+    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
+    // output[1]: visible = 1, type = 5, value = -1500.0 
+    //
+    // 
+    // node Scalar[1]: x = 523, y = 391, inputs = 11, label = Scalar
+    // input[1]: defaulting = 0, visible = 0, type = 32, value = &quot;Scalar_1&quot;
+    // input[3]: defaulting = 0, visible = 0, type = 5, value = -1498.0 
+    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
+    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
+    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
+    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
+    // output[1]: visible = 1, type = 5, value = -1498.0 
+    //
+    // 
+    // node Include[1]: x = 363, y = 503, inputs = 6, label = Include
+    // input[2]: defaulting = 1, visible = 1, type = 5, value = 12.0
+    // input[3]: defaulting = 1, visible = 1, type = 5, value = -1.0e20
+    // input[4]: defaulting = 0, visible = 1, type = 3, value = 1
+    // input[5]: defaulting = 0, visible = 1, type = 3, value = 1
+    // input[6]: defaulting = 1, visible = 1, type = 3, value = 0
+    //
+main_Include_1_out_1 = 
+    Include(
+    main_Select_2_out_1,
+    main_Scalar_2_out_1,
+    main_Scalar_1_out_1,
+    main_Include_1_in_4,
+    main_Include_1_in_5,
+    main_Include_1_in_6
+    ) [instance: 1, cache: 1];
+    // 
+    // node Include[2]: x = 40, y = 480, inputs = 6, label = Include
+    // input[2]: defaulting = 1, visible = 1, type = 5, value = 12.0
+    // input[3]: defaulting = 1, visible = 1, type = 5, value = -1.0e20
+    // input[4]: defaulting = 0, visible = 1, type = 3, value = 1
+    // input[5]: defaulting = 0, visible = 1, type = 3, value = 1
+    // input[6]: defaulting = 1, visible = 1, type = 3, value = 0
+    //
+main_Include_2_out_1 = 
+    Include(
+    main_Import_1_out_1,
+    main_Scalar_2_out_1,
+    main_Scalar_1_out_1,
+    main_Include_2_in_4,
+    main_Include_2_in_5,
+    main_Include_2_in_6
+    ) [instance: 2, cache: 1];
+    // 
+    // node Colormap[1]: x = 68, y = 605, inputs = 19, label = Colormap
+    // input[1]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 0.74683544] [1.0 0.0] }
+    // input[2]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [0.15300546 1.0] [0.66462168 1.0] [1.0 1.0] }
+    // input[3]: defaulting = 0, visible = 0, type = 16777224, value = { [0.84699454 1.0] }
+    // input[4]: defaulting = 0, visible = 0, type = 16777224, value = { [0.84972678 1.0] }
+    // input[5]: defaulting = 0, visible = 0, type = 32, value = &quot;Colormap_1&quot;
+    // input[7]: defaulting = 1, visible = 0, type = 5, value = -2.4020001e-06
+    // input[8]: defaulting = 1, visible = 0, type = 5, value = 1.1363e-05
+    // input[9]: defaulting = 1, visible = 0, type = 1, value = 20
+    // input[12]: defaulting = 0, visible = 0, type = 16777221, value = { -2.4020001e-06 1.1363e-05 }
+    // input[17]: defaulting = 0, visible = 0, type = 5, value = -2.4020001e-06
+    // input[18]: defaulting = 0, visible = 0, type = 5, value = 1.1363e-05
+    // window: position = (0.0090,0.4785), size = 0.3230x0.4100, screen = 0
+    //
+main_Colormap_1_out_1[cache: 2],
+main_Colormap_1_out_2[cache: 2] = 
+    Colormap(
+    main_Colormap_1_in_1,
+    main_Colormap_1_in_2,
+    main_Colormap_1_in_3,
+    main_Colormap_1_in_4,
+    main_Colormap_1_in_5,
+    main_Include_2_out_1,
+    main_Colormap_1_in_7,
+    main_Colormap_1_in_8,
+    main_Colormap_1_in_9,
+    main_Colormap_1_in_10,
+    main_Colormap_1_in_11,
+    main_Colormap_1_in_12,
+    main_Colormap_1_in_13,
+    main_Colormap_1_in_14,
+    main_Colormap_1_in_15,
+    main_Colormap_1_in_16,
+    main_Colormap_1_in_17,
+    main_Colormap_1_in_18,
+    main_Colormap_1_in_19
+    ) [instance: 1, cache: 1];
+    // 
+    // node Color[5]: x = 261, y = 643, inputs = 5, label = Color
+    // input[2]: defaulting = 1, visible = 1, type = 32, value = &quot;black&quot;
+    // input[3]: defaulting = 0, visible = 1, type = 5, value = 1.0
+    //
+main_Color_5_out_1 = 
+    Color(
+    main_Include_1_out_1,
+    main_Colormap_1_out_1,
+    main_Color_5_in_3,
+    main_Color_5_in_4,
+    main_Color_5_in_5
+    ) [instance: 5, cache: 1];
+    // 
+    // node String[7]: x = 477, y = 583, inputs = 0, label = String
+    // output[1]: visible = 1, type = 32, value = &quot;white&quot;
+    //
+    // 
+    // node ColorBar[1]: x = 366, y = 689, inputs = 16, label = ColorBar
+    // input[2]: defaulting = 0, visible = 1, type = 8, value = [0.16 0.06]
+    // input[3]: defaulting = 0, visible = 1, type = 8, value = [200 15]
+    // input[4]: defaulting = 0, visible = 1, type = 3, value = 0
+    // input[9]: defaulting = 1, visible = 1, type = 16777248, value = {&quot;white&quot;}
+    //
+main_ColorBar_1_out_1 = 
+    ColorBar(
+    main_Colormap_1_out_1,
+    main_ColorBar_1_in_2,
+    main_ColorBar_1_in_3,
+    main_ColorBar_1_in_4,
+    main_ColorBar_1_in_5,
+    main_ColorBar_1_in_6,
+    main_ColorBar_1_in_7,
+    main_ColorBar_1_in_8,
+    main_String_7_out_1,
+    main_ColorBar_1_in_10,
+    main_ColorBar_1_in_11,
+    main_ColorBar_1_in_12,
+    main_ColorBar_1_in_13,
+    main_ColorBar_1_in_14,
+    main_ColorBar_1_in_15,
+    main_ColorBar_1_in_16
+    ) [instance: 1, cache: 1];
+    // 
+    // node Collect[3]: x = 391, y = 783, inputs = 2, label = Collect
+    //
+main_Collect_3_out_1 = 
+    Collect(
+    main_Color_5_out_1,
+    main_ColorBar_1_out_1
+    ) [instance: 3, cache: 1];
+    // 
+    // node Shade[1]: x = 380, y = 863, inputs = 8, label = Shade
+    // input[2]: defaulting = 0, visible = 1, type = 3, value = 1
+    // input[3]: defaulting = 0, visible = 1, type = 32, value = &quot;smooth&quot;
+    // input[4]: defaulting = 0, visible = 0, type = 5, value = 0.25
+    // input[5]: defaulting = 1, visible = 0, type = 1, value = 0
+    // input[6]: defaulting = 0, visible = 0, type = 5, value = .5
+    // input[7]: defaulting = 0, visible = 0, type = 5, value = 3.0
+    //
+main_Shade_1_out_1 = 
+    Shade(
+    main_Collect_3_out_1,
+    main_Shade_1_in_2,
+    main_Shade_1_in_3,
+    main_Shade_1_in_4,
+    main_Shade_1_in_5,
+    main_Shade_1_in_6,
+    main_Shade_1_in_7,
+    main_Shade_1_in_8
+    ) [instance: 1, cache: 1];
+    // 
+    // node Image[2]: x = 382, y = 927, inputs = 49, label = Image
+    // input[1]: defaulting = 0, visible = 0, type = 67108863, value = &quot;Image_2&quot;
+    // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
+    // input[5]: defaulting = 0, visible = 0, type = 8, value = [84316.1 212644 0]
+    // input[6]: defaulting = 0, visible = 0, type = 8, value = [84316.1 212644 1.11565e+06]
+    // input[7]: defaulting = 0, visible = 0, type = 5, value = 220715.0
+    // input[8]: defaulting = 0, visible = 0, type = 1, value = 692
+    // input[9]: defaulting = 0, visible = 0, type = 5, value = 2.095
+    // input[10]: defaulting = 0, visible = 0, type = 8, value = [0 1 0]
+    // input[11]: defaulting = 1, visible = 0, type = 5, value = 11.2984
+    // input[12]: defaulting = 0, visible = 0, type = 1, value = 0
+    // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
+    // input[15]: defaulting = 1, visible = 0, type = 32, value = &quot;none&quot;
+    // input[16]: defaulting = 1, visible = 0, type = 32, value = &quot;none&quot;
+    // input[17]: defaulting = 1, visible = 0, type = 1, value = 1
+    // input[18]: defaulting = 1, visible = 0, type = 1, value = 1
+    // input[19]: defaulting = 0, visible = 0, type = 1, value = 0
+    // input[22]: defaulting = 0, visible = 0, type = 32, value = &quot;black&quot;
+    // input[25]: defaulting = 0, visible = 0, type = 32, value = &quot;ssh_rms1.tiff&quot;
+    // input[26]: defaulting = 0, visible = 0, type = 32, value = &quot;tiff gamma=1&quot;
+    // input[27]: defaulting = 0, visible = 0, type = 1, value = 1500
+    // input[28]: defaulting = 1, visible = 0, type = 5, value = 1.0
+    // input[29]: defaulting = 0, visible = 0, type = 3, value = 0
+    // input[30]: defaulting = 0, visible = 0, type = 16777248, value = {&quot;x axis&quot;, &quot;y axis&quot;, &quot;&quot;}
+    // input[31]: defaulting = 0, visible = 0, type = 16777217, value = { -15 -15 15 }
+    // input[34]: defaulting = 0, visible = 0, type = 3, value = 1
+    // input[37]: defaulting = 0, visible = 0, type = 16777248, value = {&quot;grey30&quot;, &quot;grey5&quot;, &quot;yellow&quot;, &quot;white&quot;}
+    // input[38]: defaulting = 0, visible = 0, type = 16777248, value = {&quot;background&quot;, &quot;grid&quot;, &quot;ticks&quot;, &quot;labels&quot;}
+    // input[39]: defaulting = 0, visible = 0, type = 5, value = 0.5
+    // input[41]: defaulting = 0, visible = 0, type = 32, value = &quot;none&quot;
+    // depth: value = 24
+    // window: position = (0.4270,0.0095), size = 0.2758x0.9449, screen = 0
+    // internal caching: 1
+    //
+main_Image_2_out_1,
+main_Image_2_out_2,
+main_Image_2_out_3 = 
+    Image(
+    main_Image_2_in_1,
+    main_Shade_1_out_1,
+    main_Image_2_in_3,
+    main_Image_2_in_4,
+    main_Image_2_in_5,
+    main_Image_2_in_6,
+    main_Image_2_in_7,
+    main_Image_2_in_8,
+    main_Image_2_in_9,
+    main_Image_2_in_10,
+    main_Image_2_in_11,
+    main_Image_2_in_12,
+    main_Image_2_in_13,
+    main_Image_2_in_14,
+    main_Image_2_in_15,
+    main_Image_2_in_16,
+    main_Image_2_in_17,
+    main_Image_2_in_18,
+    main_Image_2_in_19,
+    main_Image_2_in_20,
+    main_Image_2_in_21,
+    main_Image_2_in_22,
+    main_Image_2_in_23,
+    main_Image_2_in_24,
+    main_Image_2_in_25,
+    main_Image_2_in_26,
+    main_Image_2_in_27,
+    main_Image_2_in_28,
+    main_Image_2_in_29,
+    main_Image_2_in_30,
+    main_Image_2_in_31,
+    main_Image_2_in_32,
+    main_Image_2_in_33,
+    main_Image_2_in_34,
+    main_Image_2_in_35,
+    main_Image_2_in_36,
+    main_Image_2_in_37,
+    main_Image_2_in_38,
+    main_Image_2_in_39,
+    main_Image_2_in_40,
+    main_Image_2_in_41,
+    main_Image_2_in_42,
+    main_Image_2_in_43,
+    main_Image_2_in_44,
+    main_Image_2_in_45,
+    main_Image_2_in_46,
+    main_Image_2_in_47,
+    main_Image_2_in_48,
+    main_Image_2_in_49
+    ) [instance: 2, cache: 1];
+    // 
+    // node Render[1]: x = 395, y = 1045, inputs = 3, label = Render
+    //
+main_Render_1_out_1 = 
+    Render(
+    main_Image_2_out_1,
+    main_Image_2_out_2,
+    main_Render_1_in_3
+    ) [instance: 1, cache: 1];
+    // 
+    // node WriteImage[1]: x = 557, y = 1084, inputs = 4, label = WriteImage
+    // input[3]: defaulting = 0, visible = 1, type = 32, value = &quot;tiff&quot;
+    //
+    WriteImage(
+    main_Render_1_out_1,
+    main_WriteImage_1_in_2,
+    main_WriteImage_1_in_3,
+    main_Sequencer_1_out_1
+    ) [instance: 1, cache: 1];
+// network: end of macro body
+CacheScene(main_Image_2_in_1, main_Image_2_out_1, main_Image_2_out_2);
+}
+main_FileSelector_1_out_1 = &quot;./movie/list.dx&quot;;
+main_String_1_out_1 = &quot;smovie&quot;;
+main_Import_1_in_3 = &quot;dx&quot;;
+main_Import_1_in_4 = NULL;
+main_Import_1_in_5 = NULL;
+main_Import_1_in_6 = NULL;
+main_Import_1_out_1 = NULL;
+main_Integer_9_in_1 = &quot;Integer_9&quot;;
+main_Integer_9_in_2 = NULL;
+main_Integer_9_in_3 = 1 ;
+main_Integer_9_in_4 = NULL;
+main_Integer_9_in_5 = NULL;
+main_Integer_9_in_6 = NULL;
+main_Integer_9_in_7 = NULL;
+main_Integer_9_in_8 = NULL;
+main_Integer_9_in_9 = NULL;
+main_Integer_9_in_10 = NULL;
+main_Integer_9_in_11 = NULL;
+main_Integer_9_out_1 = 1 ;
+main_Integer_10_in_1 = &quot;Integer_10&quot;;
+main_Integer_10_in_2 = NULL;
+main_Integer_10_in_3 = 18 ;
+main_Integer_10_in_4 = NULL;
+main_Integer_10_in_5 = NULL;
+main_Integer_10_in_6 = NULL;
+main_Integer_10_in_7 = NULL;
+main_Integer_10_in_8 = NULL;
+main_Integer_10_in_9 = NULL;
+main_Integer_10_in_10 = NULL;
+main_Integer_10_in_11 = NULL;
+main_Integer_10_out_1 = 18 ;
+main_Sequencer_1_in_1 = &quot;Sequencer_1&quot;;
+main_Sequencer_1_in_2 = NULL;
+main_Sequencer_1_in_3 = NULL;
+main_Sequencer_1_in_6 = NULL;
+main_Sequencer_1_in_7 = { 1 18 1 1 18 1 };
+main_Sequencer_1_out_1 = NULL;
+
+@startframe = 1;
+@nextframe  = @startframe;
+@endframe   = 18;
+@deltaframe = 1;
+main_Select_2_in_3 = NULL;
+main_Select_2_out_1 = NULL;
+main_Scalar_2_in_1 = &quot;Scalar_2&quot;;
+main_Scalar_2_in_2 = NULL;
+main_Scalar_2_in_3 = -1500.0 ;
+main_Scalar_2_in_4 = NULL;
+main_Scalar_2_in_5 = NULL;
+main_Scalar_2_in_6 = NULL;
+main_Scalar_2_in_7 = NULL;
+main_Scalar_2_in_8 = NULL;
+main_Scalar_2_in_9 = NULL;
+main_Scalar_2_in_10 = NULL;
+main_Scalar_2_in_11 = NULL;
+main_Scalar_2_out_1 = -1500.0 ;
+main_Scalar_1_in_1 = &quot;Scalar_1&quot;;
+main_Scalar_1_in_2 = NULL;
+main_Scalar_1_in_3 = -1498.0 ;
+main_Scalar_1_in_4 = NULL;
+main_Scalar_1_in_5 = NULL;
+main_Scalar_1_in_6 = NULL;
+main_Scalar_1_in_7 = NULL;
+main_Scalar_1_in_8 = NULL;
+main_Scalar_1_in_9 = NULL;
+main_Scalar_1_in_10 = NULL;
+main_Scalar_1_in_11 = NULL;
+main_Scalar_1_out_1 = -1498.0 ;
+main_Include_1_in_4 = 1;
+main_Include_1_in_5 = 1;
+main_Include_1_in_6 = NULL;
+main_Include_1_out_1 = NULL;
+main_Include_2_in_4 = 1;
+main_Include_2_in_5 = 1;
+main_Include_2_in_6 = NULL;
+main_Include_2_out_1 = NULL;
+main_Colormap_1_in_1 = { [0.0 0.74683544] [1.0 0.0] };
+main_Colormap_1_in_2 = { [0.0 1.0] [0.15300546 1.0] [0.66462168 1.0] [1.0 1.0] };
+main_Colormap_1_in_3 = { [0.84699454 1.0] };
+main_Colormap_1_in_4 = { [0.84972678 1.0] };
+main_Colormap_1_in_5 = &quot;Colormap_1&quot;;
+main_Colormap_1_in_7 = NULL;
+main_Colormap_1_in_8 = NULL;
+main_Colormap_1_in_9 = NULL;
+main_Colormap_1_in_10 = NULL;
+main_Colormap_1_in_11 = NULL;
+main_Colormap_1_in_12 = { -2.4020001e-06 1.1363e-05 };
+main_Colormap_1_in_13 = NULL;
+main_Colormap_1_in_14 = NULL;
+main_Colormap_1_in_15 = NULL;
+main_Colormap_1_in_16 = NULL;
+main_Colormap_1_in_17 = -2.4020001e-06;
+main_Colormap_1_in_18 = 1.1363e-05;
+main_Colormap_1_in_19 = NULL;
+main_Colormap_1_out_1 = NULL;
+main_Color_5_in_3 = 1.0;
+main_Color_5_in_4 = NULL;
+main_Color_5_in_5 = NULL;
+main_Color_5_out_1 = NULL;
+main_String_7_out_1 = &quot;white&quot;;
+main_ColorBar_1_in_2 = [0.16 0.06];
+main_ColorBar_1_in_3 = [200 15];
+main_ColorBar_1_in_4 = 0;
+main_ColorBar_1_in_5 = NULL;
+main_ColorBar_1_in_6 = NULL;
+main_ColorBar_1_in_7 = NULL;
+main_ColorBar_1_in_8 = NULL;
+main_ColorBar_1_in_10 = NULL;
+main_ColorBar_1_in_11 = NULL;
+main_ColorBar_1_in_12 = NULL;
+main_ColorBar_1_in_13 = NULL;
+main_ColorBar_1_in_14 = NULL;
+main_ColorBar_1_in_15 = NULL;
+main_ColorBar_1_in_16 = NULL;
+main_ColorBar_1_out_1 = NULL;
+main_Collect_3_out_1 = NULL;
+main_Shade_1_in_2 = 1;
+main_Shade_1_in_3 = &quot;smooth&quot;;
+main_Shade_1_in_4 = 0.25;
+main_Shade_1_in_5 = NULL;
+main_Shade_1_in_6 = .5;
+main_Shade_1_in_7 = 3.0;
+main_Shade_1_in_8 = NULL;
+main_Shade_1_out_1 = NULL;
+macro Image(
+        id,
+        object,
+        where,
+        useVector,
+        to,
+        from,
+        width,
+        resolution,
+        aspect,
+        up,
+        viewAngle,
+        perspective,
+        options,
+        buttonState = 1,
+        buttonUpApprox = &quot;none&quot;,
+        buttonDownApprox = &quot;none&quot;,
+        buttonUpDensity = 1,
+        buttonDownDensity = 1,
+        renderMode = 0,
+        defaultCamera,
+        reset,
+        backgroundColor,
+        throttle,
+        RECenable = 0,
+        RECfile,
+        RECformat,
+        RECresolution,
+        RECaspect,
+        AAenable = 0,
+        AAlabels,
+        AAticks,
+        AAcorners,
+        AAframe,
+        AAadjust,
+        AAcursor,
+        AAgrid,
+        AAcolors,
+        AAannotation,
+        AAlabelscale,
+        AAfont,
+        interactionMode,
+        title,
+        AAxTickLocs,
+        AAyTickLocs,
+        AAzTickLocs,
+        AAxTickLabels,
+        AAyTickLabels,
+        AAzTickLabels,
+        webOptions) -&gt; (
+        object,
+        camera,
+        where)
+{
+    ImageMessage(
+        id,
+        backgroundColor,
+        throttle,
+        RECenable,
+        RECfile,
+        RECformat,
+        RECresolution,
+        RECaspect,
+        AAenable,
+        AAlabels,
+        AAticks,
+        AAcorners,
+        AAframe,
+        AAadjust,
+        AAcursor,
+        AAgrid,
+        AAcolors,
+        AAannotation,
+        AAlabelscale,
+        AAfont,
+        AAxTickLocs,
+        AAyTickLocs,
+        AAzTickLocs,
+        AAxTickLabels,
+        AAyTickLabels,
+        AAzTickLabels,
+        interactionMode,
+        title,
+        renderMode,
+        buttonUpApprox,
+        buttonDownApprox,
+        buttonUpDensity,
+        buttonDownDensity) [instance: 1, cache: 1];
+    autoCamera =
+        AutoCamera(
+            object,
+            &quot;front&quot;,
+            object,
+            resolution,
+            aspect,
+            [0,1,0],
+            perspective,
+            viewAngle,
+            backgroundColor) [instance: 1, cache: 1];
+    realCamera =
+        Camera(
+            to,
+            from,
+            width,
+            resolution,
+            aspect,
+            up,
+            perspective,
+            viewAngle,
+            backgroundColor) [instance: 1, cache: 1];
+    coloredDefaultCamera = 
+         UpdateCamera(defaultCamera,
+            background=backgroundColor) [instance: 1, cache: 1];
+    nullDefaultCamera =
+        Inquire(defaultCamera,
+            &quot;is null + 1&quot;) [instance: 1, cache: 1];
+    resetCamera =
+        Switch(
+            nullDefaultCamera,
+            coloredDefaultCamera,
+            autoCamera) [instance: 1, cache: 1];
+    resetNull = 
+        Inquire(
+            reset,
+            &quot;is null + 1&quot;) [instance: 2, cache: 1];
+    reset =
+        Switch(
+            resetNull,
+            reset,
+            0) [instance: 2, cache: 1];
+    whichCamera =
+        Compute(
+            &quot;($0 != 0 || $1 == 0) ? 1 : 2&quot;,
+            reset,
+            useVector) [instance: 1, cache: 1];
+    camera = Switch(
+            whichCamera,
+            resetCamera,
+            realCamera) [instance: 3, cache: 1];
+    AAobject =
+        AutoAxes(
+            object,
+            camera,
+            AAlabels,
+            AAticks,
+            AAcorners,
+            AAframe,
+            AAadjust,
+            AAcursor,
+            AAgrid,
+            AAcolors,
+            AAannotation,
+            AAlabelscale,
+            AAfont,
+            AAxTickLocs,
+            AAyTickLocs,
+            AAzTickLocs,
+            AAxTickLabels,
+            AAyTickLabels,
+            AAzTickLabels) [instance: 1, cache: 1];
+    switchAAenable = Compute(&quot;$0+1&quot;,
+             AAenable) [instance: 2, cache: 1];
+    object = Switch(
+             switchAAenable,
+             object,
+             AAobject) [instance:4, cache: 1];
+    SWapproximation_options =
+        Switch(
+            buttonState,
+            buttonUpApprox,
+            buttonDownApprox) [instance: 5, cache: 1];
+    SWdensity_options =
+        Switch(
+            buttonState,
+            buttonUpDensity,
+            buttonDownDensity) [instance: 6, cache: 1];
+    HWapproximation_options =
+        Format(
+            &quot;%s,%s&quot;,
+            buttonDownApprox,
+            buttonUpApprox) [instance: 1, cache: 1];
+    HWdensity_options =
+        Format(
+            &quot;%d,%d&quot;,
+            buttonDownDensity,
+            buttonUpDensity) [instance: 2, cache: 1];
+    switchRenderMode = Compute(
+             &quot;$0+1&quot;,
+             renderMode) [instance: 3, cache: 1];
+    approximation_options = Switch(
+             switchRenderMode,
+            SWapproximation_options,
+             HWapproximation_options) [instance: 7, cache: 1];
+    density_options = Switch(
+             switchRenderMode,
+            SWdensity_options,
+            HWdensity_options) [instance: 8, cache: 1];
+    renderModeString = Switch(
+            switchRenderMode,
+            &quot;software&quot;,
+            &quot;hardware&quot;)[instance: 9, cache: 1];
+    object_tag = Inquire(
+            object,
+            &quot;object tag&quot;)[instance: 3, cache: 1];
+    annoted_object =
+        Options(
+            object,
+            &quot;send boxes&quot;,
+            0,
+            &quot;cache&quot;,
+            1,
+            &quot;object tag&quot;,
+            object_tag,
+            &quot;ddcamera&quot;,
+            whichCamera,
+            &quot;rendering approximation&quot;,
+            approximation_options,
+            &quot;render every&quot;,
+            density_options,
+            &quot;button state&quot;,
+            buttonState,
+            &quot;rendering mode&quot;,
+            renderModeString) [instance: 1, cache: 1];
+    RECresNull =
+        Inquire(
+            RECresolution,
+            &quot;is null + 1&quot;) [instance: 4, cache: 1];
+    ImageResolution =
+        Inquire(
+            camera,
+            &quot;camera resolution&quot;) [instance: 5, cache: 1];
+    RECresolution =
+        Switch(
+            RECresNull,
+            RECresolution,
+            ImageResolution) [instance: 10, cache: 1];
+    RECaspectNull =
+        Inquire(
+            RECaspect,
+            &quot;is null + 1&quot;) [instance: 6, cache: 1];
+    ImageAspect =
+        Inquire(
+            camera,
+            &quot;camera aspect&quot;) [instance: 7, cache: 1];
+    RECaspect =
+        Switch(
+            RECaspectNull,
+            RECaspect,
+            ImageAspect) [instance: 11, cache: 1];
+    switchRECenable = Compute(
+          &quot;$0 == 0 ? 1 : (($2 == $3) &amp;&amp; ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4&quot;,
+            RECenable,
+            switchRenderMode,
+            RECresolution,
+            ImageResolution,
+            RECaspect,
+             ImageAspect) [instance: 4, cache: 1];
+    NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object);
+    Display(
+        NoRECobject,
+        camera,
+        where,
+        throttle) [instance: 1, cache: 1];
+    image =
+        Render(
+            RECNoRerenderObject,
+            camera) [instance: 1, cache: 1];
+    Display(
+        image,
+        NULL,
+        where,
+        throttle) [instance: 2, cache: 1];
+    WriteImage(
+        image,
+        RECfile,
+        RECformat) [instance: 1, cache: 1];
+    rec_where = Display(
+        RECNoRerHW,
+        camera,
+        where,
+        throttle) [instance: 1, cache: 0];
+    rec_image = ReadImageWindow(
+        rec_where) [instance: 1, cache: 1];
+    WriteImage(
+        rec_image,
+        RECfile,
+        RECformat) [instance: 1, cache: 1];
+    RECupdateCamera =
+        UpdateCamera(
+            camera,
+            resolution=RECresolution,
+            aspect=RECaspect) [instance: 2, cache: 1];
+    Display(
+        RECRerenderObject,
+        camera,
+        where,
+        throttle) [instance: 1, cache: 1];
+    RECRerenderObject =
+        ScaleScreen(
+            RECRerenderObject,
+            NULL,
+            RECresolution,
+            camera) [instance: 1, cache: 1];
+    image =
+        Render(
+            RECRerenderObject,
+            RECupdateCamera) [instance: 2, cache: 1];
+    WriteImage(
+        image,
+        RECfile,
+        RECformat) [instance: 2, cache: 1];
+}
+main_Image_2_in_1 = &quot;Image_2&quot;;
+main_Image_2_in_3 = &quot;X24,,&quot;;
+main_Image_2_in_4 = 1;
+main_Image_2_in_5 = [84316.1 212644 0];
+main_Image_2_in_6 = [84316.1 212644 1.11565e+06];
+main_Image_2_in_7 = 220715.0;
+main_Image_2_in_8 = 692;
+main_Image_2_in_9 = 2.095;
+main_Image_2_in_10 = [0 1 0];
+main_Image_2_in_11 = NULL;
+main_Image_2_in_12 = 0;
+main_Image_2_in_13 = NULL;
+main_Image_2_in_14 = 1;
+main_Image_2_in_15 = NULL;
+main_Image_2_in_16 = NULL;
+main_Image_2_in_17 = NULL;
+main_Image_2_in_18 = NULL;
+main_Image_2_in_19 = 0;
+main_Image_2_in_20 = NULL;
+main_Image_2_in_21 = NULL;
+main_Image_2_in_22 = &quot;black&quot;;
+main_Image_2_in_23 = NULL;
+main_Image_2_in_25 = &quot;ssh_rms1.tiff&quot;;
+main_Image_2_in_26 = &quot;tiff gamma=1&quot;;
+main_Image_2_in_27 = 1500;
+main_Image_2_in_28 = NULL;
+main_Image_2_in_29 = 0;
+main_Image_2_in_30 = {&quot;x axis&quot;, &quot;y axis&quot;, &quot;&quot;};
+main_Image_2_in_31 = { -15 -15 15 };
+main_Image_2_in_32 = NULL;
+main_Image_2_in_33 = NULL;
+main_Image_2_in_34 = 1;
+main_Image_2_in_35 = NULL;
+main_Image_2_in_36 = NULL;
+main_Image_2_in_37 = {&quot;grey30&quot;, &quot;grey5&quot;, &quot;yellow&quot;, &quot;white&quot;};
+main_Image_2_in_38 = {&quot;background&quot;, &quot;grid&quot;, &quot;ticks&quot;, &quot;labels&quot;};
+main_Image_2_in_39 = 0.5;
+main_Image_2_in_40 = NULL;
+main_Image_2_in_41 = &quot;none&quot;;
+main_Image_2_in_42 = NULL;
+main_Image_2_in_43 = NULL;
+main_Image_2_in_44 = NULL;
+main_Image_2_in_45 = NULL;
+main_Image_2_in_46 = NULL;
+main_Image_2_in_47 = NULL;
+main_Image_2_in_48 = NULL;
+main_Image_2_in_49 = NULL;
+main_Image_2_out_1 = NULL;
+main_Image_2_out_2 = NULL;
+main_Render_1_in_3 = NULL;
+main_Render_1_out_1 = NULL;
+main_WriteImage_1_in_2 = NULL;
+main_WriteImage_1_in_3 = &quot;tiff&quot;;
+Executive(&quot;product version 4 4 4&quot;);
+$sync
+
+sequence main();
+play;

Added: branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/snapshot.cfg
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/snapshot.cfg                                (rev 0)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/snapshot.cfg        2012-03-15 22:14:03 UTC (rev 1653)
@@ -0,0 +1,90 @@
+//
+// time: Thu Mar 15 16:11:20 2012
+//
+// version: 3.2.0 (format), 4.4.4 (DX)
+//
+//
+// panel[0]: position = (0.0039,0.0330), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 153, height = 59
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[1]: position = (0.0039,0.0330), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 153, height = 59
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// panel[2]: position = (0.0039,0.0330), size = 0.1465x0.2852, startup = 1, devstyle = 1, screen = 0
+// title: value = Control Panel
+//
+// workspace: width = 124, height = 56
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+// interactor FileSelector[1]: num_components = 1, value = &quot;./movie/ocean.dx&quot;
+//
+// interactor String[1]: num_components = 1, value = &quot;area&quot;
+// instance: panel = 2, x = 5, y = 5, style = Text, vertical = 1, size = 119x51
+//
+// interactor Scalar[2]: num_components = 1, value = -1500.0 
+// component[0]: minimum = -1e+06, maximum = 1e+06, global increment = 1, decimal = 5, global continuous = 0
+// instance: panel = 0, x = 5, y = 5, style = Stepper, vertical = 1, size = 148x54
+// local continuous: value = 0, mode = global
+// local increment[0]: value = 1, mode = global
+//
+// interactor Scalar[1]: num_components = 1, value = -1498.0 
+// component[0]: minimum = -1e+06, maximum = 1e+06, global increment = 1, decimal = 5, global continuous = 0
+// instance: panel = 1, x = 5, y = 5, style = Stepper, vertical = 1, size = 148x54
+// local continuous: value = 0, mode = global
+// local increment[0]: value = 1, mode = global
+//
+// node Colormap[1]:
+// input[1]: defaulting = 0, value = { [0.0 0.74683544] [1.0 0.0] }
+// input[2]: defaulting = 0, value = { [0.0 1.0] [0.15300546 1.0] [0.66462168 1.0] [1.0 1.0] }
+// input[3]: defaulting = 0, value = { [0.84699454 1.0] }
+// input[4]: defaulting = 0, value = { [0.84972678 1.0] }
+// input[5]: defaulting = 0, value = &quot;Colormap_1&quot;
+// input[7]: defaulting = 1, value = -1.4018e-06
+// input[8]: defaulting = 1, value = 4.2214001e-06
+// input[9]: defaulting = 1, value = 20
+// input[12]: defaulting = 0, value = { -1.4018e-06 4.2214001e-06 }
+// input[17]: defaulting = 0, value = -1.4018e-06
+// input[18]: defaulting = 0, value = 4.2214001e-06
+// window: position = (0.0090,0.4785), size = 0.3230x0.4100, screen = 0
+//
+// interactor String[7]: num_components = 1, value = &quot;white&quot;
+//
+// node Image[2]:
+// depth: value = 24
+// window: position = (0.4270,0.0095), size = 0.2172x0.8999, screen = 0
+// input[1]: defaulting = 0, value = &quot;Image_2&quot;
+// input[4]: defaulting = 0, value = 1
+// input[5]: defaulting = 0, value = [77665.9 207554 0]
+// input[6]: defaulting = 0, value = [77665.9 207554 1.11565e+06]
+// input[7]: defaulting = 0, value = 181163.0
+// input[8]: defaulting = 0, value = 542
+// input[9]: defaulting = 0, value = 2.543
+// input[10]: defaulting = 0, value = [0 1 0]
+// input[11]: defaulting = 1, value = 9.28352
+// input[12]: defaulting = 0, value = 0
+// input[14]: defaulting = 0, value = 1
+// input[15]: defaulting = 1, value = &quot;none&quot;
+// input[16]: defaulting = 1, value = &quot;none&quot;
+// input[17]: defaulting = 1, value = 1
+// input[18]: defaulting = 1, value = 1
+// input[19]: defaulting = 0, value = 0
+// input[22]: defaulting = 0, value = &quot;black&quot;
+// input[25]: defaulting = 0, value = &quot;ssh_rms1.tiff&quot;
+// input[26]: defaulting = 0, value = &quot;tiff gamma=1&quot;
+// input[27]: defaulting = 0, value = 1500
+// input[28]: defaulting = 1, value = 1.0
+// input[29]: defaulting = 0, value = 0
+// input[30]: defaulting = 0, value = {&quot;x axis&quot;, &quot;y axis&quot;, &quot;&quot;}
+// input[31]: defaulting = 0, value = { -15 -15 15 }
+// input[34]: defaulting = 0, value = 1
+// input[37]: defaulting = 0, value = {&quot;grey30&quot;, &quot;grey5&quot;, &quot;yellow&quot;, &quot;white&quot;}
+// input[38]: defaulting = 0, value = {&quot;background&quot;, &quot;grid&quot;, &quot;ticks&quot;, &quot;labels&quot;}
+// input[39]: defaulting = 0, value = 0.5
+// input[41]: defaulting = 0, value = &quot;panzoom&quot;
+// internal caching: 1

Added: branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/snapshot.net
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/snapshot.net                                (rev 0)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/OpenDX/snapshot.net        2012-03-15 22:14:03 UTC (rev 1653)
@@ -0,0 +1,720 @@
+//
+// time: Thu Mar 15 16:11:20 2012
+//
+// version: 3.2.0 (format), 4.4.4 (DX)
+//
+//
+// MODULE main
+// workspace: width = 388, height = 706
+// layout: snap = 0, width = 50, height = 50, align = NN
+//
+macro main(
+) -&gt; (
+) {
+    // 
+    // node FileSelector[1]: x = 66, y = 17, inputs = 0, label = FileSelector
+    // output[1]: visible = 1, type = 32, value = &quot;./movie/ocean.dx&quot;
+    // output[2]: visible = 1, type = 32, value = &quot;ocean.dx&quot;
+    //
+    // 
+    // node String[1]: x = 187, y = 20, inputs = 0, label = String
+    // output[1]: visible = 1, type = 32, value = &quot;area&quot;
+    //
+    // 
+    // node Import[1]: x = 120, y = 93, inputs = 6, label = Import
+    // input[1]: defaulting = 1, visible = 1, type = 32, value = &quot;/disk5/gdc/swm/run.02562/dx/hexagon.dx&quot;
+    // input[2]: defaulting = 1, visible = 1, type = 32, value = &quot;center_area&quot;
+    // input[3]: defaulting = 0, visible = 1, type = 32, value = &quot;dx&quot;
+    //
+main_Import_1_out_1 = 
+    Import(
+    main_FileSelector_1_out_1,
+    main_String_1_out_1,
+    main_Import_1_in_3,
+    main_Import_1_in_4,
+    main_Import_1_in_5,
+    main_Import_1_in_6
+    ) [instance: 1, cache: 1];
+    // 
+    // node Scalar[2]: x = 264, y = 65, inputs = 11, label = Scalar
+    // input[1]: defaulting = 0, visible = 0, type = 32, value = &quot;Scalar_2&quot;
+    // input[3]: defaulting = 0, visible = 0, type = 5, value = -1500.0 
+    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
+    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
+    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
+    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
+    // output[1]: visible = 1, type = 5, value = -1500.0 
+    //
+    // 
+    // node Scalar[1]: x = 338, y = 66, inputs = 11, label = Scalar
+    // input[1]: defaulting = 0, visible = 0, type = 32, value = &quot;Scalar_1&quot;
+    // input[3]: defaulting = 0, visible = 0, type = 5, value = -1498.0 
+    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
+    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
+    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
+    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
+    // output[1]: visible = 1, type = 5, value = -1498.0 
+    //
+    // 
+    // node Include[1]: x = 178, y = 178, inputs = 6, label = Include
+    // input[2]: defaulting = 1, visible = 1, type = 5, value = 12.0
+    // input[3]: defaulting = 1, visible = 1, type = 5, value = -1.0e20
+    // input[4]: defaulting = 0, visible = 1, type = 3, value = 1
+    // input[5]: defaulting = 0, visible = 1, type = 3, value = 1
+    // input[6]: defaulting = 1, visible = 1, type = 3, value = 0
+    //
+main_Include_1_out_1 = 
+    Include(
+    main_Import_1_out_1,
+    main_Scalar_2_out_1,
+    main_Scalar_1_out_1,
+    main_Include_1_in_4,
+    main_Include_1_in_5,
+    main_Include_1_in_6
+    ) [instance: 1, cache: 1];
+    // 
+    // node Colormap[1]: x = 197, y = 254, inputs = 19, label = Colormap
+    // input[1]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 0.74683544] [1.0 0.0] }
+    // input[2]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [0.15300546 1.0] [0.66462168 1.0] [1.0 1.0] }
+    // input[3]: defaulting = 0, visible = 0, type = 16777224, value = { [0.84699454 1.0] }
+    // input[4]: defaulting = 0, visible = 0, type = 16777224, value = { [0.84972678 1.0] }
+    // input[5]: defaulting = 0, visible = 0, type = 32, value = &quot;Colormap_1&quot;
+    // input[7]: defaulting = 1, visible = 0, type = 5, value = -1.4018e-06
+    // input[8]: defaulting = 1, visible = 0, type = 5, value = 4.2214001e-06
+    // input[9]: defaulting = 1, visible = 0, type = 1, value = 20
+    // input[12]: defaulting = 0, visible = 0, type = 16777221, value = { -1.4018e-06 4.2214001e-06 }
+    // input[17]: defaulting = 0, visible = 0, type = 5, value = -1.4018e-06
+    // input[18]: defaulting = 0, visible = 0, type = 5, value = 4.2214001e-06
+    // window: position = (0.0090,0.4785), size = 0.3230x0.4100, screen = 0
+    //
+main_Colormap_1_out_1[cache: 2],
+main_Colormap_1_out_2[cache: 2] = 
+    Colormap(
+    main_Colormap_1_in_1,
+    main_Colormap_1_in_2,
+    main_Colormap_1_in_3,
+    main_Colormap_1_in_4,
+    main_Colormap_1_in_5,
+    main_Include_1_out_1,
+    main_Colormap_1_in_7,
+    main_Colormap_1_in_8,
+    main_Colormap_1_in_9,
+    main_Colormap_1_in_10,
+    main_Colormap_1_in_11,
+    main_Colormap_1_in_12,
+    main_Colormap_1_in_13,
+    main_Colormap_1_in_14,
+    main_Colormap_1_in_15,
+    main_Colormap_1_in_16,
+    main_Colormap_1_in_17,
+    main_Colormap_1_in_18,
+    main_Colormap_1_in_19
+    ) [instance: 1, cache: 1];
+    // 
+    // node Color[5]: x = 75, y = 330, inputs = 5, label = Color
+    // input[2]: defaulting = 1, visible = 1, type = 32, value = &quot;black&quot;
+    // input[3]: defaulting = 0, visible = 1, type = 5, value = 1.0
+    //
+main_Color_5_out_1 = 
+    Color(
+    main_Include_1_out_1,
+    main_Colormap_1_out_1,
+    main_Color_5_in_3,
+    main_Color_5_in_4,
+    main_Color_5_in_5
+    ) [instance: 5, cache: 1];
+    // 
+    // node String[7]: x = 292, y = 258, inputs = 0, label = String
+    // output[1]: visible = 1, type = 32, value = &quot;white&quot;
+    //
+    // 
+    // node ColorBar[1]: x = 181, y = 364, inputs = 16, label = ColorBar
+    // input[2]: defaulting = 0, visible = 1, type = 8, value = [0.11 0.07]
+    // input[3]: defaulting = 0, visible = 1, type = 8, value = [200 15]
+    // input[4]: defaulting = 0, visible = 1, type = 3, value = 0
+    // input[9]: defaulting = 1, visible = 1, type = 16777248, value = {&quot;white&quot;}
+    //
+main_ColorBar_1_out_1 = 
+    ColorBar(
+    main_Colormap_1_out_1,
+    main_ColorBar_1_in_2,
+    main_ColorBar_1_in_3,
+    main_ColorBar_1_in_4,
+    main_ColorBar_1_in_5,
+    main_ColorBar_1_in_6,
+    main_ColorBar_1_in_7,
+    main_ColorBar_1_in_8,
+    main_String_7_out_1,
+    main_ColorBar_1_in_10,
+    main_ColorBar_1_in_11,
+    main_ColorBar_1_in_12,
+    main_ColorBar_1_in_13,
+    main_ColorBar_1_in_14,
+    main_ColorBar_1_in_15,
+    main_ColorBar_1_in_16
+    ) [instance: 1, cache: 1];
+    // 
+    // node Collect[3]: x = 206, y = 458, inputs = 2, label = Collect
+    //
+main_Collect_3_out_1 = 
+    Collect(
+    main_Color_5_out_1,
+    main_ColorBar_1_out_1
+    ) [instance: 3, cache: 1];
+    // 
+    // node Shade[1]: x = 192, y = 551, inputs = 8, label = Shade
+    // input[2]: defaulting = 0, visible = 1, type = 3, value = 1
+    // input[3]: defaulting = 0, visible = 1, type = 32, value = &quot;smooth&quot;
+    // input[4]: defaulting = 0, visible = 0, type = 5, value = 0.25
+    // input[5]: defaulting = 1, visible = 0, type = 1, value = 0
+    // input[6]: defaulting = 0, visible = 0, type = 5, value = .5
+    // input[7]: defaulting = 0, visible = 0, type = 5, value = 3.0
+    //
+main_Shade_1_out_1 = 
+    Shade(
+    main_Collect_3_out_1,
+    main_Shade_1_in_2,
+    main_Shade_1_in_3,
+    main_Shade_1_in_4,
+    main_Shade_1_in_5,
+    main_Shade_1_in_6,
+    main_Shade_1_in_7,
+    main_Shade_1_in_8
+    ) [instance: 1, cache: 1];
+    // 
+    // node Image[2]: x = 196, y = 644, inputs = 49, label = Image
+    // input[1]: defaulting = 0, visible = 0, type = 67108863, value = &quot;Image_2&quot;
+    // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
+    // input[5]: defaulting = 0, visible = 0, type = 8, value = [77665.9 207554 0]
+    // input[6]: defaulting = 0, visible = 0, type = 8, value = [77665.9 207554 1.11565e+06]
+    // input[7]: defaulting = 0, visible = 0, type = 5, value = 181163.0
+    // input[8]: defaulting = 0, visible = 0, type = 1, value = 542
+    // input[9]: defaulting = 0, visible = 0, type = 5, value = 2.543
+    // input[10]: defaulting = 0, visible = 0, type = 8, value = [0 1 0]
+    // input[11]: defaulting = 1, visible = 0, type = 5, value = 9.28352
+    // input[12]: defaulting = 0, visible = 0, type = 1, value = 0
+    // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
+    // input[15]: defaulting = 1, visible = 0, type = 32, value = &quot;none&quot;
+    // input[16]: defaulting = 1, visible = 0, type = 32, value = &quot;none&quot;
+    // input[17]: defaulting = 1, visible = 0, type = 1, value = 1
+    // input[18]: defaulting = 1, visible = 0, type = 1, value = 1
+    // input[19]: defaulting = 0, visible = 0, type = 1, value = 0
+    // input[22]: defaulting = 0, visible = 0, type = 32, value = &quot;black&quot;
+    // input[25]: defaulting = 0, visible = 0, type = 32, value = &quot;ssh_rms1.tiff&quot;
+    // input[26]: defaulting = 0, visible = 0, type = 32, value = &quot;tiff gamma=1&quot;
+    // input[27]: defaulting = 0, visible = 0, type = 1, value = 1500
+    // input[28]: defaulting = 1, visible = 0, type = 5, value = 1.0
+    // input[29]: defaulting = 0, visible = 0, type = 3, value = 0
+    // input[30]: defaulting = 0, visible = 0, type = 16777248, value = {&quot;x axis&quot;, &quot;y axis&quot;, &quot;&quot;}
+    // input[31]: defaulting = 0, visible = 0, type = 16777217, value = { -15 -15 15 }
+    // input[34]: defaulting = 0, visible = 0, type = 3, value = 1
+    // input[37]: defaulting = 0, visible = 0, type = 16777248, value = {&quot;grey30&quot;, &quot;grey5&quot;, &quot;yellow&quot;, &quot;white&quot;}
+    // input[38]: defaulting = 0, visible = 0, type = 16777248, value = {&quot;background&quot;, &quot;grid&quot;, &quot;ticks&quot;, &quot;labels&quot;}
+    // input[39]: defaulting = 0, visible = 0, type = 5, value = 0.5
+    // input[41]: defaulting = 0, visible = 0, type = 32, value = &quot;panzoom&quot;
+    // depth: value = 24
+    // window: position = (0.4270,0.0095), size = 0.2172x0.8999, screen = 0
+    // internal caching: 1
+    //
+main_Image_2_out_1,
+main_Image_2_out_2,
+main_Image_2_out_3 = 
+    Image(
+    main_Image_2_in_1,
+    main_Shade_1_out_1,
+    main_Image_2_in_3,
+    main_Image_2_in_4,
+    main_Image_2_in_5,
+    main_Image_2_in_6,
+    main_Image_2_in_7,
+    main_Image_2_in_8,
+    main_Image_2_in_9,
+    main_Image_2_in_10,
+    main_Image_2_in_11,
+    main_Image_2_in_12,
+    main_Image_2_in_13,
+    main_Image_2_in_14,
+    main_Image_2_in_15,
+    main_Image_2_in_16,
+    main_Image_2_in_17,
+    main_Image_2_in_18,
+    main_Image_2_in_19,
+    main_Image_2_in_20,
+    main_Image_2_in_21,
+    main_Image_2_in_22,
+    main_Image_2_in_23,
+    main_Image_2_in_24,
+    main_Image_2_in_25,
+    main_Image_2_in_26,
+    main_Image_2_in_27,
+    main_Image_2_in_28,
+    main_Image_2_in_29,
+    main_Image_2_in_30,
+    main_Image_2_in_31,
+    main_Image_2_in_32,
+    main_Image_2_in_33,
+    main_Image_2_in_34,
+    main_Image_2_in_35,
+    main_Image_2_in_36,
+    main_Image_2_in_37,
+    main_Image_2_in_38,
+    main_Image_2_in_39,
+    main_Image_2_in_40,
+    main_Image_2_in_41,
+    main_Image_2_in_42,
+    main_Image_2_in_43,
+    main_Image_2_in_44,
+    main_Image_2_in_45,
+    main_Image_2_in_46,
+    main_Image_2_in_47,
+    main_Image_2_in_48,
+    main_Image_2_in_49
+    ) [instance: 2, cache: 1];
+// network: end of macro body
+CacheScene(main_Image_2_in_1, main_Image_2_out_1, main_Image_2_out_2);
+}
+main_FileSelector_1_out_1 = &quot;./movie/ocean.dx&quot;;
+main_String_1_out_1 = &quot;area&quot;;
+main_Import_1_in_3 = &quot;dx&quot;;
+main_Import_1_in_4 = NULL;
+main_Import_1_in_5 = NULL;
+main_Import_1_in_6 = NULL;
+main_Import_1_out_1 = NULL;
+main_Scalar_2_in_1 = &quot;Scalar_2&quot;;
+main_Scalar_2_in_2 = NULL;
+main_Scalar_2_in_3 = -1500.0 ;
+main_Scalar_2_in_4 = NULL;
+main_Scalar_2_in_5 = NULL;
+main_Scalar_2_in_6 = NULL;
+main_Scalar_2_in_7 = NULL;
+main_Scalar_2_in_8 = NULL;
+main_Scalar_2_in_9 = NULL;
+main_Scalar_2_in_10 = NULL;
+main_Scalar_2_in_11 = NULL;
+main_Scalar_2_out_1 = -1500.0 ;
+main_Scalar_1_in_1 = &quot;Scalar_1&quot;;
+main_Scalar_1_in_2 = NULL;
+main_Scalar_1_in_3 = -1498.0 ;
+main_Scalar_1_in_4 = NULL;
+main_Scalar_1_in_5 = NULL;
+main_Scalar_1_in_6 = NULL;
+main_Scalar_1_in_7 = NULL;
+main_Scalar_1_in_8 = NULL;
+main_Scalar_1_in_9 = NULL;
+main_Scalar_1_in_10 = NULL;
+main_Scalar_1_in_11 = NULL;
+main_Scalar_1_out_1 = -1498.0 ;
+main_Include_1_in_4 = 1;
+main_Include_1_in_5 = 1;
+main_Include_1_in_6 = NULL;
+main_Include_1_out_1 = NULL;
+main_Colormap_1_in_1 = { [0.0 0.74683544] [1.0 0.0] };
+main_Colormap_1_in_2 = { [0.0 1.0] [0.15300546 1.0] [0.66462168 1.0] [1.0 1.0] };
+main_Colormap_1_in_3 = { [0.84699454 1.0] };
+main_Colormap_1_in_4 = { [0.84972678 1.0] };
+main_Colormap_1_in_5 = &quot;Colormap_1&quot;;
+main_Colormap_1_in_7 = NULL;
+main_Colormap_1_in_8 = NULL;
+main_Colormap_1_in_9 = NULL;
+main_Colormap_1_in_10 = NULL;
+main_Colormap_1_in_11 = NULL;
+main_Colormap_1_in_12 = { -1.4018e-06 4.2214001e-06 };
+main_Colormap_1_in_13 = NULL;
+main_Colormap_1_in_14 = NULL;
+main_Colormap_1_in_15 = NULL;
+main_Colormap_1_in_16 = NULL;
+main_Colormap_1_in_17 = -1.4018e-06;
+main_Colormap_1_in_18 = 4.2214001e-06;
+main_Colormap_1_in_19 = NULL;
+main_Colormap_1_out_1 = NULL;
+main_Color_5_in_3 = 1.0;
+main_Color_5_in_4 = NULL;
+main_Color_5_in_5 = NULL;
+main_Color_5_out_1 = NULL;
+main_String_7_out_1 = &quot;white&quot;;
+main_ColorBar_1_in_2 = [0.11 0.07];
+main_ColorBar_1_in_3 = [200 15];
+main_ColorBar_1_in_4 = 0;
+main_ColorBar_1_in_5 = NULL;
+main_ColorBar_1_in_6 = NULL;
+main_ColorBar_1_in_7 = NULL;
+main_ColorBar_1_in_8 = NULL;
+main_ColorBar_1_in_10 = NULL;
+main_ColorBar_1_in_11 = NULL;
+main_ColorBar_1_in_12 = NULL;
+main_ColorBar_1_in_13 = NULL;
+main_ColorBar_1_in_14 = NULL;
+main_ColorBar_1_in_15 = NULL;
+main_ColorBar_1_in_16 = NULL;
+main_ColorBar_1_out_1 = NULL;
+main_Collect_3_out_1 = NULL;
+main_Shade_1_in_2 = 1;
+main_Shade_1_in_3 = &quot;smooth&quot;;
+main_Shade_1_in_4 = 0.25;
+main_Shade_1_in_5 = NULL;
+main_Shade_1_in_6 = .5;
+main_Shade_1_in_7 = 3.0;
+main_Shade_1_in_8 = NULL;
+main_Shade_1_out_1 = NULL;
+macro Image(
+        id,
+        object,
+        where,
+        useVector,
+        to,
+        from,
+        width,
+        resolution,
+        aspect,
+        up,
+        viewAngle,
+        perspective,
+        options,
+        buttonState = 1,
+        buttonUpApprox = &quot;none&quot;,
+        buttonDownApprox = &quot;none&quot;,
+        buttonUpDensity = 1,
+        buttonDownDensity = 1,
+        renderMode = 0,
+        defaultCamera,
+        reset,
+        backgroundColor,
+        throttle,
+        RECenable = 0,
+        RECfile,
+        RECformat,
+        RECresolution,
+        RECaspect,
+        AAenable = 0,
+        AAlabels,
+        AAticks,
+        AAcorners,
+        AAframe,
+        AAadjust,
+        AAcursor,
+        AAgrid,
+        AAcolors,
+        AAannotation,
+        AAlabelscale,
+        AAfont,
+        interactionMode,
+        title,
+        AAxTickLocs,
+        AAyTickLocs,
+        AAzTickLocs,
+        AAxTickLabels,
+        AAyTickLabels,
+        AAzTickLabels,
+        webOptions) -&gt; (
+        object,
+        camera,
+        where)
+{
+    ImageMessage(
+        id,
+        backgroundColor,
+        throttle,
+        RECenable,
+        RECfile,
+        RECformat,
+        RECresolution,
+        RECaspect,
+        AAenable,
+        AAlabels,
+        AAticks,
+        AAcorners,
+        AAframe,
+        AAadjust,
+        AAcursor,
+        AAgrid,
+        AAcolors,
+        AAannotation,
+        AAlabelscale,
+        AAfont,
+        AAxTickLocs,
+        AAyTickLocs,
+        AAzTickLocs,
+        AAxTickLabels,
+        AAyTickLabels,
+        AAzTickLabels,
+        interactionMode,
+        title,
+        renderMode,
+        buttonUpApprox,
+        buttonDownApprox,
+        buttonUpDensity,
+        buttonDownDensity) [instance: 1, cache: 1];
+    autoCamera =
+        AutoCamera(
+            object,
+            &quot;front&quot;,
+            object,
+            resolution,
+            aspect,
+            [0,1,0],
+            perspective,
+            viewAngle,
+            backgroundColor) [instance: 1, cache: 1];
+    realCamera =
+        Camera(
+            to,
+            from,
+            width,
+            resolution,
+            aspect,
+            up,
+            perspective,
+            viewAngle,
+            backgroundColor) [instance: 1, cache: 1];
+    coloredDefaultCamera = 
+         UpdateCamera(defaultCamera,
+            background=backgroundColor) [instance: 1, cache: 1];
+    nullDefaultCamera =
+        Inquire(defaultCamera,
+            &quot;is null + 1&quot;) [instance: 1, cache: 1];
+    resetCamera =
+        Switch(
+            nullDefaultCamera,
+            coloredDefaultCamera,
+            autoCamera) [instance: 1, cache: 1];
+    resetNull = 
+        Inquire(
+            reset,
+            &quot;is null + 1&quot;) [instance: 2, cache: 1];
+    reset =
+        Switch(
+            resetNull,
+            reset,
+            0) [instance: 2, cache: 1];
+    whichCamera =
+        Compute(
+            &quot;($0 != 0 || $1 == 0) ? 1 : 2&quot;,
+            reset,
+            useVector) [instance: 1, cache: 1];
+    camera = Switch(
+            whichCamera,
+            resetCamera,
+            realCamera) [instance: 3, cache: 1];
+    AAobject =
+        AutoAxes(
+            object,
+            camera,
+            AAlabels,
+            AAticks,
+            AAcorners,
+            AAframe,
+            AAadjust,
+            AAcursor,
+            AAgrid,
+            AAcolors,
+            AAannotation,
+            AAlabelscale,
+            AAfont,
+            AAxTickLocs,
+            AAyTickLocs,
+            AAzTickLocs,
+            AAxTickLabels,
+            AAyTickLabels,
+            AAzTickLabels) [instance: 1, cache: 1];
+    switchAAenable = Compute(&quot;$0+1&quot;,
+             AAenable) [instance: 2, cache: 1];
+    object = Switch(
+             switchAAenable,
+             object,
+             AAobject) [instance:4, cache: 1];
+    SWapproximation_options =
+        Switch(
+            buttonState,
+            buttonUpApprox,
+            buttonDownApprox) [instance: 5, cache: 1];
+    SWdensity_options =
+        Switch(
+            buttonState,
+            buttonUpDensity,
+            buttonDownDensity) [instance: 6, cache: 1];
+    HWapproximation_options =
+        Format(
+            &quot;%s,%s&quot;,
+            buttonDownApprox,
+            buttonUpApprox) [instance: 1, cache: 1];
+    HWdensity_options =
+        Format(
+            &quot;%d,%d&quot;,
+            buttonDownDensity,
+            buttonUpDensity) [instance: 2, cache: 1];
+    switchRenderMode = Compute(
+             &quot;$0+1&quot;,
+             renderMode) [instance: 3, cache: 1];
+    approximation_options = Switch(
+             switchRenderMode,
+            SWapproximation_options,
+             HWapproximation_options) [instance: 7, cache: 1];
+    density_options = Switch(
+             switchRenderMode,
+            SWdensity_options,
+            HWdensity_options) [instance: 8, cache: 1];
+    renderModeString = Switch(
+            switchRenderMode,
+            &quot;software&quot;,
+            &quot;hardware&quot;)[instance: 9, cache: 1];
+    object_tag = Inquire(
+            object,
+            &quot;object tag&quot;)[instance: 3, cache: 1];
+    annoted_object =
+        Options(
+            object,
+            &quot;send boxes&quot;,
+            0,
+            &quot;cache&quot;,
+            1,
+            &quot;object tag&quot;,
+            object_tag,
+            &quot;ddcamera&quot;,
+            whichCamera,
+            &quot;rendering approximation&quot;,
+            approximation_options,
+            &quot;render every&quot;,
+            density_options,
+            &quot;button state&quot;,
+            buttonState,
+            &quot;rendering mode&quot;,
+            renderModeString) [instance: 1, cache: 1];
+    RECresNull =
+        Inquire(
+            RECresolution,
+            &quot;is null + 1&quot;) [instance: 4, cache: 1];
+    ImageResolution =
+        Inquire(
+            camera,
+            &quot;camera resolution&quot;) [instance: 5, cache: 1];
+    RECresolution =
+        Switch(
+            RECresNull,
+            RECresolution,
+            ImageResolution) [instance: 10, cache: 1];
+    RECaspectNull =
+        Inquire(
+            RECaspect,
+            &quot;is null + 1&quot;) [instance: 6, cache: 1];
+    ImageAspect =
+        Inquire(
+            camera,
+            &quot;camera aspect&quot;) [instance: 7, cache: 1];
+    RECaspect =
+        Switch(
+            RECaspectNull,
+            RECaspect,
+            ImageAspect) [instance: 11, cache: 1];
+    switchRECenable = Compute(
+          &quot;$0 == 0 ? 1 : (($2 == $3) &amp;&amp; ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4&quot;,
+            RECenable,
+            switchRenderMode,
+            RECresolution,
+            ImageResolution,
+            RECaspect,
+             ImageAspect) [instance: 4, cache: 1];
+    NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object);
+    Display(
+        NoRECobject,
+        camera,
+        where,
+        throttle) [instance: 1, cache: 1];
+    image =
+        Render(
+            RECNoRerenderObject,
+            camera) [instance: 1, cache: 1];
+    Display(
+        image,
+        NULL,
+        where,
+        throttle) [instance: 2, cache: 1];
+    WriteImage(
+        image,
+        RECfile,
+        RECformat) [instance: 1, cache: 1];
+    rec_where = Display(
+        RECNoRerHW,
+        camera,
+        where,
+        throttle) [instance: 1, cache: 0];
+    rec_image = ReadImageWindow(
+        rec_where) [instance: 1, cache: 1];
+    WriteImage(
+        rec_image,
+        RECfile,
+        RECformat) [instance: 1, cache: 1];
+    RECupdateCamera =
+        UpdateCamera(
+            camera,
+            resolution=RECresolution,
+            aspect=RECaspect) [instance: 2, cache: 1];
+    Display(
+        RECRerenderObject,
+        camera,
+        where,
+        throttle) [instance: 1, cache: 1];
+    RECRerenderObject =
+        ScaleScreen(
+            RECRerenderObject,
+            NULL,
+            RECresolution,
+            camera) [instance: 1, cache: 1];
+    image =
+        Render(
+            RECRerenderObject,
+            RECupdateCamera) [instance: 2, cache: 1];
+    WriteImage(
+        image,
+        RECfile,
+        RECformat) [instance: 2, cache: 1];
+}
+main_Image_2_in_1 = &quot;Image_2&quot;;
+main_Image_2_in_3 = &quot;X24,,&quot;;
+main_Image_2_in_4 = 1;
+main_Image_2_in_5 = [77665.9 207554 0];
+main_Image_2_in_6 = [77665.9 207554 1.11565e+06];
+main_Image_2_in_7 = 181163.0;
+main_Image_2_in_8 = 542;
+main_Image_2_in_9 = 2.543;
+main_Image_2_in_10 = [0 1 0];
+main_Image_2_in_11 = NULL;
+main_Image_2_in_12 = 0;
+main_Image_2_in_13 = NULL;
+main_Image_2_in_14 = 1;
+main_Image_2_in_15 = NULL;
+main_Image_2_in_16 = NULL;
+main_Image_2_in_17 = NULL;
+main_Image_2_in_18 = NULL;
+main_Image_2_in_19 = 0;
+main_Image_2_in_20 = NULL;
+main_Image_2_in_21 = NULL;
+main_Image_2_in_22 = &quot;black&quot;;
+main_Image_2_in_23 = NULL;
+main_Image_2_in_25 = &quot;ssh_rms1.tiff&quot;;
+main_Image_2_in_26 = &quot;tiff gamma=1&quot;;
+main_Image_2_in_27 = 1500;
+main_Image_2_in_28 = NULL;
+main_Image_2_in_29 = 0;
+main_Image_2_in_30 = {&quot;x axis&quot;, &quot;y axis&quot;, &quot;&quot;};
+main_Image_2_in_31 = { -15 -15 15 };
+main_Image_2_in_32 = NULL;
+main_Image_2_in_33 = NULL;
+main_Image_2_in_34 = 1;
+main_Image_2_in_35 = NULL;
+main_Image_2_in_36 = NULL;
+main_Image_2_in_37 = {&quot;grey30&quot;, &quot;grey5&quot;, &quot;yellow&quot;, &quot;white&quot;};
+main_Image_2_in_38 = {&quot;background&quot;, &quot;grid&quot;, &quot;ticks&quot;, &quot;labels&quot;};
+main_Image_2_in_39 = 0.5;
+main_Image_2_in_40 = NULL;
+main_Image_2_in_41 = &quot;panzoom&quot;;
+main_Image_2_in_42 = NULL;
+main_Image_2_in_43 = NULL;
+main_Image_2_in_44 = NULL;
+main_Image_2_in_45 = NULL;
+main_Image_2_in_46 = NULL;
+main_Image_2_in_47 = NULL;
+main_Image_2_in_48 = NULL;
+main_Image_2_in_49 = NULL;
+Executive(&quot;product version 4 4 4&quot;);
+$sync
+main();

Modified: branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/matlab/dump_frames_for_OpenDX.m
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/matlab/dump_frames_for_OpenDX.m        2012-03-15 22:11:29 UTC (rev 1652)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/viz_tools/matlab/dump_frames_for_OpenDX.m        2012-03-15 22:14:03 UTC (rev 1653)
@@ -4,12 +4,17 @@
 
 clear all
 
+% 10km: nx=16, nx=50, 4km: nx=40, ny=125, 1km: nx=160, ny=500
 %-------------------------------------------------------------------------
 
-nVertLevels = 20
+nx=160
+ny=500
 iLevel = 1
 var = 'Vor_cell'
-file = '../../1000m_20levs/se20_160_4procs/output.0000-01-01_00:00:00.nc'
+resolution = '../../1000m_20levs'
+time_step = 'se20_160_4procs'
+output = 'output.0000-01-01_00:00:00.nc'
+file = [resolution '/' time_step '/' output]
 
 %optional
 nTimeMin = -1;
@@ -53,6 +58,20 @@
 
 system('rm -f ../OpenDX/movie/list.dx')
 system('rm -f ../OpenDX/movie/data/scalar.*')
+system('rm -f ../OpenDX/movie/*.dx')
+system('rm -f ../OpenDX/movie/*.data')
+str1 = [ 'cp ' resolution '/dx/ocean.dx ../OpenDX/movie/.' ]
+str2 = [ 'cp ' resolution '/dx/ocean.position.data ../OpenDX/movie/.' ]
+str3 = [ 'cp ' resolution '/dx/ocean.face.data ../OpenDX/movie/.' ]
+str4 = [ 'cp ' resolution '/dx/ocean.loop.data ../OpenDX/movie/.' ]
+str5 = [ 'cp ' resolution '/dx/ocean.edge.data ../OpenDX/movie/.' ]
+system(str1)
+system(str2)
+system(str3)
+system(str4)
+system(str5)
+
+
 f1 = '../OpenDX/movie/list.dx'
 fid = fopen(f1, 'w');
 
@@ -77,44 +96,50 @@
 fprintf(fid, '</font>
<font color="red">')
 
 varName = 'scalar'
+
 for iTime=iTimeMin:iTimeMax
     
-    if(iTime &gt; 1000); quit; end;
-     if(iTime &lt; 1000) 
-        stringTime =  strcat('0000', int2str(iTime));
+    if(iTime &gt; 1001); quit; end;
+     if(iTime &lt; 1001) 
+        stringTime =  strcat('0000', int2str(iTime-1));
      end;
-     if(iTime &lt; 100) 
-        stringTime = strcat('00000', int2str(iTime));
+     if(iTime &lt; 101) 
+        stringTime = strcat('00000', int2str(iTime-1));
      end;
-     if(iTime &lt; 10) 
-        stringTime = strcat('000000', int2str(iTime));
+     if(iTime &lt; 11) 
+        stringTime = strcat('000000', int2str(iTime-1));
      end;
     
     FileName = strcat('../OpenDX/movie/data/', varName, '.', stringTime)
     F1 =  strcat('./data/', varName, '.', stringTime)
     
     x = var(iLevel,:,iTime+nTimeShift);
+    work = reshape(x,nx,ny);
+    work(1,:)=-1499.0;
+    work(nx,:)=-1499.0;
+    x=reshape(work,1,nx*ny);
     
     dlmwrite(FileName, x, 'delimiter', '\t');
     
-    fprintf(fid,'object %i  class array type float rank 0 items 80000</font>
<font color="blue">', iTime)
+    fprintf(fid,'object %i  class array type float rank 0 items 80000</font>
<font color="black">', iTime-1)
     fprintf(fid,'data file %s</font>
<font color="black">', F1)
     fprintf(fid, 'attribute &quot;dep&quot; string &quot;faces&quot;</font>
<font color="black">')
     fprintf(fid, '</font>
<font color="gray">')
 
 end
 
+system('cp ./data/scalar.0000001 ./ocean.area.data')
 
 for iTime=iTimeMin:iTimeMax
-     if(iTime &gt; 1000); quit; end;
-     if(iTime &lt; 1000) 
-        stringTime =  strcat('0000', int2str(iTime));
+     if(iTime &gt; 1001); quit; end;
+     if(iTime &lt; 1001) 
+        stringTime =  strcat('0000', int2str(iTime-1));
      end;
-     if(iTime &lt; 100) 
-        stringTime = strcat('00000', int2str(iTime));
+     if(iTime &lt; 101) 
+        stringTime = strcat('00000', int2str(iTime-1));
      end;
-     if(iTime &lt; 10) 
-        stringTime = strcat('000000', int2str(iTime));
+     if(iTime &lt; 11) 
+        stringTime = strcat('000000', int2str(iTime-1));
      end;
 
      VarName = strcat('&quot;',varName, stringTime, '&quot;')
@@ -123,29 +148,27 @@
      fprintf(fid, 'component &quot;edges&quot;         &quot;edge list&quot;</font>
<font color="black">')
      fprintf(fid, 'component &quot;loops&quot;         &quot;loops list&quot;</font>
<font color="black">')
      fprintf(fid, 'component &quot;faces&quot;         &quot;face list&quot;</font>
<font color="red">')
-     fprintf(fid, 'component &quot;data&quot;          %i</font>
<font color="blue">', iTime)
+     fprintf(fid, 'component &quot;data&quot;          %i</font>
<font color="black">', iTime-1)
     fprintf(fid, '</font>
<font color="black">')
 
 end
 
 fprintf(fid, 'object &quot;smovie&quot; class series</font>
<font color="red">')
 for iTime=iTimeMin:iTimeMax
-     if(iTime &gt; 1000); quit; end;
-     if(iTime &lt; 1000) 
-        stringTime =  strcat('0000', int2str(iTime));
+     if(iTime &gt; 1001); quit; end;
+     if(iTime &lt; 1001) 
+        stringTime =  strcat('0000', int2str(iTime-1));
      end;
-     if(iTime &lt; 100) 
-        stringTime = strcat('00000', int2str(iTime));
+     if(iTime &lt; 101) 
+        stringTime = strcat('00000', int2str(iTime-1));
      end;
-     if(iTime &lt; 10) 
-        stringTime = strcat('000000', int2str(iTime));
+     if(iTime &lt; 11) 
+        stringTime = strcat('000000', int2str(iTime-1));
      end;
 
      VarName = strcat('&quot;',varName, stringTime, '&quot;')
-     fprintf(fid, 'member %i value %s position %i</font>
<font color="blue">',iTime, VarName, iTime)
+     fprintf(fid, 'member %i value %s position %i</font>
<font color="red">',iTime-1, VarName, iTime-1)
 
 end
 
-
-
-fclose(fid);
+fclose(fid);
\ No newline at end of file

</font>
</pre>