Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Paulo V C Medeiros
carra_obsoul
Commits
73296b26
Commit
73296b26
authored
Apr 02, 2020
by
Paulo V C Medeiros
Browse files
Edit carra_obsoul_prod.ksh for tests with SE data
parent
e038f24c
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
73296b26
*.swp
carra_obsoul.main.o
carra_obsoul.main.x
ext_lam_synop.o
carra_obsoul_prod.ksh
View file @
73296b26
#!/bin/ksh
#SBATCH --qos=normal
#SBATCH --job-name=carra_obsoul
#SBATCH --output=/scratch/ms/
no/fasg/CARRA/local_obs_wrk
/obsoul_out/carra_obsoul.out
#SBATCH --error=/scratch/ms/
no/fasg/CARRA/local_obs_wrk
/obsoul_out/carra_obsoul.err
#SBATCH --output=/scratch/ms/
se/snz/carra_obsoul
/obsoul_out/carra_obsoul.out
#SBATCH --error=/scratch/ms/
se/snz/carra_obsoul
/obsoul_out/carra_obsoul.err
set
-a
...
...
@@ -15,9 +15,9 @@ integer iw
dator
=
ECGATE
hdir
=
/scratch/ms/
no/fasg/CARRA/local_obs_wrk
/obsoul_out
ddir
=
/scratch/ms/
no/fasg/CARRA/local_obs_wrk
odir
=
/scratch/ms/
no/fasg/CARRA/local_obs_wrk
hdir
=
/scratch/ms/
se/snz/carra_obsoul
/obsoul_out
ddir
=
/scratch/ms/
se/snz/carra_obsoul
odir
=
/scratch/ms/
se/snz/carra_obsoul
cd
$hdir
print
"
\n\t
Working directory on
$dator
is
\t
$(
pwd
)
"
...
...
@@ -28,8 +28,8 @@ print "\t Output data is stored in directory \t $odir"
# Specify Times of Initial Conditions
#-----------------------------------------------------------------------
years
=
20
05
;
mons
=
0
5
;
days
=
01
;
hours
=
00
;
dhour
=
03
yeare
=
20
05
;
mone
=
0
7
;
daye
=
31
;
houre
=
21
years
=
20
18
;
mons
=
0
1
;
days
=
01
;
hours
=
00
;
dhour
=
03
yeare
=
20
18
;
mone
=
0
1
;
daye
=
02
;
houre
=
21
print
"
\n\t
years =
$years
\t
mons =
$mons
\t
days =
$days
\t
hours =
$hours
\t
dhour =
$dhour
"
print
"
\t
yeare =
$yeare
\t
mone =
$mone
\t
daye =
$daye
\t
houre =
$houre
"
...
...
@@ -125,14 +125,12 @@ until (( date > EDATE )) ; do
# Loop over dataset dataset
########################################################################
for
dataset
in
1 2
;
do
for
dataset
in
'SE'
;
do
case
$dataset
in
1
)
dfile
=
"
$ddir
/
${
YYYY_W
}
/Asiaq_
${
YYYY_W
}${
MM_W
}
.txt"
land
=
DK
subset
=
None
;;
2
)
dfile
=
"
$ddir
/
${
YYYY_W
}
/synop_
${
YYYY_W
}${
MM_W
}${
DD_W
}
.txt"
land
=
DK
SE
)
dfile
=
"
$ddir
/inputs/SE/
${
YYYY_W
}
/cerra_Sweden_
${
YYYY_W
}${
MM_W
}
.txt"
dfile
=
"
$ddir
/../carra_vobs_2018_2019/carra_vobs_code/new_scripts/inputs/input_to_fix_obsfiles_scripts/SE/
${
YYYY_W
}
/cerra_Sweden_
${
YYYY_W
}${
MM_W
}
.txt"
land
=
$dataset
subset
=
None
;;
*
)
exit
;;
esac
...
...
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