Skip to content

Commit

Permalink
Add debug info
Browse files Browse the repository at this point in the history
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
  • Loading branch information
Adam.Dybbroe committed Jul 17, 2023
1 parent afd48eb commit 4886256
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activefires_pp/post_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,12 @@ def geojson_feature_collection_from_detections(detections, platform_name=None):
try:
prop['tb_celcius'] = detections.iloc[idx].tb_celcius
except AttributeError:
logger.debug("Failed adding the TB in celcius!")
pass
try:
prop['id'] = detections.iloc[idx].detection_id
except AttributeError:
logger.debug("Failed adding the unique detection id!")
pass

if platform_name:
Expand Down

0 comments on commit 4886256

Please sign in to comment.