wxrx/build_images.sh

19 lines
355 B
Bash
Raw Normal View History

2022-01-22 15:15:37 -08:00
#!/bin/sh
## Produces satellite images
##
## usage: __PROG__ [options] <wavfile> ...
rootdir=$(git rev-parse --show-toplevel)
output_prefix="wxrx-$(date +%Y%m%d%H%M)"
wavfile="pass.wav"
enhancements="ZA NO MSA MCIR therm"
if [ ! -f ${wavfile} ]; then
exit 1
fi
for en in $enhancements; do
wxtoimg -e ${en} $wavfile ${output_prefix}-${en}.png
done