Index: /trunk/tools/vertical_interpolation.py
===================================================================
--- /trunk/tools/vertical_interpolation.py	(revision 367)
+++ /trunk/tools/vertical_interpolation.py	(revision 368)
@@ -314,4 +314,5 @@
             varu = 'gpm'
             varinterp = np.zeros((dimv[0], Nintvals, dimv[2], dimv[3]), dtype=np.float)
+            newvar = newnc.createVariable(var, 'f4', ('time','z','y','x'))
         elif var == 'WRFrh':
             print '    ' + main + ': computing relative humidity from WRF as ' +     \
@@ -331,4 +332,5 @@
             varu = '%'
             varinterp = np.zeros((dimv[0], Nintvals, dimv[2], dimv[3]), dtype=np.float)
+            newvar = newnc.createVariable(var, 'f4', ('time','z','y','x'))
         elif var == 'WRFt':
             print '    ' + main + ': computing temperature from WRF as ' +           \
@@ -342,4 +344,5 @@
             varu = 'K'
             varinterp = np.zeros((dimv[0], Nintvals, dimv[2], dimv[3]), dtype=np.float)
+            newvar = newnc.createVariable(var, 'f4', ('time','z','y','x'))
         else:
             print errormsg
