|
@@ -41,7 +41,7 @@ log "Bulding pass map" "INFO" |
|
|
for i in $ENHANCEMENTS; do |
|
|
for i in $ENHANCEMENTS; do |
|
|
log "Decoding image" "INFO" |
|
|
log "Decoding image" "INFO" |
|
|
/usr/local/bin/wxtoimg -o -m "${NOAA_HOME}/map/${3}-map.png" -e "$i" "${RAMFS_AUDIO}/audio/${3}.wav" "${NOAA_OUTPUT}/images/${3}-$i.jpg" |
|
|
/usr/local/bin/wxtoimg -o -m "${NOAA_HOME}/map/${3}-map.png" -e "$i" "${RAMFS_AUDIO}/audio/${3}.wav" "${NOAA_OUTPUT}/images/${3}-$i.jpg" |
|
|
/usr/bin/convert -quality 90 -format jpg "${NOAA_OUTPUT}/images/${3}-$i.jpg" -undercolor black -fill yellow -pointsize 18 -annotate +20+20 "${1} $i ${START_DATE}" "${NOAA_OUTPUT}/images/${3}-$i.jpg" |
|
|
|
|
|
|
|
|
/usr/bin/convert -quality 90 -format jpg "${NOAA_OUTPUT}/images/${3}-$i.jpg" -undercolor black -fill yellow -pointsize 18 -annotate +20+20 "${1} $i ${START_DATE}Elev: $7°" "${NOAA_OUTPUT}/images/${3}-$i.jpg" |
|
|
/usr/bin/convert -thumbnail 300 "${NOAA_OUTPUT}/images/${3}-$i.jpg" "${NOAA_OUTPUT}/images/thumb/${3}-$i.jpg" |
|
|
/usr/bin/convert -thumbnail 300 "${NOAA_OUTPUT}/images/${3}-$i.jpg" "${NOAA_OUTPUT}/images/thumb/${3}-$i.jpg" |
|
|
done |
|
|
done |
|
|
if [ "${SUN_ELEV}" -gt "${SUN_MIN_ELEV}" ]; then |
|
|
if [ "${SUN_ELEV}" -gt "${SUN_MIN_ELEV}" ]; then |
|
|