In flare-download-noaa the part to check if the file is downloaded completely is removed due to an issue occurs while running in OpenWhisk mode. It was adding the following lines to the logs repeatedly and filling up the disk space until it crashes the container:
The following lines are removed from flare-container.sh:
# COMPLETED_CHECK=false
# Check if file is completed.
# while IFS= read -r line
# do
# if [[ $line = "lon, [1]" ]];then
# COMPLETED_CHECK=true
# fi
# done < "$FILE"
# if [[ "${COMPLETED_CHECK}" = false ]];then
# info "${FILE} is not completed."
# break
@Yun-Jung Check the commented lines in the description of the issue. You need to uncomment most of them in order to make your changes work. Currently, it does nothing if the file is not completed.
In
flare-download-noaa
the part to check if the file is downloaded completely is removed due to an issue occurs while running in OpenWhisk mode. It was adding the following lines to the logs repeatedly and filling up the disk space until it crashes the container:The following lines are removed from
flare-container.sh
: