Index: /issm/trunk-jpl/src/m/classes/model/model.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/model/model.m	(revision 14630)
+++ /issm/trunk-jpl/src/m/classes/model/model.m	(revision 14631)
@@ -1174,5 +1174,5 @@
 
 		%Preallocate variable id, needed to write variables in netcdf file
-		var_id=zeros(300,1);%preallocate
+		var_id=zeros(1000,1);%preallocate
 
 		for step=1:2,
@@ -1182,6 +1182,6 @@
 		end
 
-		if counter>300,
-			warning('preallocation of var_id need to be updated');
+		if counter>1000,
+			warning(['preallocation of var_id need to be updated from ' num2str(1000) ' to ' num2str(counter)]);
 		end
 
