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
2a57a3a0
Commit
2a57a3a0
authored
Nov 28, 2008
by
Uwe Schulzweida
Browse files
add support for GRID type LAEA
parent
78f222c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
2a57a3a0
...
...
@@ -3072,6 +3072,15 @@ void gridPrint(int gridID, int opt)
if
(
ysize
>
0
)
fprintf
(
fp
,
"ysize = %d
\n
"
,
ysize
);
}
if
(
type
==
GRID_LAEA
)
{
double
a
,
lon_0
,
lat_0
;
gridInqLaea
(
gridID
,
&
a
,
&
lon_0
,
&
lat_0
);
fprintf
(
fp
,
"a = %g
\n
"
,
a
);
fprintf
(
fp
,
"lon_0 = %g
\n
"
,
lon_0
);
fprintf
(
fp
,
"lat_0 = %g
\n
"
,
lat_0
);
}
if
(
gridptr
->
isRotated
)
{
if
(
xsize
>
0
)
fprintf
(
fp
,
"xnpole = %g
\n
"
,
gridptr
->
xpole
);
...
...
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