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
adddc8f9
Commit
adddc8f9
authored
May 19, 2014
by
Uwe Schulzweida
Browse files
stream_cdf: added find_leadtime()
parent
ea5525c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
adddc8f9
...
...
@@ -6985,6 +6985,14 @@ int find_leadtime(int nvars, ncvar_t *ncvars)
for
(
ncvarid
=
0
;
ncvarid
<
nvars
;
ncvarid
++
)
{
if
(
ncvars
[
ncvarid
].
stdname
[
0
]
)
{
if
(
strcmp
(
ncvars
[
ncvarid
].
stdname
,
"forecast_period"
)
==
0
)
{
leadtime_id
=
ncvarid
;
break
;
}
}
}
return
(
leadtime_id
);
...
...
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