Index: /issm/trunk-jpl/src/m/classes/SMBgradientscomponents.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/SMBgradientscomponents.m	(revision 24529)
+++ /issm/trunk-jpl/src/m/classes/SMBgradientscomponents.m	(revision 24530)
@@ -46,8 +46,8 @@
 		function	md=checkconsistency(self,md,solution,analyses) % {{{
 			if ismember('MasstransportAnalysis',analyses),
-				md = checkfield(md,'fieldname','smb.accuref','singleseries',1,'NaN',1,'Inf',1);
+				md = checkfield(md,'fieldname','smb.accuref','singletimeseries',1,'NaN',1,'Inf',1);
 				md = checkfield(md,'fieldname','smb.accualti','numel',1,'NaN',1,'Inf',1);
 				md = checkfield(md,'fieldname','smb.accugrad','numel',1,'NaN',1,'Inf',1);
-				md = checkfield(md,'fieldname','smb.runoffref','singleseries',1,'NaN',1,'Inf',1);
+				md = checkfield(md,'fieldname','smb.runoffref','singletimeseries',1,'NaN',1,'Inf',1);
 				md = checkfield(md,'fieldname','smb.runoffalti','numel',1,'NaN',1,'Inf',1);
 				md = checkfield(md,'fieldname','smb.runoffgrad','numel',1,'NaN',1,'Inf',1);
Index: /issm/trunk-jpl/src/m/contrib/defleurian/netCDF/export_netCDF.m
===================================================================
--- /issm/trunk-jpl/src/m/contrib/defleurian/netCDF/export_netCDF.m	(revision 24529)
+++ /issm/trunk-jpl/src/m/contrib/defleurian/netCDF/export_netCDF.m	(revision 24530)
@@ -1,4 +1,4 @@
-function export_netCDF(md,filename)	
-	
+function export_netCDF(md,filename)
+
 %Now going on Real treatment
 	if exist(filename),
@@ -17,7 +17,7 @@
 	mode = bitor(mode,netcdf.getConstant('NC_NOCLOBBER'));%NOCLOBBER to avoid overwrite
 	ncid = netcdf.create(filename,mode);
-	netcdf.putAtt(ncid,netcdf.getConstant('NC_GLOBAL'),'Title',['Results for run ' md.miscellaneous.name]);
-	netcdf.putAtt(ncid,netcdf.getConstant('NC_GLOBAL'),'Date',['Created ' datestr(now)]);
-	
+	netcdf.putAtt(ncid,netcdf.getConstant('NC_GLOBAL'),'description',['Results for run ' md.miscellaneous.name]);
+	netcdf.putAtt(ncid,netcdf.getConstant('NC_GLOBAL'),'history',['Created ' datestr(now)]);
+
 	%gather geometry and timestepping as dimensions
 	resfields=fieldnames(md.results);
@@ -27,8 +27,8 @@
 	else
 		StepNum=1;
-  end							
+  end
 
    dimlist=[40,2,md.mesh.numberofelements,md.mesh.numberofvertices,size(md.mesh.elements,2)];
- 
+
 	%define netcdf dimensions
 	DimSize(1).index=netcdf.defDim(ncid,'Dimension1',StepNum);
@@ -44,5 +44,5 @@
 
 	typelist=[{'numeric'} {'logical'} {'string'} {'char'} {'cell'}];
- 
+
 	%get all model classes and create respective groups
 	groups=fieldnames(md);
@@ -79,5 +79,5 @@
 						elseif isprop(Var{l},'step')
 							lname=Var{l}.step
-						else 
+						else
 							lname=[class(Var{l}) int2str(l)];
 						end
@@ -260,5 +260,5 @@
 		end
 	end
-	%if we have a cell variable we need to add a stringlength dimension 
+	%if we have a cell variable we need to add a stringlength dimension
 	if isa(Var,'struct'),
 		if DimValue(3)~=2
