From c842323a22c4f89d4b95fc805df75ca0b115d465 Mon Sep 17 00:00:00 2001 From: Nico Rey Date: Sat, 3 Oct 2020 16:57:22 -0300 Subject: [PATCH] Rectify: save one step --- receive_meteor.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/receive_meteor.sh b/receive_meteor.sh index f34688f..34b7862 100755 --- a/receive_meteor.sh +++ b/receive_meteor.sh @@ -53,9 +53,8 @@ if [ -f "${METEOR_OUTPUT}/${3}.dec" ]; then medet_arm "${METEOR_OUTPUT}/${3}.dec" "${METEOR_OUTPUT}/${3}-122" -r 65 -g 65 -b 64 -d fi - convert "${METEOR_OUTPUT}/${3}-122.bmp" "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-122.jpg" log "Rectifying image to adjust aspect ratio" "INFO" - python3 "${NOAA_HOME}/rectify.py" "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-122.jpg" + python3 "${NOAA_HOME}/rectify.py" "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-122.bmp" rm "${METEOR_OUTPUT}/${3}.bmp" rm "${METEOR_OUTPUT}/${3}-122.bmp"