Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 5fb291b5 authored by Qusai Al Shidi's avatar Qusai Al Shidi
Browse files

Fixed get_omni_data to get all months instead of months-1

parent ee68b591
......@@ -99,7 +99,13 @@ def get_omni_data(time_from, time_to, **kwargs):
return_data[name] = []
# Iterate monthly to save RAM
for date in rrule.rrule(rrule.MONTHLY, dtstart=time_from, until=time_to):
for date in rrule.rrule(rrule.MONTHLY,
dtstart=dt.datetime(time_from.year,
time_from.month,
1),
until=dt.datetime(time_to.year,
time_to.month,
25)):
suffix = 'omni_min'
suffix += str(date.year) + str(date.month).zfill(2)
suffix += '.asc'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment