Skip to content

Commit

Permalink
Final versions of GFSv16 retrospective plotting scripts (9/30/20).
Browse files Browse the repository at this point in the history
  • Loading branch information
AliciaBentley-NOAA committed Sep 30, 2020
1 parent 083a016 commit 756afe6
Show file tree
Hide file tree
Showing 15 changed files with 143 additions and 95 deletions.
12 changes: 6 additions & 6 deletions check_for_data.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ print("======================")
print("Script has started!")
print("======================")

data_path = "/scratch2/NCEPDEV/stmp3/Alicia.Bentley/scripts/gfsv16/Karen2019/"
beginyyyymmddhh = "2019091600"
endyyyymmddhh = "2019092600"
data_path = "/scratch2/NCEPDEV/stmp3/Alicia.Bentley/scripts/gfsv16/Dorian2019/"
beginyyyymmddhh = "2019082700"
endyyyymmddhh = "2019090600"
int_inc = 12
fcst_inc = 6

beginyyyymmddhh_anl = beginyyyymmddhh
endyyyymmddhh_anl = "2019100600" ;Add 10 days to endyyyymmddhh
endyyyymmddhh_anl = "2019091600" ;Add 10 days to endyyyymmddhh

data_to_check = (/"gfs","rap","st4","retros"/)
;data_to_check = (/"rap"/)
data_to_check = (/"rap","st4","gfs","retros"/)
;data_to_check = (/"retros"/)

;==================================================================
;==================================================================
Expand Down
12 changes: 6 additions & 6 deletions create_plot_lowlevel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ cd ${DATA_PATH}/${CASE}/

if [[ $DOMAIN = "new" ]]; then

REGIONNAME="NC"
minlat=29.0
maxlat=37.5
minlon=-86.5
maxlon=-72.5
REGIONNAME="tn"
minlat=31.0
maxlat=40.0
minlon=-93.5
maxlon=-79.5

echo "submitting ${REGIONNAME} domain script for ${CYCLE}"

Expand All @@ -46,7 +46,7 @@ ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}
ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}"' 'regionname="${REGIONNAME}"' 'minlat="${minlat}"' 'maxlat="${maxlat}"' 'minlon="${minlon}"' 'maxlon="${maxlon}"' 'fhr_inc="${FHR_INC}"' 'fhr_start="${FHR_START}"' 'fhr_end="${FHR_END}"' 'images_path="${IMAGES_PATH}"' 'cycle_number="${CYCLE_NUMBER}"' ${DATA_PATH}/${CASE}/${CYCLE}/plot_gfs_lambert_lowcloud.ncl
touch ../plot_${CYCLE}_${REGIONNAME}done
touch ../plot_${CYCLE}_${REGIONNAME}_done
exit
Expand Down
12 changes: 6 additions & 6 deletions create_plot_precip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ cd ${DATA_PATH}/${CASE}/

if [[ $DOMAIN = "new" ]]; then

REGIONNAME="NC"
minlat=29.0
maxlat=37.5
minlon=-86.5
maxlon=-72.5
REGIONNAME="tn"
minlat=31.0
maxlat=40.0
minlon=-93.5
maxlon=-79.5

echo "submitting ${REGIONNAME} domain script for ${CYCLE}"

Expand All @@ -43,7 +43,7 @@ ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}
ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}"' 'regionname="${REGIONNAME}"' 'minlat="${minlat}"' 'maxlat="${maxlat}"' 'minlon="${minlon}"' 'maxlon="${maxlon}"' 'fhr_inc="${FHR_INC}"' 'fhr_start="${FHR_START}"' 'fhr_end="${FHR_END}"' 'images_path="${IMAGES_PATH}"' 'cycle_number="${CYCLE_NUMBER}"' ${DATA_PATH}/${CASE}/${CYCLE}/plot_gfs_lambert_highcloud.ncl
touch ../plot_${CYCLE}_${REGIONNAME}done
touch ../plot_${CYCLE}_${REGIONNAME}_done
exit
Expand Down
12 changes: 6 additions & 6 deletions create_plot_refl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ cd ${DATA_PATH}/${CASE}/

