Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiggi committed Jul 2, 2024
1 parent d7dc174 commit ad63db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpm/io/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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)

# -------------------------------------------------------------------------.
Expand Down

0 comments on commit ad63db5

Please sign in to comment.