Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Merge requests
!136
M214003/develop
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
M214003/develop
m214003/develop
into
develop
Overview
0
Commits
5
Pipelines
3
Changes
12
Merged
Uwe Schulzweida
requested to merge
m214003/develop
into
develop
2 months ago
Overview
0
Commits
5
Pipelines
3
Changes
12
Expand
0
0
Merge request reports
Compare
develop
version 2
86cb64c3
2 months ago
version 1
16ec4b1a
2 months ago
develop (base)
and
latest version
latest version
ff8e438e
5 commits,
2 months ago
version 2
86cb64c3
5 commits,
2 months ago
version 1
16ec4b1a
4 commits,
2 months ago
12 files
+
57
−
26
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
app/printinfo.c
+
5
−
4
Options
@@ -300,8 +300,8 @@ printGridInfoKernel(int gridID, int index, bool lproj)
size_t
xsize
=
(
size_t
)
gridInqXsize
(
gridID
);
size_t
ysize
=
(
size_t
)
gridInqYsize
(
gridID
);
// int
prec = gridInqDatatype(gridID)
;
//
int dig = (prec ==
CDI_DATATYPE
_FLT64) ? 15 : 7
;
// int
datatype
;
//
cdiInqKeyInt(gridID, CDI_GLOBAL,
CDI_
KEY_
DATATYPE
, &datatype)
;
int
dig
=
7
;
if
(
!
lproj
)
@@ -537,8 +537,9 @@ printZaxisInfo(int vlistID)
int
ltype
=
0
;
cdiInqKeyInt
(
zaxisID
,
CDI_GLOBAL
,
CDI_KEY_TYPEOFFIRSTFIXEDSURFACE
,
&
ltype
);
int
levelsize
=
zaxisInqSize
(
zaxisID
);
// int prec = zaxisInqDatatype(zaxisID);
// int dig = (prec == CDI_DATATYPE_FLT64) ? 15 : 7;
// int datatype;
// cdiInqKeyInt(gridID, CDI_GLOBAL, CDI_KEY_DATATYPE, &datatype);
// int dig = (datatype == CDI_DATATYPE_FLT64) ? 15 : 7;
zaxisName
(
zaxistype
,
zaxisname
);
int
length
=
CDI_MAX_NAME
;
Loading