Commit 5fc928bb authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Info: print footer only for more than 36 output lines.

parent f31a5421
......@@ -298,6 +298,7 @@ Info(void *process)
e = "Parameter ID";
std::string v = (Options::cdoVerbose) ? " : Extra" : "";
int indg = 0;
for (int indf = 0; indf < cdoStreamCnt(); indf++)
{
......@@ -320,7 +321,7 @@ Info(void *process)
else
array.resize(gridsizemax);
int indg = 0;
indg = 0;
int tsID = 0;
while ((nrecs = cdoStreamInqTimestep(streamID, tsID)))
{
......@@ -540,7 +541,7 @@ Info(void *process)
cdoStreamClose(streamID);
}
if (operatorID != MAP)
if (indg > 36 && operatorID != MAP)
{
set_text_color(stdout, BRIGHT);
MpMO::Print(" : Date Time %s Gridsize Miss : Minimum Mean Maximum : %s%s",
......
......@@ -11,4 +11,3 @@
10 : 0000-10-01 00:00:00 0 2592 0 : -60.800 4.6208 30.700 : 1
11 : 0000-11-01 00:00:00 0 2592 0 : -47.000 3.8041 31.000 : 1
12 : 0000-12-01 00:00:00 0 2592 0 : -46.300 3.5452 31.800 : 1
: Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter ID
-1 : Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter ID
1 : 1958-09-01 00:00:00 0 35718 0 : 94858. 1.0104e+05 1.0374e+05 : 151.128
: Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter ID
......@@ -11,4 +11,3 @@
10 : 0000-10-01 00:00:00 0 2592 0 : -60.800 4.6208 30.700 : tem
11 : 0000-11-01 00:00:00 0 2592 0 : -47.000 3.8041 31.000 : tem
12 : 0000-12-01 00:00:00 0 2592 0 : -46.300 3.5452 31.800 : tem
: Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter name
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment