-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dev #195
base: staging
Are you sure you want to change the base?
Dev #195
Conversation
This is using the colors/symbology from the existing GFW raster tile cache. It includes one filter which is tree cover density, using umd_tree_cover_density_2010/v1.6. This actually needs to be the 2000 version, I will change that before checkin, after I generate the proper COGs. I added an option in reader.py to specify the default_band, since it's possible that the default band is not called default.tif. All rendering is true_color (not encoded), so there is no render_type parameter.
For emissions, I should be using the umd_tree_cover_density_2000 as the tcd filter. And I originally created COG from the Mg_CO2e_ha-1__tcd_30 raster of gfw_forest_carbon_gross_emissions, but I really wanted the default asset Mg_CO2e_ha-1, from which I created a default.tif COG.
this will be faster for clients as we pregenerate the emissions layer with the filter baked in
GTC-3144 Create carbon emissions titiler endpoint
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## staging #195 +/- ##
===========================================
- Coverage 79.86% 79.20% -0.67%
===========================================
Files 61 63 +2
Lines 2051 2125 +74
===========================================
+ Hits 1638 1683 +45
- Misses 413 442 +29
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Adding gross carbon emissions titiler endpoint