Skip to content
GitLab
Menu
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
fe9b65b1
Commit
fe9b65b1
authored
Dec 07, 2017
by
Uwe Schulzweida
Browse files
Check positive attribute for scalar z coordinates (bug fix).
parent
fc835ddf
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
fe9b65b1
2017-12-07 Uwe Schulzweida
* Check positive attribute for scalar z coordinates (bug fix)
2017-11-23 Uwe Schulzweida
* netCDF: set coordinate attribute to "tlon tlat" for GRID_TRAJECTORY (bug fix)
...
...
src/stream_cdf_i.c
View file @
fe9b65b1
...
...
@@ -1415,6 +1415,11 @@ void cdf_scan_var_attr(int nvars, ncvar_t *ncvars, ncdim_t *ncdims, int timedimi
cdf_set_dim
(
ncvars
,
ncvarid
,
0
,
Z_AXIS
);
ncdims
[
ncvars
[
ncvarid
].
dimids
[
0
]].
dimtype
=
Z_AXIS
;
}
if
(
ncvars
[
ncvarid
].
ndims
==
0
)
{
cdf_set_var
(
ncvars
,
ncvarid
,
FALSE
);
ncvars
[
ncvarid
].
islev
=
true
;
}
}
else
if
(
isNumber
&&
strcmp
(
attname
,
"_FillValue"
)
==
0
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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