wri / gfw_forest_loss_geotrellis

Global Tree Cover Loss Analysis using Geotrellis and SPARK
MIT License
10 stars 8 forks source link

dashboard tree cover extent #107

Closed echeipesh closed 3 years ago

echeipesh commented 3 years ago

Requires: https://github.com/wri/gfw_forest_loss_geotrellis/pull/105

Pull request checklist

Please check if your PR fulfills the following requirements:

Pull request type

Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? Currently `tree_cover_extent_total` is absent from dashboard output. ## What is the new behavior? `tree_cover_extent_total` is present, it describes the area of pixels where GLAD alert has happened that has tree cover density > 30% It also introduces the error columns like FCD gained in https://github.com/wri/gfw_forest_loss_geotrellis/pull/105 that ensure that every record present in the input is present in the output. ## Does this introduce a breaking change? - [x] Yes - [ ] No downstream consumers will have to adjust their code to use the tree cover extent and errors
codecov[bot] commented 3 years ago

Codecov Report

Merging #107 (62d2dab) into develop (75e5ac6) will decrease coverage by 0.03%. The diff coverage is 1.63%.

:exclamation: Current head 62d2dab differs from pull request most recent head 5f5d924. Consider uploading reports for the commit 5f5d924 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           develop    #107      +/-   ##
==========================================
- Coverage     3.57%   3.54%   -0.04%     
==========================================
  Files          255     257       +2     
  Lines         5198    5218      +20     
==========================================
- Hits           186     185       -1     
- Misses        5012    5033      +21     
Flag Coverage Δ
unittests 3.54% <1.63%> (-0.04%) :arrow_down:

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

Impacted Files Coverage Δ
...t_change_diagnostic/ForestChangeDiagnosticDF.scala 0.00% <ø> (ø)
...change_diagnostic/ForestChangeDiagnosticData.scala 34.86% <0.00%> (-0.47%) :arrow_down:
...ummarystats/forest_change_diagnostic/package.scala 100.00% <ø> (+14.28%) :arrow_up:
...ats/gfwpro_dashboard/GfwProDashboardAnalysis.scala 0.00% <0.00%> (ø)
...marystats/gfwpro_dashboard/GfwProDashboardDF.scala 0.00% <0.00%> (ø)
...rystats/gfwpro_dashboard/GfwProDashboardData.scala 0.00% <0.00%> (ø)
...fwpro_dashboard/GfwProDashboardDataDateCount.scala 0.00% <0.00%> (ø)
.../gfwpro_dashboard/GfwProDashboardGridSources.scala 0.00% <0.00%> (ø)
...arystats/gfwpro_dashboard/GfwProDashboardRDD.scala 0.00% <ø> (ø)
...tats/gfwpro_dashboard/GfwProDashboardRawData.scala 0.00% <0.00%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 75e5ac6...5f5d924. Read the comment docs.