bcgov / bcgov/wps

ASA: Create Cloud Optimized Geotiffs as part of process_hfi process

Open
#2,347 0 comments 0 reactions 0 assignees View on GitHub
Good First Issue Task
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**Describe the task**
Automate the process of generating COGs based on processed SFMS/HFI files and store them in our object store

**Acceptance Criteria**
- [ ] When an SFMS.file message is placed on the NATS queue, once the file has been processed by `process_hfi()`, a new cloud optimized hfi raster based on the SFMS file is created and placed in object store
- [ ] The new COG can be viewed in the map on the ASA page

**Additional context**
- Started working on this task in https://github.com/bcgov/wps/tree/task/automate-hfi-classification branch, but didn't finish it because of problems with NATS queue performance in prod
- This task is considered a performance enhancement, as it will speed up map rendering on the frontend

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing work on the task/automate-hfi-classification branch and trace the SFMS.file message through NATS to process_hfi(). Confirm how the resulting cloud optimized HFI raster should be stored in the object store and exposed on the ASA map; done means the COG is created after processing and can be viewed there.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, react
Domain
backend, cloud, frontend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.