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
f106ce3e
Commit
f106ce3e
authored
Feb 12, 2018
by
Uwe Schulzweida
Browse files
varDefZaxis: don't remove default of longname and units.
parent
d48b9845
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
f106ce3e
2018-02-12 Uwe Schulzweida
* varDefZaxis: don't remove default of longname and units
2018-02-03 Uwe Schulzweida
* Fix brocken ECHAM5 modelIDs (introduced in 1.9.3)
...
...
src/varscan.c
View file @
f106ce3e
...
...
@@ -1019,9 +1019,9 @@ int varDefZaxis(int vlistID, int zaxistype, int nlevels, const double *levels, c
if
(
name
&&
name
[
0
]
)
zaxisDefName
(
zaxisID
,
name
);
if
(
longname
&&
longname
[
0
]
)
zaxisDefLongname
(
zaxisID
,
longname
);
else
zaxisDefLongname
(
zaxisID
,
""
);
//
else zaxisDefLongname(zaxisID, "");
if
(
units
&&
units
[
0
]
)
zaxisDefUnits
(
zaxisID
,
units
);
else
zaxisDefUnits
(
zaxisID
,
""
);
//
else zaxisDefUnits(zaxisID, "");
zaxisDefDatatype
(
zaxisID
,
prec
);
zaxisDefLtype
(
zaxisID
,
ltype1
);
}
...
...
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