Skip to content

Commit

Permalink
fix error leading to wrong start time in qpe.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfidan committed Mar 11, 2024
1 parent fc65fd7 commit ff2ef9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rainforest/qpe/qpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _features_to_chgrid(features, features_labels, time, missing_files):
grid.time['units'] = 'seconds since {:s}'.format(
datetime.datetime.strftime(time_start,
'%Y-%m-%dT%H:%M:%SZ'))
grid.time['data'] = np.arange(0, 5 *60)
grid.time['data'] = np.arange(0, 5 *60 + 1)
grid.origin_latitude['data'] = 46.9524
grid.origin_longitude['data'] = 7.43958333
grid.projection = proj4_to_dict("+proj=somerc +lat_0=46.95240555555556 "+\
Expand Down

0 comments on commit ff2ef9b

Please sign in to comment.