"rawSql":"with data as (\n select\n date as time,\n rainfall\n from aggregated_weather where $__timeFilter(date) and station_name = \"$Station\"\n group by time\n) select time, sum(rainfall) over (order by time) as Rainfall from data;\n",
"refId":"A",
"select":[
[
{
"params":[
"value"
],
"type":"column"
}
]
],
"timeColumn":"time",
"where":[
{
"name":"$__timeFilter",
"params":[],
"type":"macro"
}
]
},
{
"format":"time_series",
"group":[],
"metricColumn":"none",
"rawQuery":true,
"rawSql":"with data as (\n select\n date as time,\n ETo\n from aggregated_weather where $__timeFilter(date) and station_name = \"$Station\"\n group by time\n) select time, sum(ETo) over (order by time) as ETo from data;",
"refId":"B",
"select":[
[
{
"params":[
"value"
],
"type":"column"
}
]
],
"timeColumn":"time",
"where":[
{
"name":"$__timeFilter",
"params":[],
"type":"macro"
}
]
}
],
"thresholds":[],
"timeFrom":null,
"timeRegions":[],
"timeShift":null,
"title":"Cumulative rainfall and evapotranspiration",