Skip to content

Commit

Permalink
Merge pull request #2578 from mraspaud/cleanup-times
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Sep 21, 2023
2 parents fd51886 + 1b154fb commit f70a6b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions satpy/readers/seviri_l1b_hrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@

import copy
import logging
from datetime import datetime, timedelta
from datetime import timedelta

import dask.array as da
import numpy as np
Expand Down Expand Up @@ -721,7 +721,6 @@ def pad_hrv_data(self, res):

def calibrate(self, data, calibration):
"""Calibrate the data."""
tic = datetime.now()
calib = SEVIRICalibrationHandler(
platform_id=self.platform_id,
channel_name=self.channel_name,
Expand All @@ -730,7 +729,6 @@ def calibrate(self, data, calibration):
scan_time=self.observation_start_time
)
res = calib.calibrate(data, calibration)
logger.debug("Calibration time " + str(datetime.now() - tic))
return res

def _mask_bad_quality(self, data):
Expand Down

0 comments on commit f70a6b9

Please sign in to comment.