From e9fea4647031998fa69ebffaf8bd00a397028d4d Mon Sep 17 00:00:00 2001 From: Nico Rey Date: Mon, 24 Aug 2020 11:06:41 -0300 Subject: [PATCH] Fix image path --- receive_meteor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receive_meteor.sh b/receive_meteor.sh index f7a8cf9..52d99d1 100755 --- a/receive_meteor.sh +++ b/receive_meteor.sh @@ -54,7 +54,7 @@ if [ -f "${METEOR_OUTPUT}/${3}.dec" ]; then 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" - convert "${NOAA_OUTPUT}/image/${3}-122-rectified.jpg" -channel rgb -normalize "${NOAA_OUTPUT}/image/${3}-122-rectified.jpg" + convert "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-122-rectified.jpg" -channel rgb -normalize "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-122-rectified.jpg" log "Deleting base image files" "INFO" rm "${METEOR_OUTPUT}/${3}-122.bmp" rm "${METEOR_OUTPUT}/${3}.bmp"