Content deleted Content added
No edit summary Tag: Reverted |
sync + try "Percentage possible sunshine" per talk proposal |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 22:
local function isAny(args, suffix)
local months = { '
for _, month in ipairs(months) do
if stripToNil(args[month .. suffix]) then
Line 135:
|-
!scope="
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" |
!scope="col" style="border-left-width:medium" |Year
]=],
Line 189 ⟶ 178:
annual_mode = 'max',
},
{---------- FIRST LINE
WANTROW = _ifany(' high C') or _ifany(' high F'),
mode = 'temperature',
Line 195 ⟶ 184:
color_scheme = _colorscheme('temperature', 't'),
scale_factor = '1',
label = '
annual_mode = 'avg',
},
Line 207 ⟶ 196:
annual_mode = 'avg',
},
{---------- FIRST LINE
WANTROW = _ifany(' low C') or _ifany(' low F'),
mode = 'temperature',
Line 213 ⟶ 202:
color_scheme = _colorscheme('temperature', 't'),
scale_factor = '1',
label = '
annual_mode = 'avg',
},
Line 306 ⟶ 295:
annual_mode = 'max',
},
{---------- SECOND LINE
WANTROW = not options.wantSingleLine and (_ifany(' high C') or _ifany(' high F')),
mode = 'temperature',
Line 313 ⟶ 302:
color_scheme = _colorscheme('temperature', 't'),
scale_factor = '1',
label = '
annual_mode = 'avg',
},
Line 327 ⟶ 316:
annual_mode = 'avg',
},
{---------- SECOND LINE
WANTROW = not options.wantSingleLine and (_ifany(' low C') or _ifany(' low F')),
mode = 'temperature',
Line 334 ⟶ 323:
color_scheme = _colorscheme('temperature', 't'),
scale_factor = '1',
label = '
show = _if('metric first', '2', '1'),
annual_mode = 'avg',
Line 513 ⟶ 502:
color_scheme = _colorscheme('sun', 's'),
scale_factor = '7.2',
label = '
annual_mode = 'avg',
},
|