Skip to content

Commit

Permalink
Merge pull request #1074 from CliMA/kp/slack-upload
Browse files Browse the repository at this point in the history
Update Slack uploading process
  • Loading branch information
ph-kev authored Nov 11, 2024
2 parents 8aa5c3b + b31f559 commit d7a35a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .buildkite/amip/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ steps:

- label: ":envelope: Slack report: current AMIP"
command:
- for file in $(find experiments/ClimaEarth/output/amip/amip/artifacts/ -regextype posix-extended -regex '.*/bias_[A-Z]{3}\.png'); do label=$(basename "$file" | grep -oP '(?<=bias_)[A-Za-z]{3}'); convert "$file" -gravity North -pointsize 50 -annotate +0+0 "$label" "experiments/ClimaEarth/output/amip/amip/artifacts/tmp_bias_$label.png"; done
- convert +append "experiments/ClimaEarth/output/amip/amip/artifacts/tmp_bias_???.png" experiments/ClimaEarth/output/amip/amip/artifacts/bias_all_seasons.png
- |
find experiments/ClimaEarth/output/amip/amip/artifacts/ -type f -name 'bias*.png' -print0 | while IFS= read -r -d '' file; do
slack-upload -c "#coupler-report" -f "$$file" -m png -n "$$(basename "$$file" .png)" -x "$$(basename "$$file" .png)"
Expand Down

0 comments on commit d7a35a5

Please sign in to comment.