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
cdo
Commits
4b86c289
Commit
4b86c289
authored
Jan 11, 2018
by
Uwe Schulzweida
Browse files
runpctl: fails since release 1.8.0 (bug fix).
parent
b1e554ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4b86c289
...
@@ -3,6 +3,10 @@
...
@@ -3,6 +3,10 @@
* Using CDI library version 1.9.3
* Using CDI library version 1.9.3
* Version 1.9.3 release
* Version 1.9.3 release
2018-01-11 Uwe Schulzweida
* runpctl: fails since release 1.8.0 (bug fix)
2017-12-26 Uwe Schulzweida
2017-12-26 Uwe Schulzweida
* read of reduced Gaussian grid description file failed [Bug #8146]
* read of reduced Gaussian grid description file failed [Bug #8146]
...
...
src/Runpctl.cc
View file @
4b86c289
...
@@ -114,12 +114,12 @@ void *Runpctl(void *argument)
...
@@ -114,12 +114,12 @@ void *Runpctl(void *argument)
for
(
int
i
=
0
;
i
<
gridsize
;
i
++
)
for
(
int
i
=
0
;
i
<
gridsize
;
i
++
)
{
{
int
j
=
0
;
int
j
=
0
;
for
(
int
inp
=
0
,
j
=
0
;
inp
<
ndates
;
inp
++
)
for
(
int
inp
=
0
;
inp
<
ndates
;
inp
++
)
{
{
double
val
=
vars1
[
inp
][
varID
][
levelID
].
ptr
[
i
];
double
val
=
vars1
[
inp
][
varID
][
levelID
].
ptr
[
i
];
if
(
!
DBL_IS_EQUAL
(
val
,
missval
)
)
array
[
j
++
]
=
val
;
if
(
!
DBL_IS_EQUAL
(
val
,
missval
)
)
array
[
j
++
]
=
val
;
}
}
printf
(
"j = %d ndates = %d
\n
"
,
j
,
ndates
);
if
(
j
>
0
)
if
(
j
>
0
)
{
{
vars1
[
0
][
varID
][
levelID
].
ptr
[
i
]
=
percentile
(
array
,
j
,
pn
);
vars1
[
0
][
varID
][
levelID
].
ptr
[
i
]
=
percentile
(
array
,
j
,
pn
);
...
...
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