-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GDAS INIT utility to optionally use fracoro data (#741)
Users choose which orography data to use by setting new configuration variable FRAC_ORO. The names of the orography files and the location of the 'fixed' directory are set by new script "set_fixed_files.sh".
- Loading branch information
1 parent
5b67e4d
commit 4e673bf
Showing
8 changed files
with
66 additions
and
26 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
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
#--------------------------------------------------------------------------- | ||
# Set directory names and file names for orog data | ||
# The old and new (support fractional grid) orog data have different file names | ||
#--------------------------------------------------------------------------- | ||
|
||
if [ "${FRAC_ORO:-"no"}" = "yes" ]; then | ||
if [ ${CTAR} == 'C48' ] ; then | ||
OCNRES='500' | ||
elif [ ${CTAR} == 'C96' ] ; then | ||
OCNRES='100' | ||
elif [ ${CTAR} == 'C192' ] ; then | ||
OCNRES='050' | ||
elif [ ${CTAR} == 'C384' ] || [ ${CTAR} == 'C768' ] || [ ${CTAR} == 'C1152' ]; then | ||
OCNRES='025' | ||
fi | ||
ORO_DIR="${CTAR}.mx${OCNRES}_frac" | ||
ORO_NAME="oro_${CTAR}.mx${OCNRES}" | ||
else | ||
ORO_DIR="${CTAR}" | ||
ORO_NAME="${CTAR}_oro_data" | ||
fi |