From 3200338a57ddd092296a557a5893276ef41aed18 Mon Sep 17 00:00:00 2001 From: Vanessa Martinez <11972166+vnessamartinez@users.noreply.github.com> Date: Wed, 17 Apr 2024 15:18:50 -0700 Subject: [PATCH] wildfire incident type --- inciweb_wildfires/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inciweb_wildfires/__init__.py b/inciweb_wildfires/__init__.py index 97b469d..8c31fe6 100644 --- a/inciweb_wildfires/__init__.py +++ b/inciweb_wildfires/__init__.py @@ -28,8 +28,8 @@ def get_incidents() -> FeatureCollection: # Loop through all the placemarks feature_list = [] for d in data: - # Do not include "Prescribed Fire" types - if (d['type'] != 'Prescribed Fire'): + # Only include "Wildfire" types + if (d['type'] == 'Wildfire'): # Reformat as GeoJSON x = convert_coords(d["long_deg"], d["long_min"], d["long_sec"]) y = convert_coords(d["lat_deg"], d["lat_min"], d["lat_sec"])