Skip to content

Commit

Permalink
GTC-2620 Correct WDPA and SDPT
Browse files Browse the repository at this point in the history
  • Loading branch information
manukala6 committed Dec 15, 2023
1 parent 81c22b6 commit 390d89d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/raster-catalog-pro.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"name":"wdpa_protected_areas",
"source_uri":"s3://gfw-data-lake/wdpa_protected_areas/v202210/raster/epsg-4326/{grid_size}/{row_count}/iucn_cat/gdal-geotiff/{tile_id}.tif"
"source_uri":"s3://gfw-data-lake/wdpa_protected_areas/v202308/raster/epsg-4326/{grid_size}/{row_count}/iucn_cat/gdal-geotiff/{tile_id}.tif"
},
{
"name":"detailed_wdpa_protected_areas",
Expand Down
19 changes: 10 additions & 9 deletions src/main/scala/org/globalforestwatch/layers/PlantedForests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ case class PlantedForests(gridTile: GridTile, kwargs: Map[String, Any]) extends

def lookup(value: Int): String = value match {
case 1 => "Fruit"
case 2 => "Fruit Mix"
case 3 => "Oil Palm "
case 4 => "Oil Palm Mix"
case 2 => "Fruit mix"
case 3 => "Oil palm "
case 4 => "Oil palm mix"
case 5 => "Other"
case 6 => "Rubber"
case 7 => "Rubber Mix"
case 8 => "Unknown"
case 9 => "Unknown Mix"
case 10 => "Wood fiber / Timber"
case 11 => "Wood fiber / Timber Mix"
case 6 => "Other mix"
case 7 => "Rubber"
case 8 => "Rubber mix"
case 9 => "Unknown"
case 10 => "Unknown mix"
case 11 => "Wood fiber or timber"
case 12 => "Wood fiber or timber Mix"
case _ => ""
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ object ForestChangeDiagnosticAnalysis extends SummaryAnalysis {
usingIndex = true
)

// This fire data is an input to the palm risk tool, so limit data to 2021 to sync
// This fire data is an input to the palm risk tool, so limit data to 2022 to sync
// with the palm risk tool.
joinedRDD.rdd
.map { case (poly, points) =>
Expand Down

0 comments on commit 390d89d

Please sign in to comment.