Skip to content

Commit

Permalink
Update batch_image_correlation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrencher authored May 30, 2024
1 parent 5b78fa7 commit ca68131
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/batch_image_correlation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
# select first image of each month
period_index = pd.PeriodIndex(sentinel2_stack_snowoff['time'].values, freq='M')
sentinel2_stack_snowoff.coords['year_month'] = ('time', period_index)
first_image_indices = sentinel2_stack_snowoff.groupby('year_month').apply(lambda x: x.isel(time=0))
product_names = first_image_indices['s2:product_uri'].values.tolist()
Expand Down

0 comments on commit ca68131

Please sign in to comment.