-
Notifications
You must be signed in to change notification settings - Fork 4
/
obsrap.ksh
executable file
·51 lines (39 loc) · 1.11 KB
/
obsrap.ksh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/ksh
#####################################################
# machine set up (users should change this part)
#####################################################
# For Hera, Jet, Orion
#SBATCH --account=zrtrr
#SBATCH --qos=batch
#SBATCH --ntasks=1
#SBATCH --partition=service
#SBATCH --time=08:00:00
#SBATCH --job-name=get_rapObs
#SBATCH -o log.rapObs
# For WCOSS2
#PBS -A RRFS-DEV
#PBS -q dev_transfer
#PBS -l select=1:ncpus=1:mem=2G
#PBS -l walltime=06:00:00
#PBS -N get_rapObs
#PBS -j oe -o log.rapObs
#-----------------#
# rap observation #
#-----------------#
mkdir -p obs_rap
cd obs_rap
yy=2023
mm=06
for day in $(seq -w 10 10); do
for cyc in 00 06 12 18
do
hsi get /BMC/fdr/Permanent/${yy}/${mm}/${day}/data/grids/rap/obs/${yy}${mm}${day}${cyc}00.zip
unzip ${yy}${mm}${day}${cyc}00.zip
rm ${yy}${mm}${day}${cyc}00.zip
done
done
exit
# 2019 rap data
# 2019 data in six zip file for each type, need langley nexrad prepbufr satwnd for RRFS retro
#/BMC/fdr/Permanent/2019/02/01/data/grids/rap/langley/ nexrad/ prepbufr/ radiance/ radwnd/ satwnd/
#unzip ${yy}${mm}${day}${cyc}00.zip