Skip to content
Snippets Groups Projects
Unverified Commit 58ddca3e authored by David Hoese's avatar David Hoese
Browse files

Add error check to level b1 archive commands

parent e868001d
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ fi
fi
log_info "Moving NetCDF file from temp directory to cache"
$ENV/bin/python -m metobscommon.archive.incoming -vv -l $logfile --dates=${DATE} b1 aoss.tower "$tmp_out"
$ENV/bin/python -m metobscommon.archive.incoming -vv -l $logfile --dates=${DATE} b1 aoss.tower "$tmp_out" || oops "NetCDF archive failed"
### Quicklook Generation ###
# assumes that out_file is what the archive script wrote the file as
......@@ -57,7 +57,7 @@ fi
fi
log_info "Moving Level B1 quicklooks from temp directory to cache"
$ENV/bin/python -m metobscommon.archive.incoming -vv -l $logfile --dates=${DATE} b1 aoss.tower "$tmp_dir/aoss_tower.*.png"
$ENV/bin/python -m metobscommon.archive.incoming -vv -l $logfile --dates=${DATE} b1 aoss.tower "$tmp_dir/aoss_tower.*.png" || oops "Quicklook archive failed"
log_info "Done"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment