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
libcdi
Commits
8241bad6
Commit
8241bad6
authored
Apr 27, 2012
by
Uwe Schulzweida
Browse files
stream_cdf::define_all_grids: changed scale_add() parameter from x to y (bug fix)
parent
6b28d696
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
8241bad6
...
...
@@ -5409,7 +5409,7 @@ void define_all_grids(stream_t *streamptr, int fileID, int vlistID, ncdim_t *ncd
else
cdf_get_var_double
(
fileID
,
yvarid
,
grid
.
yvals
);
scale_add
(
size
,
grid
.
yvals
,
ncvars
[
x
varid
].
addoffset
,
ncvars
[
x
varid
].
scalefactor
);
scale_add
(
size
,
grid
.
yvals
,
ncvars
[
y
varid
].
addoffset
,
ncvars
[
y
varid
].
scalefactor
);
strcpy
(
grid
.
yname
,
ncvars
[
yvarid
].
name
);
strcpy
(
grid
.
ylongname
,
ncvars
[
yvarid
].
longname
);
...
...
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