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
364cb509
Commit
364cb509
authored
Oct 05, 2006
by
Uwe Schulzweida
Browse files
remap cleanup for gridsize=1
parent
01db526e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Remap.c
View file @
364cb509
...
...
@@ -237,7 +237,7 @@ void *Remap(void *argument)
remaps
[
0
].
gridsize
=
gridInqSize
(
gridID1
);
remaps
[
0
].
nmiss
=
0
;
if
(
map_type
!=
MAP_TYPE_CONSERV
&&
remaps
[
0
].
gridsize
>
1
&&
if
(
map_type
!=
MAP_TYPE_CONSERV
&&
gridInqSize
(
gridID1
)
>
1
&&
((
gridInqType
(
gridID1
)
==
GRID_LONLAT
&&
gridIsRotated
(
gridID1
))
||
(
gridInqType
(
gridID1
)
==
GRID_LONLAT
&&
remap_non_global
)
||
(
gridInqType
(
gridID1
)
==
GRID_CURVILINEAR
&&
remap_non_global
))
)
...
...
@@ -367,7 +367,7 @@ void *Remap(void *argument)
missval
=
vlistInqVarMissval
(
vlistID1
,
varID
);
gridsize
=
gridInqSize
(
gridID1
);
if
(
map_type
!=
MAP_TYPE_CONSERV
&&
grid
size
>
1
&&
if
(
map_type
!=
MAP_TYPE_CONSERV
&&
grid
InqSize
(
gridID1
)
>
1
&&
((
gridInqType
(
gridID1
)
==
GRID_LONLAT
&&
gridIsRotated
(
gridID1
))
||
(
gridInqType
(
gridID1
)
==
GRID_LONLAT
&&
remap_non_global
)
||
(
gridInqType
(
gridID1
)
==
GRID_CURVILINEAR
&&
remap_non_global
))
)
...
...
@@ -451,7 +451,7 @@ void *Remap(void *argument)
if
(
remaps
[
r
].
gridID
!=
gridID1
)
{
remaps
[
r
].
grid
.
non_global
=
FALSE
;
if
(
map_type
!=
MAP_TYPE_CONSERV
&&
remaps
[
r
].
gridsize
>
1
&&
if
(
map_type
!=
MAP_TYPE_CONSERV
&&
gridInqSize
(
gridID1
)
>
1
&&
((
gridInqType
(
gridID1
)
==
GRID_LONLAT
&&
gridIsRotated
(
gridID1
))
||
(
gridInqType
(
gridID1
)
==
GRID_LONLAT
&&
remap_non_global
)
||
(
gridInqType
(
gridID1
)
==
GRID_CURVILINEAR
&&
remap_non_global
))
)
...
...
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