Skip to content

Fixed the use of a raster mask in case of a large difference in scale with the original image #8

Fixed the use of a raster mask in case of a large difference in scale with the original image

Fixed the use of a raster mask in case of a large difference in scale with the original image #8

Workflow file for this run

name: Analyze
on:
push:
branches: [ '**' ]
pull_request:
branches: [ master ]
jobs:
bandit:
runs-on: ubuntu-24.04
name: bandit
steps:
- uses: actions/checkout@v2
- name: install
run: |
sudo apt update
sudo apt upgrade
sudo apt install python3
- name: info
run: |
python3 --version
- name: bandit
run: |
pip install bandit
bandit ./world-dl.py
pylint:
runs-on: ubuntu-24.04
name: pylint
steps:
- uses: actions/checkout@v2
- name: install
run: |
sudo apt update
sudo apt upgrade
sudo apt install python3 libgdal-dev
- name: info
run: |
python3 --version
- name: pylint
run: |
pip install "pylint" "numpy < 2.0.0" "requests" "argparse" "pysqlite3" "GDAL[numpy]==3.8.4" "tqdm"
pylint --disable=old-style-class --module-naming-style=any ./world-dl.py
coverage:
runs-on: ubuntu-24.04
name: coverage
steps:
- uses: actions/checkout@v2
- name: install
run: |
sudo apt update
sudo apt upgrade
sudo apt install python3 libgdal-dev
- name: info
run: |
python3 --version
- name: pylint
run: |
pip install "codecov" "coverage" "numpy < 2.0.0" "requests" "argparse" "pysqlite3" "GDAL[numpy]==3.8.4" "tqdm"
coverage run world-dl.py -a init -s 131072 -b 1024 -i ./input/google_map.img -o ./out -m ./data/mask-no-ant-3857.tif
coverage run --append world-dl.py -a download -ov -c LZMA -t 512 -i ./input/google_map.img -o ./out
rm ./out/gmap_0_0.tif
rm ./out/gmap_0_1024.tif
echo "Hello" >> ./out/gmap_1024_1024.tif
coverage run --append world-dl.py -a merge -v -i ./input/google_map.img -o ./out || true
coverage run --append world-dl.py -a download -ov -c LZMA -t 512 -i ./input/google_map.img -o ./out
coverage run --append world-dl.py -a merge -v -i ./input/google_map.img -o ./out
coverage run --append world-dl.py -a init -s 131072 -b 1024 -i ./input/google_map.img -o ./out -ml ./data/au.geojson
coverage run --append world-dl.py -a download -ov -c LZMA -t 512 -i ./input/google_map.img -o ./out
coverage report --include world-dl.py
- name: codecov
if: ${{ success() }}
run: codecov