Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sentinel-2 collection 1 gap report and gap-filler script #161

Merged
merged 5 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .github/workflows/build-test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Check formatting
uses: rickstaa/action-black@v1
uses: psf/black@stable
id: action_black
with:
black_args: "--check deafrica"
options: "--check --verbose "
src: "./deafrica"
version: "24.10.0"

# Set up a cache
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Cache Docker layers
uses: pat-s/[email protected]
Expand All @@ -39,7 +41,7 @@ jobs:
${{ runner.os }}-buildx-

- name: Build Test Docker
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
target: base
Expand Down Expand Up @@ -70,18 +72,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DEAFRICA_DOCKER_USERNAME }}
password: ${{ secrets.DEAFRICA_DOCKER_PASSWORD }}
Expand All @@ -93,7 +95,7 @@ jobs:
echo "VERSION=$(python setup.py --version | sed s/+/./g)" >> $GITHUB_ENV

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
target: base
Expand Down
1 change: 1 addition & 0 deletions deafrica/monitoring/landsat_gap_filler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Read gap report and generate messages to fill the missing scenes

"""

import json
import logging
import sys
Expand Down
1 change: 1 addition & 0 deletions deafrica/monitoring/landsat_gap_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
s3://deafrica-landsat-dev/status-report/<satellite_date.csv.gz>

"""

from __future__ import annotations

import csv
Expand Down
1 change: 1 addition & 0 deletions deafrica/monitoring/latency_check.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
# Send slack notification when latency check detects higher than specified latency on Landsat 8/9 and Sentinel 1/2 scenes
"""

import json
import logging
import sys
Expand Down
Loading
Loading