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
d9c25a49
Commit
d9c25a49
authored
Aug 11, 2015
by
Uwe Schulzweida
Browse files
bug fix for scanning the WRF time axis
parent
1f8a150d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
d9c25a49
...
...
@@ -2,6 +2,10 @@
* Version 1.7.0 released
2015-08-11 Uwe Schulzweida
* bug fix for scanning the WRF time axis
2015-08-07 Uwe Schulzweida
* cdiStreamSetupVlist: added call to vlist_unlock(vlistID) (bug fix)
...
...
src/stream_cdf.c
View file @
d9c25a49
...
...
@@ -489,7 +489,7 @@ int xtypeIsText(int xtype)
isText
=
TRUE
;
#endif
return
(
isText
)
;
return
isText
;
}
static
...
...
@@ -7430,7 +7430,7 @@ void find_time_vars(int nvars, ncvar_t *ncvars, ncdim_t *ncdims, int timedimid,
if
(
ncvarid
!=
streamptr
->
basetime
.
ncvarid
&&
ncvars
[
ncvarid
].
ndims
==
2
&&
timedimid
==
ncvars
[
ncvarid
].
dimids
[
0
]
&&
!
xtypeIsText
(
ncvars
[
ncvarid
].
xtype
)
&&
xtypeIsText
(
ncvars
[
ncvarid
].
xtype
)
&&
ncdims
[
ncvars
[
ncvarid
].
dimids
[
1
]].
len
==
19
)
{
streamptr
->
basetime
.
ncvarid
=
ncvarid
;
...
...
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