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
2bf59975
Commit
2bf59975
authored
Nov 01, 2016
by
Uwe Schulzweida
Browse files
Renamed read_partab() to apply_partab().
parent
e09bd3be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Setpartab.c
View file @
2bf59975
...
...
@@ -70,7 +70,7 @@ void cdo_check_data(int vlistID2, int varID2, var_t *var, long gridsize, double
static
void
read
_partab
(
pt_mode_t
ptmode
,
const
char
*
filename
,
int
nvars
,
int
vlistID2
,
var_t
*
vars
)
void
apply
_partab
(
pt_mode_t
ptmode
,
const
char
*
filename
,
int
nvars
,
int
vlistID2
,
var_t
*
vars
)
{
const
char
*
hentry
[]
=
{
"Header"
};
const
char
*
ventry
[]
=
{
"variable_entry"
,
"parameter"
};
...
...
@@ -411,7 +411,7 @@ void *Setpartab(void *argument)
else
{
const
char
*
filename
=
operatorArgv
()[
0
];
read
_partab
(
ptmode
,
filename
,
nvars
,
vlistID2
,
vars
);
apply
_partab
(
ptmode
,
filename
,
nvars
,
vlistID2
,
vars
);
for
(
int
varID
=
0
;
varID
<
nvars
;
++
varID
)
if
(
vars
[
varID
].
remove
)
...
...
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