Index: /issm/trunk-jpl/src/m/contrib/defleurian/paraview/exportVTU.py
===================================================================
--- /issm/trunk-jpl/src/m/contrib/defleurian/paraview/exportVTU.py	(revision 27198)
+++ /issm/trunk-jpl/src/m/contrib/defleurian/paraview/exportVTU.py	(revision 27199)
@@ -390,4 +390,5 @@
             # loop on arguments, if something other than result is asked, do it now {{{
             for other in args:
+                treated_res = []
                 if verbose > 3:
                     print("Now treating {}".format(other))
@@ -445,5 +446,4 @@
                 cellkeys = list(saved_cells.keys())
                 edgekeys = list(saved_edges.keys())
-                print(cellkeys, edgekeys)
                 if len(cellkeys) > 0 and len(edgekeys) > 0:
                     savekeys = list(saved_cells.keys())
@@ -457,5 +457,5 @@
                 fid.write('      <CellData Scalars="{}">\n'.format(savekeys))
 
-            if len(cellkeys) > 0:
+            if np.size(list(saved_cells.keys())) > 0:
                 for key in cellkeys:
                     outval = saved_cells[key]
@@ -493,5 +493,5 @@
                 for key in list(saved_const.keys()):
                     fid.write('        <DataArray type="Float32" Name="{}" format="{}">\n'.format(key, fmtout))
-                    WriteIt(current_time, fid, fmtout)
+                    WriteIt(saved_const[key], fid, fmtout)
                     fid.write('        </DataArray>\n')
                 fid.write('      </FieldData>\n')
