Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
b0c5b850
Commit
b0c5b850
authored
Jan 20, 2010
by
Uwe Schulzweida
Browse files
added support for generic grids
parent
2c2384bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Zonstat.c
View file @
b0c5b850
...
...
@@ -104,9 +104,10 @@ void *Zonstat(void *argument)
index
=
0
;
gridID1
=
vlistGrid
(
vlistID1
,
index
);
if
(
gridInqType
(
gridID1
)
!=
GRID_LONLAT
&&
gridInqType
(
gridID1
)
!=
GRID_GAUSSIAN
&&
!
(
gridInqType
(
gridID1
)
==
GRID_GENERIC
&&
gridInqYsize
(
gridID1
)
<=
1
)
)
!
(
gridInqType
(
gridID1
)
==
GRID_GENERIC
&&
gridInqYsize
(
gridID1
)
>
1
)
)
cdoAbort
(
"Unsupported gridtype: %s"
,
gridNamePtr
(
gridInqType
(
gridID1
)));
gridID2
=
gridToZonal
(
gridID1
);
...
...
Write
Preview
Markdown
is supported
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