Index: /issm/branches/trunk-jpl-ad2/src/m/plot/plot_gl.m
===================================================================
--- /issm/branches/trunk-jpl-ad2/src/m/plot/plot_gl.m	(revision 18351)
+++ /issm/branches/trunk-jpl-ad2/src/m/plot/plot_gl.m	(revision 18352)
@@ -45,5 +45,5 @@
 
 %ocean zero threshold: 
-replacestringinfile('./generic/editables.js','var ocean_threshold = .001;',['var ocean_threshold = ' num2str(getfieldvalue(options,'ocean_threshold',.001)) ';']);
+replacestringinfile('./generic/editables.js','var ocean_threshold = 637.0;',['var ocean_threshold = ' num2str(getfieldvalue(options,'ocean_threshold',.001)) ';']);
 
 %intial view angle: 
@@ -125,4 +125,6 @@
 		writejsfield(fid,['data' num2str(i)],data,md.mesh.numberofvertices);
 	end
+	fclose(fid);
+	
 	replacestringinfile('./generic/editables.js','"Velocity"',labelstring);
 	replacestringinfile('./generic/editables.js','"V"',shortlabelstring);
@@ -131,9 +133,6 @@
 	replacestringinfile('./generic/editables.js','var data_max_array = [3500',['var data_max_array = [' caxis2string]);
 	replacestringinfile('./generic/editables.js','"m/yr"',unitstring);
+
 	replacestringinfile('./generic/editables.js','initialZoomFactor = -.20;',['initialZoomFactor = ' num2str(zoom) ';']);
-	
-
-
-	fclose(fid);
 % }}}
 
Index: /issm/branches/trunk-jpl-ad2/src/m/plot/prepare_gl.m
===================================================================
--- /issm/branches/trunk-jpl-ad2/src/m/plot/prepare_gl.m	(revision 18351)
+++ /issm/branches/trunk-jpl-ad2/src/m/plot/prepare_gl.m	(revision 18352)
@@ -21,5 +21,5 @@
 	radar_image_earth='/Users/larour/ModelData/TrueMarble_GeoTIFF/radar_no_greenland.png';
 	triangulation_earth='/Users/larour/ModelData/DEM_geotiff/processed/triangulation_greenland.mat';
-	triangulation='/u/astrid-r1b/ModelData/HowatDEMGreenland2012/triangulated/triangulation_15.mat';
+	triangulation='/u/astrid-r1b/ModelData/HowatDEMGreenland2012/triangulated/triangulation_2.mat';
 	radar_image='/u/astrid-r1b/ModelData/HowatDEMGreenland2012/triangulated/radar.latlong.png';
 else
