From ea3b1d41a0addc5ac9747011f5f05ffbddfb0cd2 Mon Sep 17 00:00:00 2001 From: Valentina Staneva Date: Mon, 11 Mar 2024 20:24:40 -0700 Subject: [PATCH] Update noise_processing.yml --- .github/workflows/noise_processing.yml | 27 ++++---------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/.github/workflows/noise_processing.yml b/.github/workflows/noise_processing.yml index 6a47da0e..410e2b39 100644 --- a/.github/workflows/noise_processing.yml +++ b/.github/workflows/noise_processing.yml @@ -32,33 +32,14 @@ jobs: # read -r timestamp> $GITHUB_ENV - - name: Set hardcoded "full" timestamp - # 1618317018 - # Tue Apr 13 2021 12:30:18 GMT+0000 - run: | - echo "timestamp=1618317018" >> $GITHUB_ENV - - - uses: actions/cache@v4 - id: cache - with: - path: | - bush_point/${{ env.timestamp }}/ - key: bush_point-${{ env.timestamp }} - - - name: Get all files + - name: Create plots if: steps.cache.outputs.cache-hit != 'true' run: | - aws --no-sign-request s3 sync s3://streaming-orcasound-net/rpi_bush_point/hls/${{ env.timestamp }}/ bush_point/${{ env.timestamp }} - rm -rf bush_point/${{ env.timestamp }}/live2159.ts - - - name: Create spectrograms - run: | - mkdir -p png/bush_point/${{ env.timestamp }} - python orcasound_processing.py bush_point/${{ env.timestamp }} -o png/bush_point/${{ env.timestamp }} + python noise_processing.py - - name: Upload spectrograms + - name: Upload plots uses: actions/upload-artifact@v4 with: name: Spectrograms path: | - png/bush_point/${{ env.timestamp }}/*.png + broadband.png