From 5504e18588e6e6c04f0a69c7dd9e979d62b0a6d0 Mon Sep 17 00:00:00 2001 From: Nico Rey Date: Sat, 3 Oct 2020 22:26:31 -0300 Subject: [PATCH] fix image path --- receive_meteor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/receive_meteor.sh b/receive_meteor.sh index 34b7862..3c1e29c 100755 --- a/receive_meteor.sh +++ b/receive_meteor.sh @@ -47,10 +47,10 @@ if [ -f "${METEOR_OUTPUT}/${3}.dec" ]; then if [ "${SUN_ELEV}" -lt "${SUN_MIN_ELEV}" ]; then log "I got a successful ${3}.dec file. Decoding APID 68" "INFO" - medet_arm "${METEOR_OUTPUT}/${3}.dec" "${METEOR_OUTPUT}/${3}-122" -r 68 -g 68 -b 68 -d + medet_arm "${METEOR_OUTPUT}/${3}.dec" "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-122" -r 68 -g 68 -b 68 -d else log "I got a successful ${3}.dec file. Creating false color image" "INFO" - medet_arm "${METEOR_OUTPUT}/${3}.dec" "${METEOR_OUTPUT}/${3}-122" -r 65 -g 65 -b 64 -d + medet_arm "${METEOR_OUTPUT}/${3}.dec" "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-122" -r 65 -g 65 -b 64 -d fi log "Rectifying image to adjust aspect ratio" "INFO"