Changeset 27114
- Timestamp:
- 06/27/22 08:35:43 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-SLPS2022/src/m/classes/mask.m
r25758 r27114 86 86 for i=1:length(self.ocean_levelset), 87 87 md = checkfield(md,'field',self.ocean_levelset{i},'NaN',0,'Inf',1,'timeserieslength',1,'Inf',1); 88 %check time stamps: they should be in seconds 89 h=self.ocean_levelset{i}; 90 times=h(end,:); 91 avgtime=mean(times); 92 if(avgtime<10000) 93 error('mask checkconsistency error messages: time tags for ocean_levelset should be in seconds!'); 94 end 88 95 end 89 96 else … … 94 101 for i=1:length(self.ice_levelset), 95 102 md = checkfield(md,'field',self.ice_levelset{i},'NaN',0,'Inf',1,'timeserieslength',1,'Inf',1); 103 %check time stamps: they should be in seconds 104 h=self.ice_levelset{i}; 105 times=h(end,:); 106 avgtime=mean(times); 107 if(avgtime<10000) 108 error('mask checkconsistency error messages: time tags for ice_levelset should be in seconds!'); 109 end 96 110 end 97 111 else
Note:
See TracChangeset
for help on using the changeset viewer.