Skip to content

Commit

Permalink
BUG: Bug fix for the FMCW reader that was adding an extra day to the …
Browse files Browse the repository at this point in the history
…time (#519)
  • Loading branch information
AdamTheisen authored Aug 26, 2022
1 parent 200df50 commit db3ba58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion act/io/noaapsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def read_psl_radar_fmcw_moment(files):
time = dt.datetime(
int('20' + data['year']['data'][-1]), 1, 1, int(data['hour']['data'][-1]),
int(data['minute']['data'][-1]), int(data['second']['data'][-1])) + \
dt.timedelta(days=int(data['day_of_year']['data'][-1]))
dt.timedelta(days=int(data['day_of_year']['data'][-1]) - 1)
data['time']['data'].append(time)

# Range correct the snr which converts it essentially to an uncalibrated reflectivity
Expand Down

0 comments on commit db3ba58

Please sign in to comment.