diff --git a/FRONTEND/COMETApp.py b/FRONTEND/COMETApp.py index e3e45325..d586e7b5 100644 --- a/FRONTEND/COMETApp.py +++ b/FRONTEND/COMETApp.py @@ -71,7 +71,7 @@ def index(): rawdf = pd.DataFrame.from_dict(data, orient='index') volcanos_with_events=rawdf[pd.notna(rawdf.prob_date)] now = dt.datetime.now().strftime("%Y-%m-%d") - last_sixmonths = pd.to_datetime(now) - pd.DateOffset(months=6) + last_sixmonths = pd.to_datetime(now) - pd.DateOffset(months=12) mask = (volcanos_with_events['prob_date'] > last_sixmonths.strftime("%Y-%m-%d")) & (volcanos_with_events['prob_date'] <= now) recent_events = volcanos_with_events.loc[mask] volcs = df.loc[df.jasmin_name.isin(recent_events.index.to_list())].sort_values(by=['jasmin_name']) diff --git a/FRONTEND/templates/home.html.j2 b/FRONTEND/templates/home.html.j2 index 29f60543..b1e3de9a 100644 --- a/FRONTEND/templates/home.html.j2 +++ b/FRONTEND/templates/home.html.j2 @@ -47,8 +47,8 @@ how to us the online analysis tools to interrogate Sentinel-1 imagery available

Recent activity

-

{{total}} volcanos with events automatically detected in past 6 months - +

{{total}} volcanos with events automatically detected in past year +

diff --git a/FRONTEND/volcano.db b/FRONTEND/volcano.db index b89713e6..8d1f4670 100644 Binary files a/FRONTEND/volcano.db and b/FRONTEND/volcano.db differ
Volcano