Index: ../trunk-jpl/src/m/contrib/netCDF/export_netCDF.py
===================================================================
--- ../trunk-jpl/src/m/contrib/netCDF/export_netCDF.py	(revision 18868)
+++ ../trunk-jpl/src/m/contrib/netCDF/export_netCDF.py	(revision 18869)
@@ -171,6 +171,7 @@
 					#grab first time step
 					subfields=dict.keys(md.results.__dict__[supfield].__getitem__(0).__dict__)
 					for field in subfields:
+						NCgroup.__setattr__('classtype', md.results.__dict__[supfield].__class__.__name__)
 						if str(field)!='errlog' and str(field)!='outlog' and str(field)!='SolutionType':
 							Var=md.results.__dict__[supfield].__getitem__(0).__dict__[field]
 							CreateVar(Var,True,last_step,step_freq)
@@ -178,6 +179,7 @@
 				elif type(md.results.__dict__[supfield])==results:#only one timestep
 					subfields=dict.keys(md.results.__dict__[supfield].__dict__)
 					for field in subfields:
+						NCgroup.__setattr__('classtype', md.results.__dict__[supfield].__class__.__name__)
 						if str(field)!='errlog' and str(field)!='outlog' and str(field)!='SolutionType':
 #							print 'Treating '+str(group)+'.'+str(supfield)+'.'+str(field)
 							Var=md.results.__dict__[supfield].__dict__[field]
@@ -188,6 +190,7 @@
 			
 			for field in fields:
 #				print 'Treating ' +str(group)+'.'+str(field)
+				NCgroup.__setattr__('classtype', md.__dict__[group].__class__.__name__)
 				Var=md.__dict__[group].__dict__[field]
 				CreateVar(Var,False)
 	NCData.close()
