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

Merge dist to prod #183

Merged
merged 61 commits into from
Dec 12, 2024
Merged

Merge dist to prod #183

merged 61 commits into from
Dec 12, 2024

Conversation

danscales
Copy link
Contributor

Merge all of Solomon's changes to support using titiler for DIST alerts from staging to production. This includes his changes to make the alerts code more generic, so it can be shared between integrated alerts and dist alerts.

This merge explicitly does not include the changes in staging to make integrated alerts tile cache calls use titiler by default, since we are still testing that with Flagship in staging.

solomon-negusse and others added 30 commits October 16, 2024 20:06
refactor integrated alerts algo and add dist alerts
Co-authored-by: Gary Tempus <gtempus@users.noreply.github.com>
…r endpoints consistent with tile cache service
…m for dist/integrated alerts as we surface in api doc
solomon-negusse and others added 23 commits November 1, 2024 12:48
make titiler tile endpoints consistent with tile cache service
Dev -> staging:  DIST alerts forest filter
update dataset name; allow test datasets
fix tree cover loss year field type; update var name to make mypy happy
consistent and descriptive forest filter query params; detailed decod…
* 🐛 fix: Only replace implementation with `dynamic`

Supports FLAG-1126

* ✅ test: add initial pytest suite

* 🎨 refactor: create more declarative methods and tests

* 📝 docs: add docstring to handler

* 📝 docs: add implementation note regarding relative URLs

(cherry picked from commit 8d79ee7)
We are hitting the edges of the whole-world bounding box for very north
tiles, and need to add some rounding to deal with slight imprecision in
the floating point computations.
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 86.97674% with 28 lines in your changes missing coverage. Please review.

Project coverage is 79.86%. Comparing base (f9ab770) to head (96c7862).

Files with missing lines Patch % Lines
app/routes/titiler/umd_glad_dist_alerts.py 47.61% 22 Missing ⚠️
app/settings/globals.py 66.66% 4 Missing ⚠️
app/routes/titiler/algorithms/alerts.py 97.29% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff               @@
##           production     #183      +/-   ##
==============================================
+ Coverage       79.76%   79.86%   +0.09%     
==============================================
  Files              57       61       +4     
  Lines            1898     2051     +153     
==============================================
+ Hits             1514     1638     +124     
- Misses            384      413      +29     
Flag Coverage Δ
unittests 79.86% <86.97%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danscales danscales merged commit 343bffb into production Dec 12, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants