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
105a1a0a
Commit
105a1a0a
authored
Dec 02, 2013
by
Uwe Schulzweida
Browse files
test/test_Remap.sh: added env. CDO_TEST_DEBUG
parent
b7eaa000
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_Remap.sh
View file @
105a1a0a
...
...
@@ -5,6 +5,8 @@
#
CDODEBUG
=
0
#
if
[
"
$CDO_TEST_DEBUG
"
=
1
]
;
then
CDODEBUG
=
1
;
fi
#
if
[
"
$CDODEBUG
"
=
0
]
;
then
CDO
=
"
$CDO
-s"
;
fi
CDOOUT
=
cout
CDOERR
=
cerr
...
...
@@ -22,6 +24,9 @@ for GRIDTYPE in " " "-setgridtype,curvilinear" "-setgridtype,unstructured"; do
for
RMOD
in
$RMODS
;
do
OFILE
=
${
GRID
}
_
${
RMOD
}
RFILE
=
$DATAPATH
/
${
OFILE
}
_ref
if
[
"
$CDODEBUG
"
=
1
]
;
then
echo
"
$CDO
$FORMAT
remap
${
RMOD
}
,
$GRID
$GRIDTYPE
$IFILE
${
OFILE
}
"
fi
$CDO
$FORMAT
remap
${
RMOD
}
,
$GRID
$GRIDTYPE
$IFILE
${
OFILE
}
>
$CDOOUT
2>
$CDOERR
if
[
$?
!=
0
]
;
then
RSTAT
=
`
expr
$RSTAT
+ 1
`
;
fi
if
[
"
$CDODEBUG
"
=
1
]
;
then
cat
$CDOOUT
$CDOERR
;
fi
...
...
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