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
80a1fb14
Commit
80a1fb14
authored
Feb 15, 2010
by
Uwe Schulzweida
Browse files
grid: define stdname for rotated grid
parent
9b159681
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
80a1fb14
...
...
@@ -1862,6 +1862,9 @@ void gridDefXpole(int gridID, double xpole)
gridptr
=
grid_to_pointer
(
gridID
);
if
(
memcmp
(
gridptr
->
xstdname
,
"grid"
,
4
)
!=
0
)
strcpy
(
gridptr
->
xstdname
,
"grid_longitude"
);
gridptr
->
isRotated
=
TRUE
;
gridptr
->
xpole
=
xpole
;
}
...
...
@@ -1903,6 +1906,9 @@ void gridDefYpole(int gridID, double ypole)
gridptr
=
grid_to_pointer
(
gridID
);
if
(
memcmp
(
gridptr
->
ystdname
,
"grid"
,
4
)
!=
0
)
strcpy
(
gridptr
->
ystdname
,
"grid_latitude"
);
gridptr
->
isRotated
=
TRUE
;
gridptr
->
ypole
=
ypole
;
}
...
...
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