if [[ $DOMAIN = "new" ]]; then

REGIONNAME="NC"
minlat=29.0
maxlat=37.5
minlon=-86.5
maxlon=-72.5
REGIONNAME="tn"
minlat=31.0
maxlat=40.0
minlon=-93.5
maxlon=-79.5

echo "submitting ${REGIONNAME} domain script for ${CYCLE}"

Expand All @@ -40,7 +40,7 @@ cd ${DATA_PATH}/${CASE}/${CYCLE}/
ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}"' 'regionname="${REGIONNAME}"' 'minlat="${minlat}"' 'maxlat="${maxlat}"' 'minlon="${minlon}"' 'maxlon="${maxlon}"' 'fhr_inc="${FHR_INC}"' 'fhr_start="${FHR_START}"' 'fhr_end="${FHR_END}"' 'images_path="${IMAGES_PATH}"' 'cycle_number="${CYCLE_NUMBER}"' ${DATA_PATH}/${CASE}/${CYCLE}/plot_gfs_lambert_refl.ncl
touch ../plot_${CYCLE}_${REGIONNAME}done
touch ../plot_${CYCLE}_${REGIONNAME}_done
exit
Expand Down
12 changes: 6 additions & 6 deletions create_plot_snod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ cd ${DATA_PATH}/${CASE}/

if [[ $DOMAIN = "new" ]]; then

REGIONNAME="NC"
minlat=29.0
maxlat=37.5
minlon=-86.5
maxlon=-72.5
REGIONNAME="tn"
minlat=31.0
maxlat=40.0
minlon=-93.5
maxlon=-79.5

echo "submitting ${REGIONNAME} domain script for ${CYCLE}"

Expand All @@ -42,7 +42,7 @@ ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}
ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}"' 'regionname="${REGIONNAME}"' 'minlat="${minlat}"' 'maxlat="${maxlat}"' 'minlon="${minlon}"' 'maxlon="${maxlon}"' 'fhr_inc="${FHR_INC}"' 'fhr_start="${FHR_START}"' 'fhr_end="${FHR_END}"' 'images_path="${IMAGES_PATH}"' 'cycle_number="${CYCLE_NUMBER}"' ${DATA_PATH}/${CASE}/${CYCLE}/plot_gfs_lambert_instsnod.ncl
touch ../plot_${CYCLE}_${REGIONNAME}done
touch ../plot_${CYCLE}_${REGIONNAME}_done
exit
Expand Down
12 changes: 6 additions & 6 deletions create_plot_snow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ cd ${DATA_PATH}/${CASE}/

if [[ $DOMAIN = "new" ]]; then

REGIONNAME="NC"
minlat=29.0
maxlat=37.5
minlon=-86.5
maxlon=-72.5
REGIONNAME="tn"
minlat=31.0
maxlat=40.0
minlon=-93.5
maxlon=-79.5

echo "submitting ${REGIONNAME} domain script for ${CYCLE}"

Expand All @@ -41,7 +41,7 @@ ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}
ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}"' 'regionname="${REGIONNAME}"' 'minlat="${minlat}"' 'maxlat="${maxlat}"' 'minlon="${minlon}"' 'maxlon="${maxlon}"' 'fhr_inc="${FHR_INC}"' 'fhr_start="${FHR_START}"' 'fhr_end="${FHR_END}"' 'images_path="${IMAGES_PATH}"' 'cycle_number="${CYCLE_NUMBER}"' ${DATA_PATH}/${CASE}/${CYCLE}/plot_gfs_lambert_24hweasd.ncl
touch ../plot_${CYCLE}_${REGIONNAME}done
touch ../plot_${CYCLE}_${REGIONNAME}_done
exit
Expand Down
12 changes: 6 additions & 6 deletions create_plot_standard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ cd ${DATA_PATH}/${CASE}/

if [[ $DOMAIN = "new" ]]; then

REGIONNAME="NC"
minlat=29.0
maxlat=37.5
minlon=-86.5
maxlon=-72.5
REGIONNAME="tn"
minlat=31.0
maxlat=40.0
minlon=-93.5
maxlon=-79.5

echo "submitting ${REGIONNAME} domain script for ${CYCLE}"

