Commit 73296b26 authored by Paulo V C Medeiros's avatar Paulo V C Medeiros
Browse files

Edit carra_obsoul_prod.ksh for tests with SE data

parent e038f24c
*.swp
carra_obsoul.main.o
carra_obsoul.main.x
ext_lam_synop.o
#!/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=2005 ; mons=05 ; days=01 ; hours=00 ; dhour=03
yeare=2005 ; mone=07 ; daye=31 ; houre=21
years=2018 ; mons=01 ; days=01 ; hours=00 ; dhour=03
yeare=2018 ; mone=01 ; 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment