Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
585dc90d
Commit
585dc90d
authored
Aug 15, 2016
by
Uwe Schulzweida
Browse files
printZaxis: set dig to 7.
parent
c88160e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/printinfo.h
View file @
585dc90d
...
...
@@ -501,9 +501,9 @@ void printZaxisInfo(int vlistID)
int
zaxistype
=
zaxisInqType
(
zaxisID
);
int
ltype
=
zaxisInqLtype
(
zaxisID
);
int
levelsize
=
zaxisInqSize
(
zaxisID
);
int
prec
=
zaxisInqPrec
(
zaxisID
);
int
dig
=
(
prec
==
DATATYPE_FLT64
)
?
15
:
7
;
//
int prec = zaxisInqPrec(zaxisID);
// int dig = (prec == DATATYPE_FLT64) ? 15 : 7;
int
dig
=
7
;
zaxisName
(
zaxistype
,
zaxisname
);
zaxisInqName
(
zaxisID
,
zname
);
...
...
@@ -651,7 +651,7 @@ int printDateTime(int ntimeout, int vdate, int vtime)
fprintf
(
stdout
,
" %s %s"
,
vdatestr
,
vtimestr
);
return
(
++
ntimeout
)
;
return
++
ntimeout
;
}
#define NUM_TIMESTEP 60
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment