Skip to content

Commit 7f875e8

Browse files
add logic to include avhrr in radstat tarball (NOAA-EMC#4337)
This adds logic to `exglobal_diag.sh` to include avhrr in the radstat tarball.
1 parent a05fd27 commit 7f875e8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

dev/scripts/exglobal_diag.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ for loop in ${loops}; do
150150
while [[ ${n} -lt ${ntype} ]]; do
151151
n=$((n + 1))
152152
for type in ${diagtype[n]}; do
153+
if [[ "${type}" == *"avhrr"* ]]; then
154+
platform="${type##avhrr[23]}"
155+
atype="avhrr${platform}"
156+
type="$atype"
157+
fi
153158
#shellcheck disable=SC2012,SC2312
154159
count=$(ls dir.*/"${type}_${loop}"* 2> /dev/null | wc -l)
155160
if [[ ${count} -eq 0 ]]; then

0 commit comments

Comments
 (0)