Index: /issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpBedmachineGreenland.m
===================================================================
--- /issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpBedmachineGreenland.m	(revision 25733)
+++ /issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpBedmachineGreenland.m	(revision 25734)
@@ -54,6 +54,5 @@
 		morlighem2013nc=['/home/ModelData/Greenland/BedMachine/' basename '-' ncdate '.nc'];
 	otherwise
-		morlighem2013nc=['/Users/larour/ModelData/BedMachine/' basename '-' ncdate '.nc'];
-		disp('machine not supported yet, using default path /Users/larour/ModelData/BedMachine/');
+		error('machine not supported yet');
 end
 
@@ -82,14 +81,10 @@
 data(find(data==-9999))=NaN;
 
-ydata=flipud(ydata);
-data=flipud(data);
-    
 disp(['   -- BedMachine Greenland: interpolating ' string]);
 if strcmp(string,'mask') | strcmp(string,'source'),
 	%Need nearest neighbor to avoid interpolation between 0 and 2
-	output = InterpFromGridToMesh(xdata,ydata,data,double(X),double(Y),'nearest');
+	output = InterpFromGrid(xdata,ydata,data,double(X),double(Y),'nearest');
 else
-    
-	output = InterpFromGridToMesh(xdata,ydata,data,double(X),double(Y),NaN);
+	output = InterpFromGrid(xdata,ydata,data,double(X),double(Y));
 end
 
