Code
# install.packages("plotly")
library(plotly)Most of the water of Athens comes from four reservoirs: Mornos and Evinos in the mountains of central Greece, the lake of Yliki in Boeotia, and Marathon, near the city. After three dry winters they held less water in the autumn of 2025 than they had for more than twenty years, and on 28 November 2025 the government declared Attica in a state of drought emergency (Tratsa 2025). This data story looks at the reserves of every day since 1985, with five questions:
The reserves come from EYDAP, the water company of Athens, which publishes those of each reservoir every day. iMEdD Lab, a Greek journalism lab, has collected them back to 1 January 1985 and keeps them up to date on GitHub (Marinou 2025; Methodios 2026). The rain comes from ERA5, the reconstruction of the weather of every day since 1940 by the European Centre for Medium-Range Weather Forecasts (Hersbach et al. 2020). Both are downloaded when the page is rendered, so a new render brings in the latest days.
The words of this page:
# the lines of a file on the web, tried again a few times: the servers sometimes refuse a connection
# or take too long to answer
read_lines<-function(url,tries=4) {
for(k in seq_len(tries)) {
result<-tryCatch(readLines(url,warn=FALSE),error=function(e) NULL)
if(!is.null(result))
return(result)
Sys.sleep(10)
}
stop("Could not download ",url)
}
# the reserves of the four reservoirs on every day since 1 January 1985, in cubic meters, as EYDAP
# publishes them, from the copy that iMEdD Lab keeps on GitHub and brings up to date every working
# day. Its column Total is EYDAP's total of the four
github<-"https://raw.githubusercontent.com/iMEdD-Lab/eydap_water_reserves/main/"
raw<-read.csv(text=read_lines(paste0(github,"water_reserves_latest.csv")))
raw$Date<-as.Date(raw$Date)
raw<-raw[order(raw$Date),]
# the reservoirs by their names in English, from the largest to the smallest
reservoirs<-c(Mornos="Mornos",Yliki="Yliki",Eyinos="Evinos",Marathonas="Marathon")
# a reading that stands out from the days on either side by more than 3 million m³ while those two
# agree with each other: a slip, such as Mornos on 25 July 2019, 326 million m³ between 627 and 625.
# A real rise or fall does not undo itself the next day
is_slip<-function(x,limit=3e6) {
n<-length(x)
from_before<-c(NA,diff(x))
from_after<-c(-diff(x),NA)
across<-c(NA,x[3:n]-x[1:(n-2)],NA)
result<-!is.na(from_before)&!is.na(from_after)&abs(from_before)>limit&abs(from_after)>limit&
sign(from_before)==sign(from_after)&abs(across)<pmin(abs(from_before),abs(from_after))/2
return(result)
}
# every day from the first to the last, in million m³: the slips and the days missing from the
# record are filled in from the days on either side
days<-data.frame(date=seq(min(raw$Date),max(raw$Date),by="day"))
slips<-0
for(k in names(reservoirs)) {
slip<-is_slip(raw[[k]])
slips<-slips+sum(slip)
days[[reservoirs[[k]]]]<-approx(as.numeric(raw$Date[!slip]),raw[[k]][!slip]/1e6,
xout=as.numeric(days$date))$y
}
missing_days<-nrow(days)-nrow(raw)
# the total is the sum of the four: EYDAP's own total differs from it on a few hundred days, by a
# few million m³ at most apart from its own slips
days$total<-rowSums(days[,reservoirs])
days$year<-as.integer(format(days$date,"%Y"))
last<-max(days$date)
this_year<-as.integer(format(last,"%Y"))
now<-days$total[days$date==last]The record has 17 missing days and 28 readings that are slips, such as the day on which Mornos held half as much as on the days on either side; the page fills them in from the days around them.
# a wet season by its two years: 2025–26, 1999–2000
season_name<-function(year) {
result<-ifelse(year%%100==0,paste0(year-1,"–",year),paste0(year-1,"–",sprintf("%02d",year%%100)))
return(result)
}
# the low of the wet season whose spring is in a year: the lowest reserves from 1 September of the
# year before to the end of February
season_low<-function(year) {
x<-days[days$date>=as.Date(paste0(year-1,"-09-01"))&days$date<as.Date(paste0(year,"-03-01")),]
result<-x[which.min(x$total),c("date","total")]
return(result)
}
# every wet season since 1985–86 whose low is known: its low, its high (the highest reserves from
# the low to 31 July) and its rise; a season whose high may still come is not over
seasons<-data.frame()
for(year in (min(days$year)+1):this_year) {
if(last<as.Date(paste0(year,"-02-28")))
next
low<-season_low(year)
x<-days[days$date>=low$date&days$date<as.Date(paste0(year,"-08-01")),]
seasons<-rbind(seasons,data.frame(year=year,low_date=low$date,low=low$total,
high_date=x$date[which.max(x$total)],high=max(x$total),
rise_over=last>=as.Date(paste0(year,"-07-31"))))
}
seasons$rise<-seasons$high-seasons$low
seasons$name<-season_name(seasons$year)
# the fall from each high to the low of the next season; the last fall goes to the lowest reserves
# since its high, as its dry season is not over
n<-nrow(seasons)
seasons$fall<-seasons$high-c(seasons$low[-1],min(days$total[days$date>=seasons$high_date[n]]))
seasons$fall_over<-c(rep(TRUE,n-1),FALSE)# the rain of every day since October 1985 over the mountains of the Evinos and the Mornos, where
# most of the water comes from: the mean of six points of the grid of ERA5, a quarter of a degree
# apart (38.5° and 38.75° N, 21.75° to 22.25° E), through Open-Meteo, as one CSV file: the points,
# an empty line, then the days. Snow counts as the water it holds
rain_url<-paste0("https://archive-api.open-meteo.com/v1/archive",
"?latitude=38.5,38.5,38.5,38.75,38.75,38.75",
"&longitude=21.75,22,22.25,21.75,22,22.25&start_date=1985-10-01",
"&end_date=",Sys.Date()-1,"&daily=precipitation_sum",
"&timezone=Europe%2FAthens&models=era5&format=csv")
lines<-read_lines(rain_url)
rain<-read.csv(text=lines[-seq_len(which(lines=="")[1])],col.names=c("point","date","mm"))
rain<-rain[!is.na(rain$mm),] # the last few days are not ready yet
rain<-aggregate(mm~date,rain,mean)
rain$date<-as.Date(rain$date)
rain$month<-as.integer(format(rain$date,"%m"))
# the year of a day from October to September, named by the year of its spring
rain$season<-as.integer(format(rain$date,"%Y"))+(rain$month>=10)
wet<-rain$month%in%c(10:12,1:4)
# the rain of each wet season, October to April; none for a season whose rain is not all in yet
seasons$rain<-as.vector(tapply(rain$mm[wet],rain$season[wet],sum)[as.character(seasons$year)])
seasons$rain[max(rain$date)<as.Date(paste0(seasons$year,"-04-30"))]<-NA
# the share of the rain of the whole years, October to September, that falls from October to April
whole<-rain$season<as.integer(format(max(rain$date)+1,"%Y"))+(format(max(rain$date)+1,"%m")>="10")
wet_share<-100*sum(rain$mm[whole&wet])/sum(rain$mm[whole])
# how the rise of a season follows its rain: the straight line that fits best the seasons that are
# over and whose rain is known, and the rise it predicts for each of them
known<-seasons[seasons$rise_over&!is.na(seasons$rain),]
fit<-lm(rise~rain,known)
slope<-coef(fit)[["rain"]]
known$expected<-predict(fit)greek_red<-"#d62728"
blue<-"#1f77b4"
gold<-"#c47f17"
gray<-"#9e9e9e"
ring_gray<-"#d4d4d4"
light_gray<-"#ececec"
dark_gray<-"#6b6b6b" # also the color of the notes and the labels
# the reservoirs, told apart also by color-blind readers (every pair checked)
reservoir_colours<-c(Mornos=blue,Yliki="#17becf",Evinos=gold,Marathon="#7f7f7f")
# the source of a chart, as a note under it, and the common layout
chart<-function(p,title,source,y_title="",y_axis=list(),x_axis=list(),annotations=list(),
margin=list(t=70,b=90),note_y=-0.16,...) {
note<-list(text=paste("Source:",source),xref="paper",yref="paper",x=0,y=note_y,xanchor="left",
yanchor="top",align="left",showarrow=FALSE,font=list(size=11,color=dark_gray))
result<-layout(p,
title=list(text=title,x=0.02,xanchor="left",y=0.97,yanchor="top"),
yaxis=modifyList(list(title=y_title),y_axis),
xaxis=modifyList(list(title=""),x_axis),
margin=margin,
annotations=c(annotations,list(note)),
...) %>%
config(displaylogo=FALSE)
return(result)
}
legend_top<-list(orientation="h",x=0,y=1.02,yanchor="bottom")
eydap<-"EYDAP, through iMEdD Lab."
# a label with a line to a point of a chart, on white so that it can be read over a colored area:
# the number in bold and the month under it
point_label<-function(date,value,ax=0,ay=-40) {
result<-list(x=date,y=value,text=paste0("<b>",number(value),"</b><br>",format(date,"%b %Y")),
showarrow=TRUE,arrowhead=0,arrowcolor=dark_gray,ax=ax,ay=ay,
bgcolor="rgba(255,255,255,0.85)",borderpad=2,font=list(size=12,color=dark_gray))
return(result)
}
# short labels of numbers, dates and lists
number<-function(x) {
result<-format(round(x),big.mark=",",trim=TRUE)
return(result)
}
two<-function(x) {
result<-format(round(x,2),nsmall=2,trim=TRUE)
return(result)
}
percent<-function(x) {
result<-paste0(round(x),"%")
return(result)
}
date_text<-function(x) {
result<-trimws(format(x,"%e %B %Y"))
return(result)
}
month_text<-function(x) {
result<-format(x,"%B %Y")
return(result)
}
ordinal<-function(n) {
suffix<-ifelse(n%%100%in%11:13,"th",c("th","st","nd","rd",rep("th",6))[n%%10+1])
result<-paste0(n,suffix)
return(result)
}
and_list<-function(x,last_word="and") {
result<-if(length(x)<2) paste(x) else paste(paste(x[-length(x)],collapse=", "),last_word,
x[length(x)])
return(result)
}
# years as runs: 1989–1995, 2001–2002 and 2008
year_runs<-function(years) {
years<-sort(years)
starts<-years[c(TRUE,diff(years)>1)]
ends<-years[c(diff(years)>1,TRUE)]
result<-and_list(ifelse(starts==ends,starts,paste0(starts,"–",ends)))
return(result)
}
# "58% more than" or "34% less than"
compared<-function(x,base) {
change<-round(100*(x/base-1))
result<-if(change>=0) paste0(change,"% more than") else paste0(-change,"% less than")
return(result)
}# the reserves on the same day of every year
same_day<-days[format(days$date,"%m-%d")==format(last,"%m-%d"),c("year","total")]
year_before<-same_day$total[same_day$year==this_year-1]
# the years since the Evinos reservoir began to fill, at the end of 2001
evinos_years<-same_day[same_day$year>=2002&same_day$year<this_year,]
usual<-mean(evinos_years$total)
lower<-same_day$year[same_day$total<now]
most<-length(lower)<(nrow(same_day)-1)/2 # less water than in most of the years before
lead_now<-paste0(if(now>year_before) "More than a year ago, " else "Less than a year ago, ",
if(most==(now>year_before)) "but " else "and ",
if(most) "less than in most years." else "more than in most years.")More than a year ago, but less than in most years. On 27 November 2026, the last day of the data, the four reservoirs held 576 million m³: 58% more than on the same day of 2025, and 36% less than the average of that day in 2002–2025, the years since the Evinos reservoir began to fill. There was less water on this day in 12 of the 41 years before: 1989–1995, 2001–2002, 2008 and 2024–2025.
same_day$colour<-ifelse(same_day$year==this_year,greek_red,gray)
plot_ly(same_day,x=~year,y=~total,type="bar",marker=list(color=same_day$colour),
hovertemplate="%{x}: %{y:,.0f} million m³<extra></extra>") %>%
chart(paste0("The reserves on ",trimws(format(last,"%e %B"))," of every year, million m³"),
paste(eydap,"The dotted line: the reserves of",date_text(last)),
"million m³",
shapes=list(list(type="line",xref="paper",x0=0,x1=1,y0=now,y1=now,
line=list(color=dark_gray,width=1,dash="dot"))))lowest<-days[which.min(days$total),]
highest<-days[which.max(days$total),]
yliki_lowest<-days[which.min(days$Yliki),]
# the lowest reserves since the Evinos began to fill, and the last day before them with less
recent<-days[days$year>=2002,]
recent_low<-recent[which.min(recent$total),]
less_before<-max(days$date[days$date<recent_low$date&days$total<recent_low$total])
# the high of the three years before that low, and the low of the dry years 2007-2009
before_low<-recent[recent$date<recent_low$date&recent$date>=recent_low$date-3*365,]
high_before<-before_low[which.max(before_low$total),]
dry_years<-days[days$year%in%2007:2009,]
dry_low<-dry_years[which.min(dry_years$total),]Yes: lower still, in the drought of the early 1990s. The reserves were lowest on 13 November 1993: 105 million m³, 7% of their highest, 1,428 on 25 March 2006. In August 1993, Yliki held only 3 million m³.
In 2025 they fell to 363 million m³, on 25 November: the lowest since December 2001, when the Evinos reservoir had only just been built, and lower than in the dry years 2007–2009, when they fell to 419 in December 2008. They had lost 67% of their water since March 2023, when they held 1,110 million m³.
# every seventh day, which is enough for forty years on a screen, the days of the labels and the
# last day
marks<-match(c(lowest$date,recent_low$date,highest$date),days$date)
weekly<-days[sort(unique(c(seq(1,nrow(days),by=7),marks,nrow(days)))),]
p<-plot_ly()
for(k in reservoirs) {
x<-data.frame(date=weekly$date,value=round(weekly[[k]],1))
p<-p %>%
add_trace(data=x,x=~date,y=~value,type="scatter",mode="lines",stackgroup="reserves",name=k,
line=list(color=reservoir_colours[[k]],width=0.5),fillcolor=reservoir_colours[[k]])
}
# one hover text for each line, with its name; given to add_trace(), it would be repeated for every
# point
p<-style(p,hovertemplate="%{fullData.name}, %{x|%-d %b %Y}: %{y:,.0f} million m³<extra></extra>")
# the label of the last low goes to the right, beyond the end of the data
p %>%
chart("The reserves of the four reservoirs, million m³",
paste(eydap,"Every seventh day. The Evinos reservoir began to fill at the end of 2001."),
"million m³",x_axis=list(range=c(min(days$date),last)),
legend=c(legend_top,list(traceorder="normal")),margin=list(t=100,b=90,r=90),
annotations=list(point_label(lowest$date,lowest$total,ay=-70),
point_label(recent_low$date,recent_low$total,ax=45,ay=-45),
point_label(highest$date,highest$total,ax=-50,ay=-20)))shares<-100*unlist(days[days$date==last,reservoirs])/now
evinos_top<-recent[which.max(recent$Evinos),]
# Yliki on the same day of every year, and the last year before with less
yliki_day<-days[format(days$date,"%m-%d")==format(last,"%m-%d"),c("year","Yliki")]
yliki_now<-yliki_day$Yliki[yliki_day$year==this_year]
yliki_less<-yliki_day$year[yliki_day$year<this_year&yliki_day$Yliki<yliki_now]
yliki_top<-days[days$year>=2015,]
yliki_top<-yliki_top[which.max(yliki_top$Yliki),]Most of the water is in Mornos: 70% of it on 27 November 2026. Its reservoir, behind a dam on the river Mornos, began to fill in 1979 (EYDAP). The Evinos reservoir, in the mountains to the west, was finished in 2001 to strengthen Mornos. A tunnel takes its water on to Mornos, so it never holds much: 119 million m³ at most, in February 2015. Yliki is a natural lake, lower than Athens, whose water has to be pumped up: EYDAP keeps it for emergencies. It held 585 million m³ in April 2020 and 142 on 27 November 2026, its least on this day of the year since 2001. Marathon, near the city, holds the least, 3%: it is a reserve and evens out the flow from the others (EYDAP).
# the two months in which the highs and the lows of the seasons came most often
top_months<-function(dates) {
counts<-sort(table(as.integer(format(dates,"%m"))),decreasing=TRUE)[1:2]
result<-list(names=and_list(month.name[sort(as.integer(names(counts)))],"or"),count=sum(counts))
return(result)
}
over<-seasons[seasons$rise_over,]
high_months<-top_months(over$high_date)
low_months<-top_months(seasons$low_date)
no_rise<-seasons$year[seasons$rise<1]They fill in the winter and empty from the spring. Over the mountains of the Evinos and the Mornos, 73% of the rain falls from October to April. So the reserves rise from the autumn to the spring, and fall for the rest of the year: since 1985–86, their high came in April or May in 31 of the 41 wet seasons, and their low in November or December in 33 of 41. In 1989–90 and 2000–01 they did not rise at all: they fell all winter.
In the chart, every year is a ring around the calendar, with 1 January at the top and the months going clockwise: the further from the center, the more water. The rings of the early 1990s lie close to the center; those of 2003 to 2022, far out.
# the angle of a day on the ring of its year, in degrees: 1 January at 0, the next 1 January at 360
angle<-function(date) {
start<-as.Date(paste0(format(date,"%Y"),"-01-01"))
end<-as.Date(paste0(as.integer(format(date,"%Y"))+1,"-01-01"))
result<-360*as.numeric(date-start)/as.numeric(end-start)
return(result)
}
low_year<-as.integer(format(lowest$date,"%Y"))
marked<-data.frame(year=c(this_year,this_year-1,low_year),
name=c(paste(this_year,"so far"),this_year-1,paste0(low_year,", the lowest")),
colour=c(greek_red,blue,"#333333"),width=c(3,2.5,2.5))
marked<-marked[!duplicated(marked$year),]
others<-setdiff(sort(unique(days$year)),marked$year)
p<-plot_ly()
for(year in c(others,rev(marked$year))) {
# each ring ends on the first day of the next year, so that it closes
x<-days[days$year==year|days$date==as.Date(paste0(year+1,"-01-01")),]
ring<-data.frame(r=round(x$total,1),theta=round(ifelse(x$year>year,360,angle(x$date)),2),
day=trimws(format(x$date,"%e %b %Y")))
m<-match(year,marked$year)
p<-p %>%
add_trace(data=ring,r=~r,theta=~theta,text=~day,type="scatterpolar",mode="lines",
name=if(is.na(m)) "Other years" else marked$name[m],
legendgroup=if(is.na(m)) "others" else marked$name[m],
showlegend=is.na(m)&year==others[1]|!is.na(m),
line=list(color=if(is.na(m)) ring_gray else marked$colour[m],
width=if(is.na(m)) 1 else marked$width[m]))
}
p<-style(p,hovertemplate="%{text}: %{r:,.0f} million m³<extra></extra>")
firsts<-as.Date(paste0("2001-",1:12,"-01"))
p %>%
chart("Every year of the reserves around the calendar, million m³",
paste(eydap,"Each ring is a year; the further from the centre, the more water."),
x_axis=list(visible=FALSE),y_axis=list(visible=FALSE),
legend=c(legend_top,list(traceorder="reversed")),margin=list(t=110,b=70),note_y=-0.06,
polar=list(domain=list(x=c(0.07,0.93),y=c(0,0.93)),
angularaxis=list(rotation=90,direction="clockwise",tickvals=angle(firsts),
ticktext=month.abb,gridcolor=light_gray,linecolor=gray),
radialaxis=list(range=c(0,ceiling(max(days$total)/100)*100),angle=90,
tickangle=90,gridcolor=light_gray,linecolor=gray,
tickfont=list(size=10,color=dark_gray))))The winters. The fall of a dry season changes little from year to year: 271 million m³ on average since 1985–86, and between 233 and 319 in half of them. It is the water that Athens takes and the water that evaporates, less what still flows in. The fall of 2025, the last one that is over, was 306 million m³.
The rise of a wet season changes much more: from nothing in 1989–90 and 2000–01 to 780 million m³ in 2002–03. The three wet seasons from 2022–23 to 2024–25 brought 242 million m³ together, less than one average season, 260.
ticks<-seasons$year[seasons$year%%5==0]
plot_ly() %>%
add_bars(data=seasons,x=~year,y=~round(rise,1),name="Rise in the wet season",text=~name,
textposition="none",marker=list(color=ifelse(seasons$rise_over,blue,"#9dc3e6")),
hovertemplate="%{text}: up by %{y:,.0f} million m³<extra></extra>") %>%
add_bars(data=seasons,x=~year,y=~round(-fall,1),name="Fall in the dry season after it",
text=~paste0(year,ifelse(fall_over,""," so far")),textposition="none",
marker=list(color=ifelse(seasons$fall_over,greek_red,"#f2a5a5")),
hovertemplate="%{text}: down by %{customdata:,.0f} million m³<extra></extra>",
customdata=~round(fall,1)) %>%
chart("The rise of every wet season and the fall after it, million m³",
paste(eydap,"Paler: not over yet. The dotted lines: the averages of the seasons."),
"million m³",
x_axis=list(tickvals=ticks,ticktext=season_name(ticks)),
barmode="relative",legend=legend_top,margin=list(t=100,b=90),
shapes=list(list(type="line",xref="paper",x0=0,x1=1,y0=mean(over$rise),
y1=mean(over$rise),line=list(color=blue,width=1,dash="dot")),
list(type="line",xref="paper",x0=0,x1=1,y0=-mean(falls$fall),
y1=-mean(falls$fall),line=list(color=greek_red,width=1,dash="dot"))))correlation<-cor(known$rise,known$rain)
dry<-known[known$rain<500,]
latest<-known[nrow(known),]
wettest<-rank(-known$rain)[nrow(known)]
# the seasons since 2022-23, and the first four of the record, against the line
recent_seasons<-known[known$year>=2023,]
short<-recent_seasons$expected-recent_seasons$rise
first_four<-known[1:4,]Mostly. The more it rained over the mountains of the Evinos and the Mornos from October to April, the more the reserves rose: across the 41 wet seasons since 1985–86 the two have a correlation of 0.84, and every 100 mm more rain brought about 108 million m³ more water. In the 4 seasons with less than 500 mm of rain, the reserves rose by 27 million m³ at most.
The three wet seasons from 2022–23 to 2024–25 had 668 mm, 580 mm and 658 mm of rain, against 721 mm in an average season. Then 2025–26 had 941 mm, the most of the 41 seasons, and the reserves rose by 410 million m³.
line_x<-c(max(min(known$rain),-coef(fit)[[1]]/slope),max(known$rain))
groups<-list(list(rows=!known$year%in%c(2023:2025,latest$year),name="Other wet seasons",
colour=gray),
list(rows=known$year%in%2023:2025,name="2022–23 to 2024–25",colour=blue),
list(rows=known$year==latest$year,name=latest$name,colour=greek_red))
p<-plot_ly() %>%
add_trace(x=line_x,y=predict(fit,newdata=data.frame(rain=line_x)),type="scatter",mode="lines",
name="The straight line that fits best",hoverinfo="skip",
line=list(color=dark_gray,width=1.5,dash="dash"))
for(g in groups) {
p<-p %>%
add_trace(data=known[g$rows,],x=~rain,y=~rise,text=~name,type="scatter",mode="markers",
name=g$name,marker=list(color=g$colour,size=10,line=list(color="white",width=1)),
hovertemplate=paste("%{text}: %{x:.0f} mm of rain,",
"up by %{y:,.0f} million m³<extra></extra>"))
}
# the names of the seasons in color and of the largest rise, next to their points; two names
# that would touch move apart
labelled<-known[known$year%in%c(2023:2025,latest$year,biggest$year),]
labelled<-labelled[order(labelled$rise),]
shift<-rep(0,nrow(labelled))
for(i in seq_len(nrow(labelled))[-1])
if(abs(labelled$rain[i]-labelled$rain[i-1])<40&labelled$rise[i]-labelled$rise[i-1]<30)
shift[c(i-1,i)]<-shift[c(i-1,i)]+c(-7,7)
labels<-list()
for(i in seq_len(nrow(labelled)))
labels[[i]]<-list(x=labelled$rain[i],y=labelled$rise[i],text=labelled$name[i],showarrow=FALSE,
xanchor="left",xshift=8,yshift=shift[i],font=list(size=11,color=dark_gray))
p %>%
chart("Rain from October to April and the rise of the reserves",
paste("EYDAP, through iMEdD Lab; ERA5 through Open-Meteo, the mean of six points over",
"the mountains."),
"Rise of the reserves, million m³",
x_axis=list(title="Rain over the Evinos and the Mornos, October to April, mm"),
legend=legend_top,margin=list(t=100,b=110),note_y=-0.2,annotations=labels)But in each of the last 4 seasons the reserves rose less than the line predicts for their rain, by 51 to 119 million m³. So did the first four seasons of the record, 1985–86 to 1988–89, as the drought of the early 1990s began. One possible reason is that after dry years the ground soaks up more of the rain before it reaches the rivers; another, that warmer winters let more of it evaporate. The data cannot tell which.
Athens has as much water as its winters bring.
What this does not show. The reserves are not all the water of Athens: EYDAP also has more than a hundred boreholes, which can safely give 70 to 125 million m³ of groundwater a year (EYDAP), and those are not in the data. The fall of a dry season mixes what the city takes with what evaporates and what still flows in; the data cannot tell them apart. The rain is ERA5’s reconstruction at six points 25 km apart, not the measurements of rain gauges in the mountains. And the page does not forecast: how much water Athens has next year depends on a winter that has not come yet.
For the sea around Greece, see Is the Aegean Turning Tropical?, and for the heat of the summers, Athens Is Getting Hotter.
Rendered with R 4.6.2 · plotly
---
title: "Is Athens Running Out of Water? The Reservoirs of Attica Since 1985"
description: "EYDAP's water reserves of Mornos, Yliki, Evinos and Marathon on every day since 1985: how much water Athens has now, how low it fell in 2025 and in the drought of the early 1990s, how the reservoirs fill in the winter and empty in the summer, and how much of that depends on the rain."
author: ""
---
```{r setup, include=FALSE}
directory<-""
if(rstudioapi::isAvailable())
directory<-paste0(dirname(rstudioapi::getActiveDocumentContext()$path),"/")
source(paste0(directory,"R/code_options.R"))
```
## What is this?
Most of the water of Athens comes from four reservoirs: Mornos and Evinos in the mountains of central Greece, the lake of Yliki in Boeotia, and Marathon, near the city. After three dry winters they held less water in the autumn of 2025 than they had for more than twenty years, and on 28 November 2025 the government declared Attica in a state of drought emergency ([Tratsa 2025](https://www.tovima.com/stories/athens-enters-drought-emergency-as-water-reserves-collapse/)). This data story looks at the reserves of every day since 1985, with five questions:
1. **How much water is there now?**
2. **Has it been this low before?**
3. **When do the reservoirs fill and empty?**
4. **Was it the summers or the winters?**
5. **Was it the rain?**
The reserves come from **EYDAP**, the water company of Athens, which publishes those of each reservoir every day. **iMEdD Lab**, a Greek journalism lab, has collected them back to 1 January 1985 and keeps them up to date on GitHub ([Marinou 2025](https://lab.imedd.org/en/water-reserves-in-attica-from-1985-to-the-present-day/); [Methodios 2026](https://lab.imedd.org/en/the-water-reserves-of-attica-in-live-charts-that-update-daily/)). The rain comes from **ERA5**, the reconstruction of the weather of every day since 1940 by the European Centre for Medium-Range Weather Forecasts ([Hersbach et al. 2020](https://doi.org/10.1002/qj.3803)). Both are downloaded when the page is rendered, so a new render brings in the latest days.
**The words of this page:**
- the **reserves** are what EYDAP calls the *extractable reserves*: the water that can be drawn from the reservoirs, in million cubic meters (million m³). A million m³ would fill a cube 100 meters on each side;
- a **wet season** runs from the autumn to the spring, and is named by its two years: 2025–26 is the autumn of 2025 and the spring of 2026. Its **rise** goes from the lowest reserves of the autumn or winter to the highest of the spring or summer after, and the **fall** of the dry season after it goes from that high to the next low.
---
## Packages
```{r packages}
# install.packages("plotly")
library(plotly)
```
## The data
### The reserves
```{r data}
# the lines of a file on the web, tried again a few times: the servers sometimes refuse a connection
# or take too long to answer
read_lines<-function(url,tries=4) {
for(k in seq_len(tries)) {
result<-tryCatch(readLines(url,warn=FALSE),error=function(e) NULL)
if(!is.null(result))
return(result)
Sys.sleep(10)
}
stop("Could not download ",url)
}
# the reserves of the four reservoirs on every day since 1 January 1985, in cubic meters, as EYDAP
# publishes them, from the copy that iMEdD Lab keeps on GitHub and brings up to date every working
# day. Its column Total is EYDAP's total of the four
github<-"https://raw.githubusercontent.com/iMEdD-Lab/eydap_water_reserves/main/"
raw<-read.csv(text=read_lines(paste0(github,"water_reserves_latest.csv")))
raw$Date<-as.Date(raw$Date)
raw<-raw[order(raw$Date),]
# the reservoirs by their names in English, from the largest to the smallest
reservoirs<-c(Mornos="Mornos",Yliki="Yliki",Eyinos="Evinos",Marathonas="Marathon")
# a reading that stands out from the days on either side by more than 3 million m³ while those two
# agree with each other: a slip, such as Mornos on 25 July 2019, 326 million m³ between 627 and 625.
# A real rise or fall does not undo itself the next day
is_slip<-function(x,limit=3e6) {
n<-length(x)
from_before<-c(NA,diff(x))
from_after<-c(-diff(x),NA)
across<-c(NA,x[3:n]-x[1:(n-2)],NA)
result<-!is.na(from_before)&!is.na(from_after)&abs(from_before)>limit&abs(from_after)>limit&
sign(from_before)==sign(from_after)&abs(across)<pmin(abs(from_before),abs(from_after))/2
return(result)
}
# every day from the first to the last, in million m³: the slips and the days missing from the
# record are filled in from the days on either side
days<-data.frame(date=seq(min(raw$Date),max(raw$Date),by="day"))
slips<-0
for(k in names(reservoirs)) {
slip<-is_slip(raw[[k]])
slips<-slips+sum(slip)
days[[reservoirs[[k]]]]<-approx(as.numeric(raw$Date[!slip]),raw[[k]][!slip]/1e6,
xout=as.numeric(days$date))$y
}
missing_days<-nrow(days)-nrow(raw)
# the total is the sum of the four: EYDAP's own total differs from it on a few hundred days, by a
# few million m³ at most apart from its own slips
days$total<-rowSums(days[,reservoirs])
days$year<-as.integer(format(days$date,"%Y"))
last<-max(days$date)
this_year<-as.integer(format(last,"%Y"))
now<-days$total[days$date==last]
```
The record has `r missing_days` missing days and `r slips` readings that are slips, such as the day on which Mornos held half as much as on the days on either side; the page fills them in from the days around them.
### The rise and fall of every season
```{r seasons}
# a wet season by its two years: 2025–26, 1999–2000
season_name<-function(year) {
result<-ifelse(year%%100==0,paste0(year-1,"–",year),paste0(year-1,"–",sprintf("%02d",year%%100)))
return(result)
}
# the low of the wet season whose spring is in a year: the lowest reserves from 1 September of the
# year before to the end of February
season_low<-function(year) {
x<-days[days$date>=as.Date(paste0(year-1,"-09-01"))&days$date<as.Date(paste0(year,"-03-01")),]
result<-x[which.min(x$total),c("date","total")]
return(result)
}
# every wet season since 1985–86 whose low is known: its low, its high (the highest reserves from
# the low to 31 July) and its rise; a season whose high may still come is not over
seasons<-data.frame()
for(year in (min(days$year)+1):this_year) {
if(last<as.Date(paste0(year,"-02-28")))
next
low<-season_low(year)
x<-days[days$date>=low$date&days$date<as.Date(paste0(year,"-08-01")),]
seasons<-rbind(seasons,data.frame(year=year,low_date=low$date,low=low$total,
high_date=x$date[which.max(x$total)],high=max(x$total),
rise_over=last>=as.Date(paste0(year,"-07-31"))))
}
seasons$rise<-seasons$high-seasons$low
seasons$name<-season_name(seasons$year)
# the fall from each high to the low of the next season; the last fall goes to the lowest reserves
# since its high, as its dry season is not over
n<-nrow(seasons)
seasons$fall<-seasons$high-c(seasons$low[-1],min(days$total[days$date>=seasons$high_date[n]]))
seasons$fall_over<-c(rep(TRUE,n-1),FALSE)
```
### The rain
```{r rain}
# the rain of every day since October 1985 over the mountains of the Evinos and the Mornos, where
# most of the water comes from: the mean of six points of the grid of ERA5, a quarter of a degree
# apart (38.5° and 38.75° N, 21.75° to 22.25° E), through Open-Meteo, as one CSV file: the points,
# an empty line, then the days. Snow counts as the water it holds
rain_url<-paste0("https://archive-api.open-meteo.com/v1/archive",
"?latitude=38.5,38.5,38.5,38.75,38.75,38.75",
"&longitude=21.75,22,22.25,21.75,22,22.25&start_date=1985-10-01",
"&end_date=",Sys.Date()-1,"&daily=precipitation_sum",
"&timezone=Europe%2FAthens&models=era5&format=csv")
lines<-read_lines(rain_url)
rain<-read.csv(text=lines[-seq_len(which(lines=="")[1])],col.names=c("point","date","mm"))
rain<-rain[!is.na(rain$mm),] # the last few days are not ready yet
rain<-aggregate(mm~date,rain,mean)
rain$date<-as.Date(rain$date)
rain$month<-as.integer(format(rain$date,"%m"))
# the year of a day from October to September, named by the year of its spring
rain$season<-as.integer(format(rain$date,"%Y"))+(rain$month>=10)
wet<-rain$month%in%c(10:12,1:4)
# the rain of each wet season, October to April; none for a season whose rain is not all in yet
seasons$rain<-as.vector(tapply(rain$mm[wet],rain$season[wet],sum)[as.character(seasons$year)])
seasons$rain[max(rain$date)<as.Date(paste0(seasons$year,"-04-30"))]<-NA
# the share of the rain of the whole years, October to September, that falls from October to April
whole<-rain$season<as.integer(format(max(rain$date)+1,"%Y"))+(format(max(rain$date)+1,"%m")>="10")
wet_share<-100*sum(rain$mm[whole&wet])/sum(rain$mm[whole])
# how the rise of a season follows its rain: the straight line that fits best the seasons that are
# over and whose rain is known, and the rise it predicts for each of them
known<-seasons[seasons$rise_over&!is.na(seasons$rain),]
fit<-lm(rise~rain,known)
slope<-coef(fit)[["rain"]]
known$expected<-predict(fit)
```
```{r chart_style}
greek_red<-"#d62728"
blue<-"#1f77b4"
gold<-"#c47f17"
gray<-"#9e9e9e"
ring_gray<-"#d4d4d4"
light_gray<-"#ececec"
dark_gray<-"#6b6b6b" # also the color of the notes and the labels
# the reservoirs, told apart also by color-blind readers (every pair checked)
reservoir_colours<-c(Mornos=blue,Yliki="#17becf",Evinos=gold,Marathon="#7f7f7f")
# the source of a chart, as a note under it, and the common layout
chart<-function(p,title,source,y_title="",y_axis=list(),x_axis=list(),annotations=list(),
margin=list(t=70,b=90),note_y=-0.16,...) {
note<-list(text=paste("Source:",source),xref="paper",yref="paper",x=0,y=note_y,xanchor="left",
yanchor="top",align="left",showarrow=FALSE,font=list(size=11,color=dark_gray))
result<-layout(p,
title=list(text=title,x=0.02,xanchor="left",y=0.97,yanchor="top"),
yaxis=modifyList(list(title=y_title),y_axis),
xaxis=modifyList(list(title=""),x_axis),
margin=margin,
annotations=c(annotations,list(note)),
...) %>%
config(displaylogo=FALSE)
return(result)
}
legend_top<-list(orientation="h",x=0,y=1.02,yanchor="bottom")
eydap<-"EYDAP, through iMEdD Lab."
# a label with a line to a point of a chart, on white so that it can be read over a colored area:
# the number in bold and the month under it
point_label<-function(date,value,ax=0,ay=-40) {
result<-list(x=date,y=value,text=paste0("<b>",number(value),"</b><br>",format(date,"%b %Y")),
showarrow=TRUE,arrowhead=0,arrowcolor=dark_gray,ax=ax,ay=ay,
bgcolor="rgba(255,255,255,0.85)",borderpad=2,font=list(size=12,color=dark_gray))
return(result)
}
# short labels of numbers, dates and lists
number<-function(x) {
result<-format(round(x),big.mark=",",trim=TRUE)
return(result)
}
two<-function(x) {
result<-format(round(x,2),nsmall=2,trim=TRUE)
return(result)
}
percent<-function(x) {
result<-paste0(round(x),"%")
return(result)
}
date_text<-function(x) {
result<-trimws(format(x,"%e %B %Y"))
return(result)
}
month_text<-function(x) {
result<-format(x,"%B %Y")
return(result)
}
ordinal<-function(n) {
suffix<-ifelse(n%%100%in%11:13,"th",c("th","st","nd","rd",rep("th",6))[n%%10+1])
result<-paste0(n,suffix)
return(result)
}
and_list<-function(x,last_word="and") {
result<-if(length(x)<2) paste(x) else paste(paste(x[-length(x)],collapse=", "),last_word,
x[length(x)])
return(result)
}
# years as runs: 1989–1995, 2001–2002 and 2008
year_runs<-function(years) {
years<-sort(years)
starts<-years[c(TRUE,diff(years)>1)]
ends<-years[c(diff(years)>1,TRUE)]
result<-and_list(ifelse(starts==ends,starts,paste0(starts,"–",ends)))
return(result)
}
# "58% more than" or "34% less than"
compared<-function(x,base) {
change<-round(100*(x/base-1))
result<-if(change>=0) paste0(change,"% more than") else paste0(-change,"% less than")
return(result)
}
```
---
## 1. How much water is there now?
```{r now_numbers}
# the reserves on the same day of every year
same_day<-days[format(days$date,"%m-%d")==format(last,"%m-%d"),c("year","total")]
year_before<-same_day$total[same_day$year==this_year-1]
# the years since the Evinos reservoir began to fill, at the end of 2001
evinos_years<-same_day[same_day$year>=2002&same_day$year<this_year,]
usual<-mean(evinos_years$total)
lower<-same_day$year[same_day$total<now]
most<-length(lower)<(nrow(same_day)-1)/2 # less water than in most of the years before
lead_now<-paste0(if(now>year_before) "More than a year ago, " else "Less than a year ago, ",
if(most==(now>year_before)) "but " else "and ",
if(most) "less than in most years." else "more than in most years.")
```
**`r lead_now`** On `r date_text(last)`, the last day of the data, the four reservoirs held **`r number(now)` million m³**: `r compared(now,year_before)` on the same day of `r this_year-1`, and `r compared(now,usual)` the average of that day in `r min(evinos_years$year)`–`r max(evinos_years$year)`, the years since the Evinos reservoir began to fill. There was less water on this day in `r length(lower)` of the `r nrow(same_day)-1` years before: `r year_runs(lower)`.
```{r same_day}
#| fig-alt: "Bar chart of the reserves of the four reservoirs on the same day of every year since 1985: low in the early 1990s, high from 2003 to 2022, low again in 2024 and 2025, and higher in 2026"
same_day$colour<-ifelse(same_day$year==this_year,greek_red,gray)
plot_ly(same_day,x=~year,y=~total,type="bar",marker=list(color=same_day$colour),
hovertemplate="%{x}: %{y:,.0f} million m³<extra></extra>") %>%
chart(paste0("The reserves on ",trimws(format(last,"%e %B"))," of every year, million m³"),
paste(eydap,"The dotted line: the reserves of",date_text(last)),
"million m³",
shapes=list(list(type="line",xref="paper",x0=0,x1=1,y0=now,y1=now,
line=list(color=dark_gray,width=1,dash="dot"))))
```
---
## 2. Has it been this low before?
```{r low_numbers}
lowest<-days[which.min(days$total),]
highest<-days[which.max(days$total),]
yliki_lowest<-days[which.min(days$Yliki),]
# the lowest reserves since the Evinos began to fill, and the last day before them with less
recent<-days[days$year>=2002,]
recent_low<-recent[which.min(recent$total),]
less_before<-max(days$date[days$date<recent_low$date&days$total<recent_low$total])
# the high of the three years before that low, and the low of the dry years 2007-2009
before_low<-recent[recent$date<recent_low$date&recent$date>=recent_low$date-3*365,]
high_before<-before_low[which.max(before_low$total),]
dry_years<-days[days$year%in%2007:2009,]
dry_low<-dry_years[which.min(dry_years$total),]
```
**`r if(recent_low$total>lowest$total) "Yes: lower still, in the drought of the early 1990s." else "Never."`** The reserves were lowest on `r date_text(lowest$date)`: **`r number(lowest$total)` million m³**, `r percent(100*lowest$total/highest$total)` of their highest, `r number(highest$total)` on `r date_text(highest$date)`. In `r month_text(yliki_lowest$date)`, Yliki held only `r number(yliki_lowest$Yliki)` million m³.
In `r format(recent_low$date,"%Y")` they fell to **`r number(recent_low$total)` million m³**, on `r trimws(format(recent_low$date,"%e %B"))`: the lowest since `r month_text(less_before)``r if(less_before>=as.Date("2001-01-01")) ", when the Evinos reservoir had only just been built," else ","` and `r if(recent_low$total<dry_low$total) "lower than" else "higher than"` in the dry years 2007–2009, when they fell to `r number(dry_low$total)` in `r month_text(dry_low$date)`. They had lost `r percent(100*(1-recent_low$total/high_before$total))` of their water since `r month_text(high_before$date)`, when they held `r number(high_before$total)` million m³.
```{r record, fig.height = 6.5}
#| fig-alt: "Stacked area chart of the reserves of Mornos, Yliki, Evinos and Marathon every week since 1985: two deep troughs, in the early 1990s and in 2025, and most of the water in Mornos"
# every seventh day, which is enough for forty years on a screen, the days of the labels and the
# last day
marks<-match(c(lowest$date,recent_low$date,highest$date),days$date)
weekly<-days[sort(unique(c(seq(1,nrow(days),by=7),marks,nrow(days)))),]
p<-plot_ly()
for(k in reservoirs) {
x<-data.frame(date=weekly$date,value=round(weekly[[k]],1))
p<-p %>%
add_trace(data=x,x=~date,y=~value,type="scatter",mode="lines",stackgroup="reserves",name=k,
line=list(color=reservoir_colours[[k]],width=0.5),fillcolor=reservoir_colours[[k]])
}
# one hover text for each line, with its name; given to add_trace(), it would be repeated for every
# point
p<-style(p,hovertemplate="%{fullData.name}, %{x|%-d %b %Y}: %{y:,.0f} million m³<extra></extra>")
# the label of the last low goes to the right, beyond the end of the data
p %>%
chart("The reserves of the four reservoirs, million m³",
paste(eydap,"Every seventh day. The Evinos reservoir began to fill at the end of 2001."),
"million m³",x_axis=list(range=c(min(days$date),last)),
legend=c(legend_top,list(traceorder="normal")),margin=list(t=100,b=90,r=90),
annotations=list(point_label(lowest$date,lowest$total,ay=-70),
point_label(recent_low$date,recent_low$total,ax=45,ay=-45),
point_label(highest$date,highest$total,ax=-50,ay=-20)))
```
```{r reservoir_numbers}
shares<-100*unlist(days[days$date==last,reservoirs])/now
evinos_top<-recent[which.max(recent$Evinos),]
# Yliki on the same day of every year, and the last year before with less
yliki_day<-days[format(days$date,"%m-%d")==format(last,"%m-%d"),c("year","Yliki")]
yliki_now<-yliki_day$Yliki[yliki_day$year==this_year]
yliki_less<-yliki_day$year[yliki_day$year<this_year&yliki_day$Yliki<yliki_now]
yliki_top<-days[days$year>=2015,]
yliki_top<-yliki_top[which.max(yliki_top$Yliki),]
```
Most of the water is in **Mornos**: `r percent(shares[["Mornos"]])` of it on `r date_text(last)`. Its reservoir, behind a dam on the river Mornos, began to fill in 1979 ([EYDAP](https://www.eydap.gr/en/TheCompany/Water/WaterSources/)). The **Evinos** reservoir, in the mountains to the west, was finished in 2001 to strengthen Mornos. A tunnel takes its water on to Mornos, so it never holds much: `r number(evinos_top$Evinos)` million m³ at most, in `r month_text(evinos_top$date)`. **Yliki** is a natural lake, lower than Athens, whose water has to be pumped up: EYDAP keeps it for emergencies. It held `r number(yliki_top$Yliki)` million m³ in `r month_text(yliki_top$date)` and `r number(yliki_now)` on `r date_text(last)`, `r if(length(yliki_less)==0) "its least on this day of the year since 1985" else paste("its least on this day of the year since",max(yliki_less))`. **Marathon**, near the city, holds the least, `r percent(shares[["Marathon"]])`: it is a reserve and evens out the flow from the others (EYDAP).
---
## 3. When do the reservoirs fill and empty?
```{r season_numbers}
# the two months in which the highs and the lows of the seasons came most often
top_months<-function(dates) {
counts<-sort(table(as.integer(format(dates,"%m"))),decreasing=TRUE)[1:2]
result<-list(names=and_list(month.name[sort(as.integer(names(counts)))],"or"),count=sum(counts))
return(result)
}
over<-seasons[seasons$rise_over,]
high_months<-top_months(over$high_date)
low_months<-top_months(seasons$low_date)
no_rise<-seasons$year[seasons$rise<1]
```
**They fill in the winter and empty from the spring.** Over the mountains of the Evinos and the Mornos, `r percent(wet_share)` of the rain falls from October to April. So the reserves rise from the autumn to the spring, and fall for the rest of the year: since `r season_name(min(seasons$year))`, their high came in `r high_months$names` in `r high_months$count` of the `r nrow(over)` wet seasons, and their low in `r low_months$names` in `r low_months$count` of `r nrow(seasons)`. `r if(length(no_rise)>0) paste0("In ",and_list(season_name(no_rise))," they did not rise at all: they fell all winter.")`
In the chart, every year is a ring around the calendar, with 1 January at the top and the months going clockwise: the further from the center, the more water. The rings of the early 1990s lie close to the center; those of 2003 to 2022, far out.
```{r rings, fig.height = 7.5}
#| fig-alt: "Polar chart with a ring for each year since 1985, the reserves of every day around the calendar: the further from the centre, the more water. The rings of the early 1990s lie near the centre, those of 2003 to 2022 far out; 2025 spirals inwards and 2026 out again"
# the angle of a day on the ring of its year, in degrees: 1 January at 0, the next 1 January at 360
angle<-function(date) {
start<-as.Date(paste0(format(date,"%Y"),"-01-01"))
end<-as.Date(paste0(as.integer(format(date,"%Y"))+1,"-01-01"))
result<-360*as.numeric(date-start)/as.numeric(end-start)
return(result)
}
low_year<-as.integer(format(lowest$date,"%Y"))
marked<-data.frame(year=c(this_year,this_year-1,low_year),
name=c(paste(this_year,"so far"),this_year-1,paste0(low_year,", the lowest")),
colour=c(greek_red,blue,"#333333"),width=c(3,2.5,2.5))
marked<-marked[!duplicated(marked$year),]
others<-setdiff(sort(unique(days$year)),marked$year)
p<-plot_ly()
for(year in c(others,rev(marked$year))) {
# each ring ends on the first day of the next year, so that it closes
x<-days[days$year==year|days$date==as.Date(paste0(year+1,"-01-01")),]
ring<-data.frame(r=round(x$total,1),theta=round(ifelse(x$year>year,360,angle(x$date)),2),
day=trimws(format(x$date,"%e %b %Y")))
m<-match(year,marked$year)
p<-p %>%
add_trace(data=ring,r=~r,theta=~theta,text=~day,type="scatterpolar",mode="lines",
name=if(is.na(m)) "Other years" else marked$name[m],
legendgroup=if(is.na(m)) "others" else marked$name[m],
showlegend=is.na(m)&year==others[1]|!is.na(m),
line=list(color=if(is.na(m)) ring_gray else marked$colour[m],
width=if(is.na(m)) 1 else marked$width[m]))
}
p<-style(p,hovertemplate="%{text}: %{r:,.0f} million m³<extra></extra>")
firsts<-as.Date(paste0("2001-",1:12,"-01"))
p %>%
chart("Every year of the reserves around the calendar, million m³",
paste(eydap,"Each ring is a year; the further from the centre, the more water."),
x_axis=list(visible=FALSE),y_axis=list(visible=FALSE),
legend=c(legend_top,list(traceorder="reversed")),margin=list(t=110,b=70),note_y=-0.06,
polar=list(domain=list(x=c(0.07,0.93),y=c(0,0.93)),
angularaxis=list(rotation=90,direction="clockwise",tickvals=angle(firsts),
ticktext=month.abb,gridcolor=light_gray,linecolor=gray),
radialaxis=list(range=c(0,ceiling(max(days$total)/100)*100),angle=90,
tickangle=90,gridcolor=light_gray,linecolor=gray,
tickfont=list(size=10,color=dark_gray))))
```
---
## 4. Was it the summers or the winters?
```{r summer_numbers}
falls<-seasons[seasons$fall_over,]
three<-seasons[seasons$year%in%2023:2025,]
biggest<-over[which.max(over$rise),]
```
**`r if(sd(over$rise)>sd(falls$fall)) "The winters." else "Both."`** The fall of a dry season changes little from year to year: `r number(mean(falls$fall))` million m³ on average since `r season_name(min(falls$year))`, and between `r number(quantile(falls$fall,0.25))` and `r number(quantile(falls$fall,0.75))` in half of them. It is the water that Athens takes and the water that evaporates, less what still flows in. The fall of `r falls$year[nrow(falls)]`, the last one that is over, was `r number(falls$fall[nrow(falls)])` million m³.
The rise of a wet season changes much more: from `r if(length(no_rise)>0) paste("nothing in",and_list(season_name(no_rise))) else paste(number(min(over$rise)),"million m³")` to `r number(biggest$rise)` million m³ in `r biggest$name`. The three wet seasons from 2022–23 to 2024–25 brought `r number(sum(three$rise))` million m³ together, `r if(sum(three$rise)<mean(over$rise)) "less than one average season" else "about as much as one average season"`, `r number(mean(over$rise))`.
```{r seasons_chart}
#| fig-alt: "Bar chart of the rise of the reserves in each wet season, upwards, and their fall in the dry season after it, downwards, since 1985–86: the falls are much the same every year, while the rises go from nothing to 780 million m³"
ticks<-seasons$year[seasons$year%%5==0]
plot_ly() %>%
add_bars(data=seasons,x=~year,y=~round(rise,1),name="Rise in the wet season",text=~name,
textposition="none",marker=list(color=ifelse(seasons$rise_over,blue,"#9dc3e6")),
hovertemplate="%{text}: up by %{y:,.0f} million m³<extra></extra>") %>%
add_bars(data=seasons,x=~year,y=~round(-fall,1),name="Fall in the dry season after it",
text=~paste0(year,ifelse(fall_over,""," so far")),textposition="none",
marker=list(color=ifelse(seasons$fall_over,greek_red,"#f2a5a5")),
hovertemplate="%{text}: down by %{customdata:,.0f} million m³<extra></extra>",
customdata=~round(fall,1)) %>%
chart("The rise of every wet season and the fall after it, million m³",
paste(eydap,"Paler: not over yet. The dotted lines: the averages of the seasons."),
"million m³",
x_axis=list(tickvals=ticks,ticktext=season_name(ticks)),
barmode="relative",legend=legend_top,margin=list(t=100,b=90),
shapes=list(list(type="line",xref="paper",x0=0,x1=1,y0=mean(over$rise),
y1=mean(over$rise),line=list(color=blue,width=1,dash="dot")),
list(type="line",xref="paper",x0=0,x1=1,y0=-mean(falls$fall),
y1=-mean(falls$fall),line=list(color=greek_red,width=1,dash="dot"))))
```
---
## 5. Was it the rain?
```{r rain_numbers}
correlation<-cor(known$rise,known$rain)
dry<-known[known$rain<500,]
latest<-known[nrow(known),]
wettest<-rank(-known$rain)[nrow(known)]
# the seasons since 2022-23, and the first four of the record, against the line
recent_seasons<-known[known$year>=2023,]
short<-recent_seasons$expected-recent_seasons$rise
first_four<-known[1:4,]
```
**`r if(correlation>0.7) "Mostly." else "Partly."`** The more it rained over the mountains of the Evinos and the Mornos from October to April, the more the reserves rose: across the `r nrow(known)` wet seasons since `r season_name(min(known$year))` the two have a correlation of `r two(correlation)`, and every 100 mm more rain brought about `r number(100*slope)` million m³ more water. In the `r nrow(dry)` seasons with less than 500 mm of rain, the reserves rose by `r number(max(dry$rise))` million m³ at most.
The three wet seasons from 2022–23 to 2024–25 had `r and_list(paste(number(three$rain),"mm"))` of rain, against `r number(mean(known$rain))` mm in an average season. Then `r latest$name` had `r number(latest$rain)` mm, `r if(wettest==1) "the most" else paste("the",ordinal(wettest),"most")` of the `r nrow(known)` seasons, and the reserves rose by `r number(latest$rise)` million m³.
```{r rain_chart}
#| fig-alt: "Scatter chart of the rain over the mountains of the Evinos and the Mornos from October to April against the rise of the reserves in the same wet season: the more rain, the more the reserves rose; the seasons from 2022–23 to 2025–26 lie below the line"
line_x<-c(max(min(known$rain),-coef(fit)[[1]]/slope),max(known$rain))
groups<-list(list(rows=!known$year%in%c(2023:2025,latest$year),name="Other wet seasons",
colour=gray),
list(rows=known$year%in%2023:2025,name="2022–23 to 2024–25",colour=blue),
list(rows=known$year==latest$year,name=latest$name,colour=greek_red))
p<-plot_ly() %>%
add_trace(x=line_x,y=predict(fit,newdata=data.frame(rain=line_x)),type="scatter",mode="lines",
name="The straight line that fits best",hoverinfo="skip",
line=list(color=dark_gray,width=1.5,dash="dash"))
for(g in groups) {
p<-p %>%
add_trace(data=known[g$rows,],x=~rain,y=~rise,text=~name,type="scatter",mode="markers",
name=g$name,marker=list(color=g$colour,size=10,line=list(color="white",width=1)),
hovertemplate=paste("%{text}: %{x:.0f} mm of rain,",
"up by %{y:,.0f} million m³<extra></extra>"))
}
# the names of the seasons in color and of the largest rise, next to their points; two names
# that would touch move apart
labelled<-known[known$year%in%c(2023:2025,latest$year,biggest$year),]
labelled<-labelled[order(labelled$rise),]
shift<-rep(0,nrow(labelled))
for(i in seq_len(nrow(labelled))[-1])
if(abs(labelled$rain[i]-labelled$rain[i-1])<40&labelled$rise[i]-labelled$rise[i-1]<30)
shift[c(i-1,i)]<-shift[c(i-1,i)]+c(-7,7)
labels<-list()
for(i in seq_len(nrow(labelled)))
labels[[i]]<-list(x=labelled$rain[i],y=labelled$rise[i],text=labelled$name[i],showarrow=FALSE,
xanchor="left",xshift=8,yshift=shift[i],font=list(size=11,color=dark_gray))
p %>%
chart("Rain from October to April and the rise of the reserves",
paste("EYDAP, through iMEdD Lab; ERA5 through Open-Meteo, the mean of six points over",
"the mountains."),
"Rise of the reserves, million m³",
x_axis=list(title="Rain over the Evinos and the Mornos, October to April, mm"),
legend=legend_top,margin=list(t=100,b=110),note_y=-0.2,annotations=labels)
```
`r if(all(short>0)) paste0("But in each of the last ",nrow(recent_seasons)," seasons the reserves rose less than the line predicts for their rain, by ",number(min(short))," to ",number(max(short))," million m³. ",if(all(first_four$rise<first_four$expected)) paste0("So did the first four seasons of the record, ",first_four$name[1]," to ",first_four$name[4],", as the drought of the early 1990s began. ") else "","One possible reason is that after dry years the ground soaks up more of the rain before it reaches the rivers; another, that warmer winters let more of it evaporate. The data cannot tell which.") else paste0("Since ",season_name(min(recent_seasons$year)),", the reserves rose by ",number(abs(mean(short)))," million m³ a season ",if(mean(short)>0) "less" else "more"," than the line predicts for their rain, on average.")`
---
## So, what does it mean?
**Athens has as much water as its winters bring.**
1. **Low, but not the lowest**: `r number(recent_low$total)` million m³ in `r month_text(recent_low$date)`, the least since `r format(less_before,"%Y")`; the record low was `r number(lowest$total)`, in `r month_text(lowest$date)`.
2. **A wet winter helped`r if(now<usual) ", but not enough" else ""`**: `r latest$name` brought `r number(latest$rise)` million m³, and on `r date_text(last)` the reserves were `r compared(now,year_before)` a year earlier, `r if((now>year_before)==(now>usual)) "and" else "but"` `r compared(now,usual)` the average of that day since 2002.
3. **The dry seasons take about the same every year**: `r number(mean(falls$fall))` million m³ on average.
4. **The wet seasons decide**: the more rain from October to April, the more water; after less than 500 mm, little or none.
**What this does not show.** The reserves are not all the water of Athens: EYDAP also has more than a hundred boreholes, which can safely give 70 to 125 million m³ of groundwater a year (EYDAP), and those are not in the data. The fall of a dry season mixes what the city takes with what evaporates and what still flows in; the data cannot tell them apart. The rain is ERA5's reconstruction at six points 25 km apart, not the measurements of rain gauges in the mountains. And the page does not forecast: how much water Athens has next year depends on a winter that has not come yet.
For the sea around Greece, see [Is the Aegean Turning Tropical?](ILLUSTRATION_AEGEAN_WARMING.html), and for the heat of the summers, [Athens Is Getting Hotter](ILLUSTRATION_ATHENS_HEAT.html).
---
## Sources
- EYDAP (Athens Water Supply and Sewerage Company), [Water supply resources](https://www.eydap.gr/en/TheCompany/Water/WaterSources/): the reservoirs, the Evinos–Mornos tunnel and the boreholes.
- Marinou, C. (17 July 2025), [Water reserves in Attica from 1985 to the present day](https://lab.imedd.org/en/water-reserves-in-attica-from-1985-to-the-present-day/), iMEdD Lab; the data: [iMEdD-Lab/eydap_water_reserves](https://github.com/iMEdD-Lab/eydap_water_reserves) on GitHub, accessed `r date_text(Sys.Date())`.
- Methodios, P. (19 June 2026), [The water reserves of Attica in live charts that update daily](https://lab.imedd.org/en/the-water-reserves-of-attica-in-live-charts-that-update-daily/), iMEdD Lab.
- Hersbach, H. and others (2020), [The ERA5 global reanalysis](https://doi.org/10.1002/qj.3803), *Quarterly Journal of the Royal Meteorological Society* 146, 1999–2049; through the [historical weather API of Open-Meteo](https://open-meteo.com/en/docs/historical-weather-api) ([Zippenfenig 2023](https://doi.org/10.5281/zenodo.7970649)).
- Tratsa, M. (8 December 2025), [Athens Enters Drought Emergency as Water Reserves Collapse](https://www.tovima.com/stories/athens-enters-drought-emergency-as-water-reserves-collapse/), *To Vima*.
---
*Rendered with R `r getRversion()` · plotly*