wri / gfw_forest_loss_geotrellis

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

GTC-2651 (part 2) - handle "antarctica case" for dashboard as well #229

Closed danscales closed 6 months ago

danscales commented 6 months ago

GTC-2651 (part 2) - handle "antarctica case" for gfwpro_dashboard as well

This is handling GTC-2651 for gfwpro_dashboard as well. If all locations in the input list are outside of the TCL extent (e.g. all in Antartica), then the fire analysis will fail because there is no boundary that the spatial join wants to access. So, exit out of the fireStats if the RDD is completely empty.

danscales commented 6 months ago

Thanks for the review!