A Harmony (https://harmony.earthdata.nasa.gov/) backend service that transforms input images using GDAL.
The harmony-gdal-adapter is deployed to ghcr.io GitHub's Container registry.
The harmony-gdal-adapter is invoked by harmony when the harmony server is configured, via harmony's service.yml or by UMM-S/C associations in CMR, to handle an incoming request for the collection. You can see examples of requests that harmony dispatches to the harmony-gdal-adapter by examining the regression test notebook for hga.
bin/build-image
Creates the image ghcr.io/nasa/harmony-gdal-adapter
.
bin/build-test
Creates the nasa/harmony-gdal-adapter-test
test image.
bin/run-test
The run-test
script mounts test-reports
and coverage
directories and run the test script tests/run_tests.sh
inside of a docker test container.
conda create --name hga python=3.8 --channel conda-forge
conda activate hga
conda install gdal==3.4.2
pip install -r requirements.txt -r requirements_dev.txt
./tests/run_tests.sh
This script runs pytest on the ./tests
directory.