From ad63db5024efcd9b8f08feca4e18e5054aaf2c07 Mon Sep 17 00:00:00 2001 From: ghiggi Date: Tue, 2 Jul 2024 09:55:33 +0200 Subject: [PATCH] Fix typos --- gpm/io/filter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpm/io/filter.py b/gpm/io/filter.py index b260c2e..4b52843 100644 --- a/gpm/io/filter.py +++ b/gpm/io/filter.py @@ -183,7 +183,7 @@ def filter_filepaths( if start_time is None: start_time = datetime.datetime(1998, 1, 1, 0, 0, 0) # GPM start mission if end_time is None: - end_time = datetime.datetime.now() # Current time + end_time = get_current_utc_time() # Current time # Filter filepaths filepaths = [ _filter_filepath( @@ -276,7 +276,7 @@ def filter_by_time(filepaths, start_time=None, end_time=None): if start_time is None: start_time = datetime.datetime(1998, 1, 1, 0, 0, 0) # GPM start mission if end_time is None: - end_time = get_current_utc_time.replace(tzinfo=None) # Current time + end_time = get_current_utc_time() # Current time start_time, end_time = check_start_end_time(start_time, end_time) # -------------------------------------------------------------------------.