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
cdo
Commits
b7694ccd
Commit
b7694ccd
authored
Mar 29, 2017
by
Uwe Schulzweida
Browse files
collgrid: combination of nx and names does not work (bug fix).
parent
00f71264
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b7694ccd
...
...
@@ -3,6 +3,10 @@
* Using CDI library version 1.8.1
* Version 1.8.1 release
2017-03-29 Uwe Schulzweida
* collgrid: combination of nx and names does not work (bug fix)
2017-03-24 Uwe Schulzweida
* remap_grids_init: bug fix for CDI_PROJ_LCC
...
...
src/Collgrid.c
View file @
b7694ccd
...
...
@@ -300,9 +300,8 @@ int genGrid(int nfiles, ens_file_t *ef, int **gridindex, int igrid, int nxblocks
void
*
Collgrid
(
void
*
argument
)
{
int
nxblocks
=
-
1
;
int
varID
;
int
varID
,
levelID
;
int
nrecs
,
nrecs0
;
int
levelID
;
int
nmiss
;
double
missval
;
...
...
@@ -336,6 +335,7 @@ void *Collgrid(void *argument)
for
(
varID
=
0
;
varID
<
nvars
;
varID
++
)
vars1
[
varID
]
=
false
;
int
nsel
=
operatorArgc
();
int
noff
=
0
;
if
(
nsel
>
0
)
{
...
...
@@ -345,6 +345,7 @@ void *Collgrid(void *argument)
if
(
len
==
-
1
)
{
nsel
--
;
noff
++
;
nxblocks
=
parameter2int
(
operatorArgv
()[
0
]);
}
}
...
...
@@ -355,7 +356,7 @@ void *Collgrid(void *argument)
}
else
{
char
**
argnames
=
operatorArgv
();
char
**
argnames
=
operatorArgv
()
+
noff
;
if
(
cdoVerbose
)
for
(
int
i
=
0
;
i
<
nsel
;
i
++
)
...
...
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