From f2f0e41f89eee4fec12ceb8ca1f72cb973b18af4 Mon Sep 17 00:00:00 2001 From: davidh-ssec <david.hoese@ssec.wisc.edu> Date: Sat, 15 Jul 2017 12:05:13 -0500 Subject: [PATCH] Fix quicklook generation status check --- scripts/run_tower_level_b1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_tower_level_b1.sh b/scripts/run_tower_level_b1.sh index 8588865..b1f7722 100755 --- a/scripts/run_tower_level_b1.sh +++ b/scripts/run_tower_level_b1.sh @@ -52,7 +52,7 @@ fi # assumes that out_file is what the archive script wrote the file as $ENV/bin/python -m aosstower.level_b1.quicklook -vv --thumbnail -s "$DATE" -i "$out_file" -o "$tmp_dir/aoss_tower.{plot_name}.{start_time:%Y-%m-%d}.png" -p meteorogram td pressure wind_speed wind_dir accum_precip solar_flux quicklook_status=$? - if [ $quicklook_statis -ne 0 ]; then + if [ $quicklook_status -ne 0 ]; then oops "Quicklook generation failed for $DATE" fi -- GitLab