<p><b>dwj07@fsu.edu</b> 2012-02-28 11:21:47 -0700 (Tue, 28 Feb 2012)</p><p><br>
        -- BRANCH COMMIT --<br>
<br>
        Changing default colorbar max and min to be surface max and min.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/visualize_channel.py
===================================================================
--- branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/visualize_channel.py        2012-02-28 18:17:07 UTC (rev 1546)
+++ branches/ocean_projects/ocean_test_cases_staging/ocean/baroclinic_channel/visualize_channel.py        2012-02-28 18:21:47 UTC (rev 1547)
@@ -25,12 +25,12 @@
        parser.error("Variable is a required input.")
if not options.maximum:
-        color_max = 13.0
+        color_max = 0.0
else:
        color_max = float(options.maximum)
if not options.minimum:
-        color_min = 11.0
+        color_min = 0.0
else:
        color_min = float(options.minimum)
@@ -78,6 +78,10 @@
print "Global max = ", global_max, " Global min = ", global_min
print "Surface max = ", maxval, " Surface min = ", minval
+if color_max == color_min:
+        color_max = maxval
+        color_min = minval
+
step = (color_max - color_min) / steps
color_bar_levels = arange(color_min-step, color_max+step, step)
</font>
</pre>