Index: /issm/branches/trunk-larour-SLPS2022/src/m/classes/mask.m
===================================================================
--- /issm/branches/trunk-larour-SLPS2022/src/m/classes/mask.m	(revision 27113)
+++ /issm/branches/trunk-larour-SLPS2022/src/m/classes/mask.m	(revision 27114)
@@ -86,4 +86,11 @@
 				for i=1:length(self.ocean_levelset),
 					md = checkfield(md,'field',self.ocean_levelset{i},'NaN',0,'Inf',1,'timeserieslength',1,'Inf',1);
+					%check time stamps: they should be in seconds 
+					h=self.ocean_levelset{i};
+					times=h(end,:);
+					avgtime=mean(times);
+					if(avgtime<10000)
+						error('mask checkconsistency error messages: time tags for ocean_levelset should be in seconds!');
+					end
 				end
 			else
@@ -94,4 +101,11 @@
 				for i=1:length(self.ice_levelset),
 					md = checkfield(md,'field',self.ice_levelset{i},'NaN',0,'Inf',1,'timeserieslength',1,'Inf',1);
+					%check time stamps: they should be in seconds 
+					h=self.ice_levelset{i};
+					times=h(end,:);
+					avgtime=mean(times);
+					if(avgtime<10000)
+						error('mask checkconsistency error messages: time tags for ice_levelset should be in seconds!');
+					end
 				end
 			else
