awips2/deltaScripts/19.1.1/DR7212/update_helicity_parameter_units.sh

16 lines
414 B
Bash
Raw Normal View History

2022-05-05 12:34:50 -05:00
#!/bin/bash
# Delta script for DR #7212
# This script will update the units for the helicity parameter in the parameter
# to be "m^2/s^2".
#
# Author: dgilling
psql=/awips2/psql/bin/psql
echo "INFO: Running delta script for DR #7212: Updating helicity parameter units."
${psql} --db metadata -U awipsadmin -c "UPDATE parameter SET unit='m^2/s^2' WHERE abbreviation='Heli'"
echo "INFO: Delta script complete"