solution.py: Main solution script.config.yaml: Configuration file for the project.roadstyle.json: JSON file containing road style data.requirements.txt: Python dependencies.utils/: Utility modules.tests/: Unit tests for the project.output/: Directory for output files (created at runtime).
- Install dependencies:
pip install -r requirements.txt - Run the main script:
python solution.py
- Build the Docker image:
docker build --no-cache -t axelspacelandsat . - Run the Docker container:
docker run axelspacelandsat
utils/convert8bit.py: Converts to int8 + process for better visualisatioutils/landsatManager.py: Main class that handles the methods for processing landsat imagutils/map_overlay.py: Overlays the road network on the TCCutils/road_network.py: Downloads road network data from OSutils/save_tif.py: Saves tiff for the url of the band provideutils/search.py: Searches the Microsoft planetary stac for landsat8-l2-c2. I used Microsoft stac as I have extensively used it