-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the GDAS initialization scripts to process GFS v16 data. (#531)
Update to process OPS GFS v16 data or GFS v16 parallel data. For all input data sources, add option to process the GFS or the GDAS CDUMP. In other words, process for a GFS free forecast or process for a GDAS/ENKF cycle Fixes #102
- Loading branch information
1 parent
ebc60b8
commit f09acb9
Showing
15 changed files
with
1,106 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,41 +15,54 @@ | |
# | ||
# Variable definitions: | ||
# -------------------- | ||
# EXTRACT_DIR - directory where data extracted from HPSS | ||
# is stored. | ||
# EXTRACT_DIR - Directory where data extracted from HPSS | ||
# is stored. | ||
# EXTRACT_DATA - Set to 'yes' to extract data from HPSS. | ||
# If data has been extracted and is located | ||
# in EXTRACT_DIR, set to 'no'. | ||
# RUN_CHGRES - To run chgres, set to 'yes'. To extract | ||
# data only, set to 'no'. | ||
# yy/mm/dd/hh - The year/month/day/hour of your desired | ||
# experiment. Currently, does not support | ||
# pre-ENKF GFS data, prior to | ||
# 2012 May 21 00z. | ||
# LEVS - Number of hybrid levels plus 1. To | ||
# run with 64 levels, set LEVS to 65. | ||
# CRES_HIRES - Resolution of the hires component of | ||
# your experiment. | ||
# CRES_ENKF - Resolution of the enkf component of the | ||
# your experiment. | ||
# UFS_DIR - Location of your checked out UFS_UTILS | ||
# repo. | ||
# OUTDIR - Directory where data output from chgres is stored. | ||
# | ||
# RUN_CHGRES - To run chgres, set to 'yes'. To extract | ||
# data only, set to 'no'. | ||
# yy/mm/dd/hh - The year/month/day/hour of your desired | ||
# experiment. Currently, does not support | ||
# pre-ENKF GFS data, prior to | ||
# 2012 May 21 00z. Use two digits. | ||
# LEVS - Number of hybrid levels plus 1. To | ||
# run with 64 levels, set LEVS to 65. | ||
# CRES_HIRES - Resolution of the hires component of | ||
# your experiment. | ||
# CRES_ENKF - Resolution of the enkf component of the | ||
# your experiment. | ||
# UFS_DIR - Location of your checked out UFS_UTILS | ||
# repo. | ||
# OUTDIR - Directory where the coldstart data output | ||
# from chgres is stored. | ||
# CDUMP - When 'gdas', will process gdas and enkf | ||
# members. When 'gfs', will process gfs | ||
# member for running free forecast only. | ||
# use_v16retro - When 'yes', use v16 retro parallel data. | ||
# The retro parallel tarballs can be missing | ||
# or incomplete. So this option may not | ||
# always work. Contact [email protected] | ||
# if you encounter problems. | ||
# | ||
#----------------------------------------------------------- | ||
|
||
EXTRACT_DIR=/gpfs/dell1/stmp/$USER/gdas.init/input | ||
EXTRACT_DATA=yes | ||
|
||
RUN_CHGRES=yes | ||
|
||
yy=2017 | ||
mm=07 | ||
dd=19 | ||
hh=18 | ||
yy=2021 | ||
mm=03 | ||
dd=21 | ||
hh=06 | ||
|
||
use_v16retro=no | ||
|
||
LEVS=65 | ||
|
||
CDUMP=gdas | ||
|
||
CRES_HIRES=C192 | ||
CRES_ENKF=C96 | ||
|
||
|
@@ -61,20 +74,38 @@ OUTDIR=/gpfs/dell1/stmp/$USER/gdas.init/output | |
# Dont touch anything below here. | ||
#--------------------------------------------------------- | ||
|
||
gfs_ver=v15 | ||
if [ "$use_v16retro" = "yes" ]; then | ||
|
||
gfs_ver=v16retro | ||
|
||
else | ||
|
||
gfs_ver=v16 | ||
|
||
# No ENKF data prior to 2012/05/21/00z | ||
if [ $yy$mm$dd$hh -lt 2012052100 ]; then | ||
set +x | ||
echo FATAL ERROR: SCRIPTS DO NOT SUPPORT OLD GFS DATA | ||
exit 2 | ||
elif [ $yy$mm$dd$hh -lt 2016051000 ]; then | ||
gfs_ver=v12 | ||
elif [ $yy$mm$dd$hh -lt 2017072000 ]; then | ||
gfs_ver=v13 | ||
elif [ $yy$mm$dd$hh -lt 2019061200 ]; then | ||
gfs_ver=v14 | ||
if [ $yy$mm$dd$hh -lt 2012052100 ]; then | ||
set +x | ||
echo FATAL ERROR: SCRIPTS DO NOT SUPPORT OLD GFS DATA | ||
exit 2 | ||
elif [ $yy$mm$dd$hh -lt 2016051000 ]; then | ||
gfs_ver=v12 | ||
elif [ $yy$mm$dd$hh -lt 2017072000 ]; then | ||
gfs_ver=v13 | ||
elif [ $yy$mm$dd$hh -lt 2019061200 ]; then | ||
gfs_ver=v14 | ||
elif [ $yy$mm$dd$hh -lt 2021032100 ]; then | ||
gfs_ver=v15 | ||
# The way the v16 switch over was done, there is no complete | ||
# set of v16 or v15 data for 2021032100. And although | ||
# v16 was officially implemented 2021032212, the v16 prod | ||
# tarballs were archived starting 2021032106. | ||
elif [ $yy$mm$dd$hh -lt 2021032106 ]; then | ||
set +x | ||
echo FATAL ERROR: NO V15 OR V16 DATA FOR 2021032100 | ||
exit 1 | ||
fi | ||
|
||
fi | ||
|
||
export EXTRACT_DIR yy mm dd hh UFS_DIR OUTDIR CRES_HIRES CRES_ENKF RUN_CHGRES | ||
export EXTRACT_DIR yy mm dd hh UFS_DIR OUTDIR CRES_HIRES CRES_ENKF | ||
export LEVS gfs_ver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.