|
2 | 2 | name: batch_sd_timeseries |
3 | 3 | run-name: snow depth time series ${{ inputs.begin_date }}-${{ inputs.end_date }} |
4 | 4 |
|
5 | | -env: |
6 | | - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" |
7 | | - |
8 | 5 | on: |
9 | 6 | workflow_dispatch: |
10 | 7 | inputs: |
@@ -73,26 +70,20 @@ jobs: |
73 | 70 | outputs: |
74 | 71 | MATRIX: ${{ steps.prep_dates.outputs.MATRIX_PARAMS_COMBINATIONS }} |
75 | 72 | DATE_COUNT: ${{ steps.prep_dates.outputs.DATE_COUNT }} |
76 | | - defaults: |
77 | | - run: |
78 | | - shell: bash -el {0} |
| 73 | + |
79 | 74 | steps: |
80 | 75 | - name: Checkout Repository |
81 | 76 | uses: actions/checkout@v6 |
82 | 77 |
|
83 | | - - name: Install Conda environment with Micromamba |
84 | | - uses: mamba-org/setup-micromamba@v3 |
| 78 | + - uses: prefix-dev/setup-pixi@v0.9.5 |
85 | 79 | with: |
86 | | - cache-environment: true |
87 | | - environment-file: environment.yml |
88 | | - |
89 | | - - name: Install deep-snow |
90 | | - run: | |
91 | | - pip install . |
| 80 | + cache: true |
| 81 | + frozen: true |
| 82 | + activate-environment: true |
92 | 83 |
|
93 | 84 | - name: Select dates over time range |
94 | 85 | id: prep_dates |
95 | | - run: | |
| 86 | + run: | |
96 | 87 | python -u scripts/actions/prep_time_series.py ${{ inputs.begin_date }} ${{ inputs.end_date }} ${{ inputs.snow_off_day }} |
97 | 88 |
|
98 | 89 | - name: Summarize Time-Series Request |
@@ -121,7 +112,7 @@ jobs: |
121 | 112 | uses: ./.github/workflows/batch_predict_sd.yml |
122 | 113 | with: |
123 | 114 | target_date: ${{ matrix.target_date }} |
124 | | - snow_off_date: ${{ matrix.snow_off_date }} |
| 115 | + snow_off_date: ${{ matrix.snow_off_date }} |
125 | 116 | aoi: ${{ inputs.aoi }} |
126 | 117 | cloud_cover: ${{ inputs.cloud_cover }} |
127 | 118 | selection_strategy: ${{ inputs.selection_strategy }} |
|
0 commit comments