Skip to content

Commit

Permalink
wildfire incident type
Browse files Browse the repository at this point in the history
  • Loading branch information
vnessamartinez committed Apr 17, 2024
1 parent 1d7659b commit 3200338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inciweb_wildfires/__init__.py
Expand Up @@ -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"])
Expand Down

0 comments on commit 3200338

Please sign in to comment.