Expand All @@ -46,7 +46,7 @@ ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}
ncl 'scriptyyyymmddhh="${CYCLE}"' 'eventname="${CASE}"' 'scriptregion="${DOMAIN}"' 'regionname="${REGIONNAME}"' 'minlat="${minlat}"' 'maxlat="${maxlat}"' 'minlon="${minlon}"' 'maxlon="${maxlon}"' 'fhr_inc="${FHR_INC}"' 'fhr_start="${FHR_START}"' 'fhr_end="${FHR_END}"' 'images_path="${IMAGES_PATH}"' 'cycle_number="${CYCLE_NUMBER}"' ${DATA_PATH}/${CASE}/${CYCLE}/plot_gfs_lambert_ptype.ncl
touch ../plot_${CYCLE}_${REGIONNAME}done
touch ../plot_${CYCLE}_${REGIONNAME}_done
exit
Expand Down
8 changes: 4 additions & 4 deletions drive_download_data.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Author: Alicia Bentley
# Modified: 4 June 2020
# Modified: 4 June 2019
#
###################################################
# Script to get download necessary data from HPSS #
Expand All @@ -11,7 +11,7 @@
export SCRIPTS_PATH='/scratch2/NCEPDEV/stmp3/Alicia.Bentley/scripts/gfsv16'
export DATA_PATH='/scratch2/NCEPDEV/stmp3/Alicia.Bentley/scripts/gfsv16'

export CASE='Karen2019'
export CASE='Dorian2019'
export FHR_START=0
export FHR_END=240
export FHR_INC=6
Expand All @@ -21,8 +21,8 @@ export GET_GFS=true
export GET_RAP=true
export GET_ST4=true

#for cycle in 2019092900
for cycle in 2019091600 2019091612 2019091700 2019091712 2019091800 2019091812 2019091900 2019091912 2019092000 2019092012 2019092100 2019092112 2019092200 2019092212 2019092300 2019092312 2019092400 2019092412 2019092500 2019092512 2019092600
for cycle in 2019082700 2019082712 2019082800 2019082812 2019082900 2019082912 2019083000 2019083012 2019083100 2019083112 2019090100 2019090112 2019090200 2019090212 2019090300 2019090312 2019090400 2019090412 2019090500 2019090512 2019090600
#for cycle in 2020072918
do

export CYCLE=${cycle}
Expand Down
10 changes: 5 additions & 5 deletions drive_plot_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ export SCRIPTS_PATH='/scratch2/NCEPDEV/stmp3/Alicia.Bentley/scripts/gfsv16'
export DATA_PATH='/scratch2/NCEPDEV/stmp3/Alicia.Bentley/scripts/gfsv16'
export IMAGES_PATH='/scratch2/NCEPDEV/stmp3/Alicia.Bentley/scripts/gfsv16'

export CASE='Barbara2019'
export CASE='Dorian2019'
export FHR_START=0
export FHR_END=240
export FHR_INC=6

export PLOT_FCST=true
export PLOT_LLVL=true
export PLOT_PPCP=true
export PLOT_REFL=true
export PLOT_REFL=true
export PLOT_SNOD=false # leave false unless you have asked for NOHRSC snowfall analyses from Alicia
export PLOT_WEASD=false # leave false unless you have asked for NOHRSC snowfall analyses from Alicia

#for cycle in 2019121000
for cycle in 2019062712 2019062800 2019062812 2019062900 2019062912 2019063000 2019063012 2019070100 2019070112 2019070200 2019070212 2019070300 2019070312 2019070400 2019070412 2019070500 2019070512 2019070600 2019070612 2019070700 2019070712
#for cycle in 2020020212
for cycle in 2019082700 2019082712 2019082800 2019082812 2019082900 2019082912 2019083000 2019083012 2019083100 2019083112 2019090100 2019090112 2019090200 2019090212 2019090300 2019090312 2019090400 2019090412 2019090500 2019090512 2019090600
do

for domain in us hi epactc
for domain in pr se nwatl us
do

export CYCLE=${cycle}
Expand Down
Loading

0 comments on commit 756afe6

Please sign in to comment.