Skip to content

Commit

Permalink
Rename varlist in check_atmos function
Browse files Browse the repository at this point in the history
The varlist variable in the check_atmos function has been renamed to varlistl.
  • Loading branch information
EricSinsky-NOAA committed Jul 11, 2024
1 parent 9a03c58 commit ec7a307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ush/extractvars_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gen_parmlist() {
check_atmos() {
requestedvar_in_file1=$1
requestedvar_in_file2=$2
varlist=$3
varlistl=$3
requestedvar_in_allgrb2file="${subdata}/requestedvar_in_allgrb2file.txt"
rm -rvf "${requestedvar_in_allgrb2file}"
cat "${requestedvar_in_file1}" "${requestedvar_in_file2}" >> "${requestedvar_in_allgrb2file}"
Expand All @@ -25,7 +25,7 @@ check_atmos() {
if [[ ! ${requestedvar_in_allgrb2file_arr[*]} =~ ${vari} ]] ;then
echo "WARNING: PARM VARIABLE (${vari}) is not available in pgrb and pgrb2b."
fi
done <"${varlist}"
done <"${varlistl}"
}

daily_avg_atmos() {
Expand Down

0 comments on commit ec7a307

Please sign in to comment.