diff --git a/rainforest/qpe/qpe.py b/rainforest/qpe/qpe.py index dba2609..f4026b2 100644 --- a/rainforest/qpe/qpe.py +++ b/rainforest/qpe/qpe.py @@ -203,11 +203,11 @@ def _qpe_to_chgrid(qpe, time, missing_files, precision=2): 1000 * np.max(Y_QPE_CENTERS)]]) - time_start = time - datetime.timedelta(seconds = 5 * 60 + 1) + time_start = time - datetime.timedelta(seconds = 5 * 60) 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 "+\