From acf53c406e262b8150cff105be4d40b4246b1fed Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Thu, 13 Nov 2014 10:44:31 +0000
Subject: [PATCH] app/cdi added support for tsteptype=TSTEP_AVG

---
 app/cdi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/cdi.c b/app/cdi.c
index 498108d58..05df71912 100644
--- a/app/cdi.c
+++ b/app/cdi.c
@@ -367,6 +367,7 @@ void printShortinfo(int streamID, int vlistID, int vardis)
 	  else if ( tsteptype == TSTEP_INSTANT3 ) fprintf(stdout, "%-8s ", "instant");
 	  else if ( tsteptype == TSTEP_MIN      ) fprintf(stdout, "%-8s ", "min");
 	  else if ( tsteptype == TSTEP_MAX      ) fprintf(stdout, "%-8s ", "max");
+	  else if ( tsteptype == TSTEP_AVG      ) fprintf(stdout, "%-8s ", "avg");
 	  else if ( tsteptype == TSTEP_ACCUM    ) fprintf(stdout, "%-8s ", "accum");
 	  else if ( tsteptype == TSTEP_RANGE    ) fprintf(stdout, "%-8s ", "range");
 	  else if ( tsteptype == TSTEP_DIFF     ) fprintf(stdout, "%-8s ", "diff");
-- 
GitLab