Skip to content

Commit

Permalink
Bugfix
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 20, 2023
1 parent 7f97fc8 commit 4b157b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activefires_pp/post_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def _national_save_and_publish(self, feature_collection, ndata, af_shapeff, msg,

def do_postprocessing_on_message(self, msg, filename):
"""Do the fires post processing on a message."""
logger.debug("Current detection id: ", str(self._fire_detection_id))
logger.debug("Current detection id: %s", str(self._fire_detection_id))
platform_name = msg.data.get('platform_name')
af_shapeff = ActiveFiresShapefileFiltering(filename, platform_name=platform_name,
timezone=self.timezone)
Expand All @@ -450,7 +450,7 @@ def do_postprocessing_on_message(self, msg, filename):

afdata = self.add_unique_day_id(afdata)
self.save_id_to_file()
logger.debug("Current detection id: ", str(self._fire_detection_id))
logger.debug("Current detection id: %s", str(self._fire_detection_id))

afdata = self.add_tb_celcius(afdata)

Expand Down

0 comments on commit 4b157b0

Please sign in to comment.