Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MAR - CARAIB
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dethinne Thomas
MAR - CARAIB
Commits
9b9b7563
Commit
9b9b7563
authored
5 months ago
by
Dethinne Thomas
Browse files
Options
Downloads
Patches
Plain Diff
Update MAR_n5
parent
4251ff24
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
couplage/MAR_n5
+15
-19
15 additions, 19 deletions
couplage/MAR_n5
with
15 additions
and
19 deletions
couplage/MAR_n5
+
15
−
19
View file @
9b9b7563
...
@@ -1082,7 +1082,7 @@ echo "job command file < MAR*.DAT input data files"
...
@@ -1082,7 +1082,7 @@ echo "job command file < MAR*.DAT input data files"
#caraib input files
#caraib input files
yl
=
$((
$
yr
-
1
))
yl
=
$((
yr
-
1
))
CARfil
=
$STKmar
/
$domain
/
CARfil
=
$STKmar
/
$domain
/
CARcou
=
"CARAIB_couplage.tar.gz"
CARcou
=
"CARAIB_couplage.tar.gz"
...
@@ -1090,20 +1090,16 @@ CARfilres=$STKmar/$domain/CARAIB_couplage/results/Belgium
...
@@ -1090,20 +1090,16 @@ CARfilres=$STKmar/$domain/CARAIB_couplage/results/Belgium
BCH
"echo
\"
$CARfil
\$
{WRKdir}
\ \"
"
BCH
"echo
\"
$CARfil
\$
{WRKdir}
\ \"
"
BCH
"if [ ! -f
\"
$WRKtmp
/
$CARcou
\"
] ; then"
BCH
" "
BCH
" smget
\"
$CARfil
\"
\"
$CARcou
\"
\"\$
{WRKdir}
\"
"
BCH
"smget
\"
$CARfil
\"
\"
$CARcou
\"
\"\$
{WRKdir}
\"
"
BCH
" tar -xzf
\"\$
{WRKdir}
\"
/
\"
$CARcou
\"
"
BCH
"tar -xzf
\"\$
{WRKdir}
\"
/
\"
$CARcou
\"
"
BCH
" rm -rf
\$
{WRKdir}/CARAIB_couplage.tar.gz"
BCH
"rm -rf
\$
{WRKdir}/CARAIB_couplage.tar.gz"
BCH
"else"
BCH
" "
BCH
" tar -xzf
\"\$
{WRKdir}
\"
/
\"
$CARcou
\"
"
BCH
" rm -rf
\$
{WRKdir}/CARAIB_couplage.tar.gz"
BCH
"fi"
BCH
"rm -rf
\$
{WRKdir}/CARAIB_couplage/results/Belgium/*"
BCH
"rm -rf
\$
{WRKdir}/CARAIB_couplage/results/Belgium/*"
BCH
" "
BCH
"
for fil in
\`
ls
\$
{CARfilres}/*
\
$
{yl}*
\`
; do"
BCH
"for fil in
\`
ls
\$
{CARfilres}/*
"
${
yl
}
"
*
\`
; do"
BCH
"
smput
\"\$
CARfilres/
\"
\"\$
fil
\"
\"\$
{WRKdir}/CARAIB_couplage/results/Belgium/
\"
"
BCH
" smput
\"\$
CARfilres/
\"
\"\$
fil
\"
\"\$
{WRKdir}/CARAIB_couplage/results/Belgium/
\"
"
BCH
"
done"
BCH
"done"
echo
"job command file < CARAIB input data files"
echo
"job command file < CARAIB input data files"
...
@@ -1312,10 +1308,6 @@ echo "job command file < MARctr.dat input data file"
...
@@ -1312,10 +1308,6 @@ echo "job command file < MARctr.dat input data file"
#---------------------------------------
#---------------------------------------
BCHt
"Stock initialisation"
BCHt
"Stock initialisation"
BCH
"#creating CAR folders"
BCH
"mkdir -p
$STKmar
/
$domain
/
$runnam
/caraib"
BCH
"mkdir -p
$STKmar
/
$domain
/
$runnam
/caraib/
$yr
"
#creating needed directory on stock
#creating needed directory on stock
if
[
-
z
${
FTPout
}
]
;
then
if
[
-
z
${
FTPout
}
]
;
then
case
$cluster
in
case
$cluster
in
...
@@ -1326,6 +1318,10 @@ BCH "mkdir -p $STKmar/$domain/crash"
...
@@ -1326,6 +1318,10 @@ BCH "mkdir -p $STKmar/$domain/crash"
BCH
"mkdir -p
$STKmar
/
$domain
/
$runnam
/log"
BCH
"mkdir -p
$STKmar
/
$domain
/
$runnam
/log"
BCH
"mkdir -p
$STKmar
/
$domain
/
$runnam
/
$yr
"
BCH
"mkdir -p
$STKmar
/
$domain
/
$runnam
/
$yr
"
BCH
"mkdir -p
$STKmar
/
$domain
/input/MARsim/
$runnam
/
$yrN
"
BCH
"mkdir -p
$STKmar
/
$domain
/input/MARsim/
$runnam
/
$yrN
"
BCH
"#creating CAR folders"
BCH
"mkdir -p
$STKmar
/
$domain
/
$runnam
/caraib"
BCH
"mkdir -p
$STKmar
/
$domain
/
$runnam
/caraib/
$yr
"
fi
fi
;;
;;
(
foehn|froggy
)
(
foehn|froggy
)
...
@@ -1343,7 +1339,7 @@ fi
...
@@ -1343,7 +1339,7 @@ fi
STKcrash
=
$STKmar
/
$domain
/
crash
STKcrash
=
$STKmar
/
$domain
/
crash
STKlog
=
$STKmar
/
$domain
/
$runnam
/
log
STKlog
=
$STKmar
/
$domain
/
$runnam
/
log
STKout
=
$STKmar
/
$domain
/
$runnam
/
$yr
STKout
=
$STKmar
/
$domain
/
$runnam
/
mar/
$yr
STKsim
=
$STKmar
/
$domain
/
input/MARsim/
$runnam
/
$yrN
STKsim
=
$STKmar
/
$domain
/
input/MARsim/
$runnam
/
$yrN
STKcar
=
$STKmar
/
$domain
/
$runnam
/
caraib/
$yr
STKcar
=
$STKmar
/
$domain
/
$runnam
/
caraib/
$yr
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment