Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
922 lines (898 loc) · 64.6 KB
/
Copy pathindex.html
File metadata and controls
922 lines (898 loc) · 64.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Primary SEO metadata -->
<title>Shawn Corvec — Meteorologist & Atmospheric Scientist</title>
<meta name="description" content="Meteorologist and atmospheric scientist Shawn Corvec: numerical weather prediction, forecasting and energy markets, with live products from open model data.">
<meta name="author" content="Shawn Corvec">
<link rel="canonical" href="https://scorvec.com/">
<meta name="robots" content="index, follow">
<!-- Open Graph (link previews on social, Slack, iMessage) -->
<meta property="og:type" content="website">
<meta property="og:title" content="Shawn Corvec — Meteorologist & Atmospheric Scientist">
<meta property="og:description" content="Quantitative meteorologist working on numerical weather prediction, operational forecasting, and energy markets. Live weather and climate products from open model data.">
<meta property="og:url" content="https://scorvec.com/">
<meta property="og:image" content="https://scorvec.com/hero-supercell-1280.webp">
<meta property="og:image:alt" content="A supercell thunderstorm over green prairie under a blue sky">
<meta property="og:site_name" content="Shawn Corvec">
<meta property="og:locale" content="en_US">
<!-- Twitter card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Shawn Corvec — Meteorologist & Atmospheric Scientist">
<meta name="twitter:description" content="Meteorologist working on numerical weather prediction, operational forecasting, and energy markets.">
<meta name="twitter:image" content="https://scorvec.com/hero-supercell-1280.webp">
<!-- Structured data: a person, and the site itself -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Person",
"@id": "https://scorvec.com/#person",
"name": "Shawn Corvec",
"givenName": "Shawn",
"familyName": "Corvec",
"alternateName": "S. Corvec",
"url": "https://scorvec.com/",
"image": "https://scorvec.com/profile.jpg",
"jobTitle": "Meteorologist & Atmospheric Scientist",
"worksFor": { "@type": "Organization", "name": "bp", "url": "https://www.bp.com/" },
"alumniOf": [
{ "@type": "CollegeOrUniversity", "name": "University of Waterloo", "url": "https://uwaterloo.ca/" },
{ "@type": "CollegeOrUniversity", "name": "Dalhousie University", "url": "https://www.dal.ca/" }
],
"description": "Quantitative meteorologist with experience in numerical weather prediction, operational forecasting, and energy markets.",
"knowsAbout": [
"Numerical weather prediction",
"Operational forecasting",
"Energy markets",
"Atmospheric science",
"El Niño–Southern Oscillation",
"Madden–Julian Oscillation",
"Wind generation forecasting"
],
"sameAs": [
"https://www.linkedin.com/in/shawn-corvec-35895b231/",
"https://www.researchgate.net/profile/Shawn-Corvec",
"https://scholar.google.com/citations?user=EYLRCJIAAAAJ&hl=en",
"https://github.com/scorvec",
"https://orcid.org/0000-0002-6948-5697"
]
},
{
"@type": "ProfilePage",
"@id": "https://scorvec.com/#profilepage",
"url": "https://scorvec.com/",
"name": "Shawn Corvec — Meteorologist & Atmospheric Scientist",
"mainEntity": { "@id": "https://scorvec.com/#person" },
"isPartOf": { "@id": "https://scorvec.com/#website" }
},
{
"@type": "WebSite",
"@id": "https://scorvec.com/#website",
"url": "https://scorvec.com/",
"name": "Shawn Corvec",
"author": { "@id": "https://scorvec.com/#person" },
"inLanguage": "en"
}
]
}
</script>
<!-- The hero photograph is the largest contentful paint: fetch it before the stylesheet parses. -->
<link rel="preload" as="image"
imagesrcset="/hero-supercell-800.webp 800w, /hero-supercell-1280.webp 1280w, /hero-supercell-1920.webp 1920w"
imagesizes="100vw">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/assets/site.css?v=6a44bd129a">
<style>
/* Palette sampled from the photograph: sky, cloud, storm base, hills, prairie. */
:root {
--sky: #4878af;
--sky-deep: #274b7a;
--cloud: #eef0eb;
--cloud-2: #e3e6df;
--storm: #5c6b73;
--prairie: #29321f;
--grass: #9a8342; /* outline / underline accent (non-text, 3:1 is enough) */
--grass-ink: #74622f; /* the same gold as text: 5.2:1 on the row background */
--measure: 66rem;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* the homepage's text, menus included, grows with the window (USER 2026-11-26): 16 px to ~1000 px, 17 px at 1512,
19 px at 1920, 20.5 px from ~2300; the other pages keep the browser's size (site.css) */
html { font-size: clamp(100%, 0.4vw + 0.7rem, 128%); }
html body { font-size: 1rem; }
main#main { container: home / inline-size; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
background: var(--cloud);
color: var(--prairie);
font-family: var(--sans);
font-size: 1.0625rem;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
/* ── Hero: the photograph, full viewport, nothing on top of the storm ── */
.hero {
position: relative;
/* the text sets the height: the menu's row (84 px) plus a set gap above it, so a big screen no longer leaves a
band of empty sky under the menu, and the photo still fills a short window */
min-height: clamp(20rem, 42vh, 26rem);
min-height: clamp(20rem, 42svh, 26rem);
display: flex; flex-direction: column; justify-content: flex-end;
padding-top: calc(84px + clamp(1.25rem, 4vh, 2.75rem));
overflow: hidden;
background: var(--sky);
}
.hero img {
position: absolute; inset: 0;
width: 100%; height: 100%;
object-fit: cover;
/* keep the updraft in frame when the viewport is narrower than 4:3 */
object-position: 42% 58%;
}
/* a low band of shade over the fields so the name reads; the sky stays untouched */
.hero::after {
content: '';
position: absolute; left: 0; right: 0; bottom: 0; height: 64%;
background: linear-gradient(to top, rgba(14, 20, 11, 0.92) 0%, rgba(14, 20, 11, 0.72) 32%, rgba(14, 20, 11, 0.36) 66%, rgba(14, 20, 11, 0) 100%);
pointer-events: none;
}
/* a second, narrower band at the top so the menu reads against a bright sky */
.hero::before {
content: '';
position: absolute; left: 0; right: 0; top: 0; height: 150px; z-index: 1;
background: linear-gradient(to bottom, rgba(10, 16, 24, 0.62) 0%, rgba(10, 16, 24, 0.28) 55%, rgba(10, 16, 24, 0) 100%);
pointer-events: none;
}
.hero-text {
position: relative; z-index: 2;
margin: 0 auto clamp(2rem, 6vh, 4.5rem);
width: min(44rem, calc(100% - 2.5rem));
text-align: center;
color: #fff;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 6px 24px rgba(0, 0, 0, 0.35);
}
.hero-text h1 {
font-family: var(--serif);
font-size: var(--t-hero);
font-weight: 400; line-height: 1.02; letter-spacing: -0.012em;
font-variation-settings: 'opsz' 72;
margin-bottom: 0.55rem;
}
.hero-text .role {
font-family: var(--serif); font-style: italic;
font-size: clamp(1.35rem, 2.2vw, 1.7rem);
font-variation-settings: 'opsz' 24;
line-height: 1.3;
color: rgba(255, 255, 255, 0.92);
margin-bottom: 1.1rem;
}
.hero-text p {
font-size: 1.2rem; line-height: 1.55; max-width: 36rem;
margin: 0 auto; /* the paragraph is narrower than the block: centre it too */
color: rgba(255, 255, 255, 0.95);
}
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
/* wide screens: the content takes the header's width and padding (site.css .sh-in), so its edges line up with the search
box and the About menu instead of a 74rem column with ~430 px empty on each side at 2160 px */
@media (min-width: 1100px) { .wrap { max-width: min(94vw, 2000px); padding: 0 clamp(1rem, 3vw, 2.5rem); } }
/* ── Right now: compact live readings, few and uncluttered. Every number is read live (the ENSO and
stratosphere feeds); on any failure the dashes stay and the card still links. ── */
/* the cards' grid: 2, 3, 4 or 6 columns by width (the text grows with the window, so six stays enough); the two
panels above are each half of it (their edges on the cards' columns at 4 and 6), stacked on phones */
.now, .cards { --gap: 0.8rem; display: grid; gap: var(--gap); grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.cards { --cols: 2; }
@container home (min-width: 520px) { .cards { --cols: 3; } }
@container home (min-width: 860px) { .cards { --cols: 4; } }
@container home (min-width: 1250px) { .cards { --cols: 6; } }
.now { --cols: 1; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
@container home (min-width: 600px) { .now { --cols: 2; } }
.nc {
position: relative; display: flex; flex-direction: column; min-width: 0; aspect-ratio: 1; container-type: inline-size;
padding: 1.05rem 1.2rem 1rem; background: #fff; text-decoration: none;
border: 1px solid var(--cloud-2); border-top: 4px solid var(--acc, var(--sky-deep)); border-radius: 10px;
transition: box-shadow .15s;
}
.nc:hover { box-shadow: 0 2px 14px rgba(39, 75, 122, 0.13); }
.nc:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.nc .k { /* the card's title: the theme tiles' heading below */
font-family: var(--serif); font-weight: 500; font-size: 1.32rem; line-height: 1.2;
font-variation-settings: 'opsz' 24; color: var(--acc, var(--sky-deep));
}
.nc b {
font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.05;
font-variation-settings: 'opsz' 72; color: var(--acc, var(--sky-deep)); font-variant-numeric: tabular-nums;
}
.nc .s { margin-top: 0.55rem; font-size: 0.88rem; line-height: 1.4; color: var(--storm); }
.nc .go { margin-top: auto; padding-top: 0.6rem; font-size: 0.9rem; font-weight: 500; color: var(--acc, var(--sky-deep));
text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: transparent; }
.nc:hover .go { text-decoration-color: currentColor; }
/* El Niño card: a warm wash, the state in CPC's terms as a pill, three readings side by side, then the year and the
models' forecast, warm above zero and cool below, the models' range shaded */
.nc--en { --acc: #9a3f14; background: linear-gradient(180deg, #fff6f0 0%, #fff 48%); }
.nc--en:hover { box-shadow: 0 4px 22px rgba(154, 63, 20, 0.16); }
.en-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.en-pill { flex: none; padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: #fff;
background: var(--acc); white-space: nowrap; }
.en-pill.cool { background: #2c5f8a; }
.en-pill.neutral { background: #6f6b64; }
.en-pill[hidden] { display: none; }
.en-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem 1rem; margin-top: 0.65rem; }
.en-stats > span { display: flex; flex-direction: column; min-width: 0; padding-left: 0.8rem; border-left: 2px solid #f1d8c8; }
.en-stats > span:first-child { padding-left: 0; border-left: 0; }
.en-stats > span[hidden] { display: none; }
.en-stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.en-stats small { font-size: 0.86rem; color: var(--prairie); line-height: 1.3; }
.en-stats em { margin-top: 0.15rem; font-style: normal; font-size: 0.78rem; line-height: 1.35; color: var(--storm); }
/* drawn at its real pixel width (viewBox = the element's width, height fixed): a fixed 320-wide viewBox stretched to
a 560 px card would blow the labels up to ~17 px and the chart to 160 px */
.spark { display: block; width: 100%; flex: 1 1 120px; min-height: 120px; margin-top: 0.8rem; } /* fills the card's height */
.spark text { font-family: var(--sans); font-size: 0.8rem; fill: var(--storm); }
.spark .lab { font-weight: 600; fill: #9a3f14; }
.spark .lab.cool { fill: #2c5f8a; }
/* SSW card: the outlook page's three readings over each ensemble's chance run by run, in the stratosphere figures'
model colours, named at the line ends and in the key */
.nc--ssw { --acc: #3b3f8c; background: linear-gradient(180deg, #f3f3fb 0%, #fff 48%); }
.nc--ssw:hover { box-shadow: 0 4px 22px rgba(59, 63, 140, 0.16); }
.nc--ssw .en-stats > span { border-left-color: #d8daef; }
.ss-body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.ss-text, .ss-chart { display: flex; flex-direction: column; min-width: 0; }
.ss-chart[hidden] { display: none; }
.ss-chart { flex: 1 1 auto; }
.ss-chart .spark { flex: 1 1 120px; min-height: 120px; margin-top: 0.65rem; }
.ss-key { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; margin-top: 0.35rem; font-size: 0.78rem; color: var(--storm); }
.ss-key span { display: inline-flex; align-items: center; gap: 0.35rem; }
.ss-key i { display: inline-block; width: 0.9rem; height: 2px; border-radius: 1px; }
.nc--ssw.ev .en-stats b { white-space: nowrap; } /* a warming under way: the numbers are dates */
@media (max-width: 520px) { .nc--ssw.ev .en-stats b { font-size: 1.6rem; } }
/* narrow panels (phones, tablets): the description and detail lines go and the charts shrink, so the squares hold */
@container (max-width: 25rem) {
.nc .s, .nc .en-stats em, .ss-key { display: none; } /* the key repeats the line-end names */
.spark, .ss-chart .spark { flex-basis: 100px; min-height: 100px; }
}
@media (max-width: 640px) { .nc { padding: 0.85rem 0.95rem 0.8rem; } }
/* ── The themes: each menu as a section of cards, a faded still of the page's figure behind each
(apply_chrome.homepage_rows). ── */
.themes { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
/* heading with its note underneath (spread to opposite ends, the note would float ~1,000 px from its heading once
the content takes the header's width) */
.themes-head { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; margin-bottom: 1.25rem; }
.themes-head h2 {
font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1;
letter-spacing: -0.01em; font-variation-settings: 'opsz' 60;
}
.themes-head p { color: var(--storm); font-size: 0.98rem; max-width: 38rem; }
.themes-head p a { text-underline-offset: 0.2em; text-decoration-color: rgba(92, 107, 115, 0.5); }
.th { margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.th:first-of-type { margin-top: 0; }
.th[data-topic="weather"] { --acc: #274b7a; }
.th[data-topic="drivers"] { --acc: #9a3f14; }
.th[data-topic="circulation"] { --acc: #5b4a8a; }
.th[data-topic="outlooks"] { --acc: #3f6b3a; }
.th[data-topic="research"] { --acc: #4f5d65; }
.th-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 1.1rem;
padding-bottom: 0.55rem; margin-bottom: 0.9rem; border-bottom: 2px solid var(--acc); }
.th-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15;
font-variation-settings: 'opsz' 36; color: var(--acc); }
.th-head p { font-size: 0.95rem; line-height: 1.4; color: var(--muted); max-width: 46rem; }
/* every card the same square, on the grid above; a section's last row may be short */
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; min-width: 0;
aspect-ratio: 1; container-type: inline-size; padding: 0.85rem 0.95rem 0.75rem; background: #fff;
text-decoration: none; color: var(--ink); border: 1px solid var(--cloud-2); border-radius: 10px; }
/* the page's figure (a square crop, assets/site/cards) fills the card, faded in from the upper left under the
text; full colour under the pointer or focus */
.card img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover;
opacity: 0.5; filter: saturate(0.7);
-webkit-mask-image: linear-gradient(150deg, transparent 12%, #000 62%);
mask-image: linear-gradient(150deg, transparent 12%, #000 62%);
transition: opacity .25s, filter .25s; }
.card:hover img, .card:focus-visible img { opacity: 0.92; filter: none; }
.card:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.c-name { max-width: 15ch; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.18;
font-variation-settings: 'opsz' 24; color: var(--acc); }
.c-note { max-width: 19ch; margin-top: 0.35rem; font-size: 0.92rem; line-height: 1.35; color: var(--ink2); }
.c-when { margin-top: auto; font-size: 0.82rem; color: var(--muted); }
.c-name, .c-note, .c-when, .c-list { text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
/* a menu group as one card: a link per page */
.c-list { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.15rem; }
.c-list a { font-size: clamp(0.72rem, 6.4cqi, 1rem); line-height: 1.2; color: var(--ink2); text-decoration: none; } /* by the card's width */
.c-list a:hover, .c-list a:focus-visible { color: var(--acc); text-decoration: underline; text-underline-offset: 0.18em; }
.group img { opacity: 0.3; }
.group.card { padding-top: 0.75rem; padding-bottom: 0.7rem; }
/* small squares (phones): the name only */
@container (max-width: 11.5rem) {
.c-name { max-width: none; font-size: 1.02rem; }
.c-note, .c-when { display: none; }
}
@media (max-width: 640px) {
.now, .cards { --gap: 0.6rem; }
.card { padding: 0.75rem 0.8rem 0.7rem; }
.group.card { grid-column: span 2; grid-row: span 2; } /* phones: the group one full-width square */
}
@media (prefers-reduced-motion: reduce) { .card img { transition: none; } }
details.src { margin-top: 1.5rem; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
details.src summary { cursor: pointer; width: fit-content; }
details.src p { margin: 0.4rem 0 0; }
footer { border-top: 1px solid var(--cloud-2); padding: 1.4rem 0 2rem; font-size: 0.9rem; color: var(--storm); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
footer a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(92,107,115,0.45); }
@media (max-width: 520px) {
.hero img { object-position: 40% 55%; }
.hero::after { height: 88%; } /* the wrapped title climbs into the bright cloud: the shade follows it */
}
</style>
<script src="/assets/site.js?v=de9fd94074" defer></script>
<script data-goatcounter="https://scorvec.goatcounter.com/count" async src="https://gc.zgo.at/count.v4.js" integrity="sha384-nRw6qfbWyJha9LhsOtSb2YJDyZdKvvCFh0fJYlkquSFjUxp9FVNugbfy8q1jdxI+" crossorigin="anonymous"></script>
</head>
<body>
<!-- sh:start -->
<a class="skip-link" href="#main">Skip to main content</a>
<header class="sh sh--overlay" id="site-header">
<div class="sh-in">
<a class="sh-brand" href="/">Shawn Corvec</a>
<button class="sh-toggle" type="button" aria-expanded="false" aria-controls="sh-menu">Menu</button>
<nav class="sh-nav" id="sh-menu" aria-label="Site">
<ul class="sh-list">
<li class="sh-item sh-has-menu">
<button class="sh-link sh-menubtn" type="button" aria-expanded="false" aria-controls="sh-g0">Forecasts</button>
<div class="sh-menu sh-menu--cols" id="sh-g0">
<div class="sh-col">
<div>
<h3>Model maps</h3>
<ul>
<li><a href="/models.html"><span class="sh-t">North America, short range</span><span class="sh-d">HRRR, RRFS and RDPS: radar, snow, storms</span></a></li>
<li><a href="/samerica-models.html"><span class="sh-t">South America, to day 10</span><span class="sh-d">IFS control and GDPS, with soundings</span></a></li>
<li><a href="/ens-anomalies.html"><span class="sh-t">Global ensembles</span><span class="sh-d">Four ensembles: anomalies and regimes</span></a></li>
</ul>
</div>
</div>
<div class="sh-col">
<div>
<h3>Days 1–15</h3>
<ul>
<li><a href="/ar.html"><span class="sh-t">Atmospheric rivers</span><span class="sh-d">Moisture plumes, landfall and their odds</span></a></li>
<li><a href="/circulation.html#dt"><span class="sh-t">Jet streams and tropopause</span><span class="sh-d">Tropopause, Pacific and subtropical jets, wave trains</span></a></li>
<li><a href="/circulation.html#wcb"><span class="sh-t">Warm conveyor belts</span><span class="sh-d">Inflow, ascent and outflow in 50 members</span></a></li>
<li><a href="/aam.html"><span class="sh-t">Earth’s angular momentum and day length</span><span class="sh-d">Day length, momentum budget, mountain torques</span></a></li>
<li><a href="/circulation.html#telecon15"><span class="sh-t">Teleconnections</span><span class="sh-d">AO, NAO, PNA and more, calibrated</span></a></li>
</ul>
</div>
</div>
</div>
</li>
<li class="sh-item sh-has-menu">
<button class="sh-link sh-menubtn" type="button" aria-expanded="false" aria-controls="sh-g1">Tropics</button>
<div class="sh-menu sh-menu--cols" id="sh-g1">
<div class="sh-col">
<div>
<h3>ENSO and the MJO</h3>
<ul>
<li><a href="/enso.html"><span class="sh-t">El Niño monitor</span><span class="sh-d">ONI, RONI, the subsurface and winds</span></a></li>
<li><a href="/mjo.html"><span class="sh-t">MJO forecast</span><span class="sh-d">Four ensembles on one phase diagram</span></a></li>
<li><a href="/tropical-waves.html"><span class="sh-t">Tropical waves</span><span class="sh-d">Kelvin and Rossby waves, now and ahead</span></a></li>
</ul>
</div>
</div>
<div class="sh-col">
<div>
<h3>Circulation</h3>
<ul>
<li><a href="/circulation.html#walker"><span class="sh-t">Walker and Hadley cells</span><span class="sh-d">The overturning, its outflow and descent</span></a></li>
<li><a href="/circulation.html#mslp"><span class="sh-t">Pacific pressure and satellite</span><span class="sh-d">Pressure, wind and simulated IR</span></a></li>
<li><a href="/circulation.html#rainfc"><span class="sh-t">Rain forecast, weeks 1–2</span><span class="sh-d">Four ensembles, bias-adjusted, blended</span></a></li>
<li><a href="/circulation.html#troughs"><span class="sh-t">Convergence and monsoon troughs</span><span class="sh-d">Where the low-level wind converges, days 1–15</span></a></li>
</ul>
</div>
</div>
</div>
</li>
<li class="sh-item sh-has-menu">
<button class="sh-link sh-menubtn" type="button" aria-expanded="false" aria-controls="sh-g2">Stratosphere</button>
<div class="sh-menu sh-menu--cols" id="sh-g2">
<div class="sh-col">
<div>
<h3>Forecasts</h3>
<ul>
<li><a href="/ssw.html"><span class="sh-t">SSW outlook</span><span class="sh-d">Is a sudden warming coming?</span></a></li>
<li><a href="/stratosphere.html#vortex"><span class="sh-t">The next two weeks</span><span class="sh-d">The vortex, its waves and the surface</span></a></li>
<li><a href="/stratosphere.html#vortex35"><span class="sh-t">Weeks 3–5 and the season</span><span class="sh-d">GEPS, GEFS, C3S and SEAS5</span></a></li>
<li><a href="/strat-models.html"><span class="sh-t">Stratosphere model maps</span><span class="sh-d">Polar maps at every level, zoomable</span></a></li>
</ul>
</div>
</div>
<div class="sh-col">
<div>
<h3>Analyses and history</h3>
<ul>
<li><a href="/stratosphere.html#qbo"><span class="sh-t">The QBO and today's analyses</span><span class="sh-d">QBO, momentum and the Brewer–Dobson</span></a></li>
<li><a href="/stratosphere.html#shwinters"><span class="sh-t">History and studies</span><span class="sh-d">Every winter and warming since 1980</span></a></li>
</ul>
</div>
</div>
</div>
</li>
<li class="sh-item sh-has-menu">
<button class="sh-link sh-menubtn" type="button" aria-expanded="false" aria-controls="sh-g3">Weeks to seasons</button>
<div class="sh-menu sh-menu--cols" id="sh-g3">
<div class="sh-col">
<div>
<h3>Extended range</h3>
<ul>
<li><a href="/subseasonal.html"><span class="sh-t">GEPS, to day 35</span><span class="sh-d">Canada's extended ensemble</span></a></li>
<li><a href="/gefs.html"><span class="sh-t">GEFS, to day 35</span><span class="sh-d">NOAA's extended ensemble</span></a></li>
</ul>
</div>
</div>
<div class="sh-col">
<div>
<h3>Months and seasons</h3>
<ul>
<li><a href="/monthly-outlook.html"><span class="sh-t">Claude's long-range forecast</span><span class="sh-d">The month and three seasons ahead</span></a></li>
<li><a href="/seasonal.html"><span class="sh-t">Seasonal model forecasts</span><span class="sh-d">Seven C3S systems and CanSIPS</span></a></li>
<li><a href="/enso-forecasts.html"><span class="sh-t">ENSO forecasts</span><span class="sh-d">Niño-3.4 from five centres</span></a></li>
</ul>
</div>
</div>
</div>
</li>
<li class="sh-item sh-has-menu">
<button class="sh-link sh-menubtn" type="button" aria-expanded="false" aria-controls="sh-g4">Studies and tools</button>
<div class="sh-menu sh-menu--cols" id="sh-g4">
<div class="sh-col">
<div>
<h3>Studies</h3>
<ul>
<li><a href="/enso.html#imp_reg"><span class="sh-t">ENSO impacts on the Americas</span><span class="sh-d">CMIP6 and the observed record</span></a></li>
<li><a href="/mjo.html#mi"><span class="sh-t">MJO impacts</span><span class="sh-d">Each phase, season by season</span></a></li>
<li><a href="/aifs-aam-budget.html"><span class="sh-t">AI models and conservation laws</span><span class="sh-d">Does the AIFS keep the budgets?</span></a></li>
<li><a href="/torque-enso.html"><span class="sh-t">El Niño and angular momentum</span><span class="sh-d">Why the atmosphere spins up</span></a></li>
<li><a href="/solar-strat.html"><span class="sh-t">The solar cycle and the stratosphere</span><span class="sh-d">Three proposed routes, each tested</span></a></li>
<li><a href="/topics/"><span class="sh-t">Explainers</span><span class="sh-d">The physics behind the products</span></a></li>
</ul>
</div>
</div>
<div class="sh-col">
<div>
<h3>Verification</h3>
<ul>
<li><a href="/verification.html"><span class="sh-t">Model verification</span><span class="sh-d">Scorecards, maps and the database</span></a></li>
</ul>
</div>
<div>
<h3>Tools</h3>
<ul>
<li><a href="/skewt/"><span class="sh-t">Sounding explorer</span><span class="sh-d">Radiosondes worldwide, live</span></a></li>
<li><a href="/asos5.html"><span class="sh-t">Five-minute airport observations</span><span class="sh-d">22 major US airports, live</span></a></li>
<li><a href="/snow.html"><span class="sh-t">Snow cover and depth</span><span class="sh-d">IMS, ERA5 and SNODAS, against normal</span></a></li>
<li><a href="/climate.html"><span class="sh-t">US climate trends</span><span class="sh-d">Every county and month since 1895</span></a></li>
<li><a href="/fci.html"><span class="sh-t">US credit conditions</span><span class="sh-d">Financial conditions, weekly since 1990</span></a></li>
</ul>
</div>
</div>
</div>
</li>
<li class="sh-item sh-has-menu sh-item--me">
<button class="sh-link sh-menubtn sh-me" type="button" aria-expanded="false" aria-controls="sh-me">About</button>
<div class="sh-menu sh-menu--list sh-menu--me" id="sh-me">
<ul>
<li><a href="/about.html">About me</a></li>
<li><a href="/resume.html">Resume</a></li>
<li><a href="/research.html">Publications</a></li>
<li><a href="/guides/">Methods</a></li>
<li class="sh-me-ext"><a href="https://github.com/scorvec">GitHub</a></li>
<li><a href="https://scholar.google.com/citations?user=EYLRCJIAAAAJ&hl=en">Google Scholar</a></li>
<li><a href="https://www.linkedin.com/in/shawn-corvec-35895b231/">LinkedIn</a></li>
</ul>
</div>
</li>
</ul>
</nav>
</div>
</header>
<!-- sh:end -->
<header class="hero">
<img src="/hero-supercell-1920.webp"
srcset="/hero-supercell-800.webp 800w, /hero-supercell-1280.webp 1280w, /hero-supercell-1920.webp 1920w"
sizes="100vw" fetchpriority="high" decoding="async"
alt="A supercell thunderstorm builds over green prairie under a blue sky, its anvil spreading downwind.">
<div class="hero-text">
<h1>Weather and climate diagnostics</h1>
<p class="role">Model forecasts, observations, and research</p>
</div>
</header>
<main id="main" class="wrap">
<section class="now" aria-label="Right now">
<a class="nc nc--en" href="/enso.html">
<span class="en-top"><span class="k">El Niño and La Niña</span><span class="en-pill" id="en-pill" hidden></span></span>
<span class="en-stats" aria-live="polite">
<span><b id="en-now">–</b><small>Niño-3.4 today, °C</small><em id="en-nowd"></em></span>
<span><b id="en-roni">–</b><small id="en-ronil">RONI this season</small><em id="en-ronid"></em></span>
<span><b id="en-pk">–</b><small id="en-pkl">expected peak, models</small><em id="en-pkd"></em></span>
</span>
<svg class="spark" id="en-spark" viewBox="0 0 320 170" role="img" aria-label="Niño-3.4 over the past year and the model forecast" hidden></svg>
<span class="s" id="en-sub">Sea temperatures, the official indices and the seasonal models.</span>
<span class="go">El Niño monitor</span>
</a>
<a class="nc nc--ssw" href="/ssw.html">
<span class="en-top"><span class="k">Sudden stratospheric warming</span><span class="en-pill" id="ss-pill" hidden></span></span>
<span class="ss-body">
<span class="ss-text">
<span class="en-stats two" id="ss-stats" aria-live="polite">
<span><b id="ss-p">–</b><small id="ss-pl">chance in the next 15 days</small><em id="ss-pd"></em></span>
<span><b id="ss-kind">–</b><small id="ss-kl">wave driving</small><em id="ss-kd"></em></span>
<span id="ss-sfcw" hidden><b id="ss-sfc">–</b><small id="ss-sl">chance of an Arctic high after day 15</small><em id="ss-sd"></em></span>
</span>
<span class="s" id="ss-sub">The 10 hPa wind at 60°N turning easterly in each ensemble's members, and how strong the vortex is.</span>
</span>
<span class="ss-chart" id="ss-chart" hidden>
<svg class="spark" id="ss-spark" role="img" aria-label="Each ensemble's chance of a sudden warming, run by run"></svg>
<span class="ss-key" id="ss-key"></span>
</span>
</span>
<span class="go">SSW outlook</span>
</a>
</section>
<section class="themes" id="products" aria-labelledby="themes-title">
<div class="themes-head">
<h2 id="themes-title">Weather analysis and model data — charts and maps</h2>
</div>
<!-- hp:start -->
<section class="th" data-topic="weather">
<header class="th-head"><h3>Forecasts</h3><p>The newest model runs and the next two weeks' weather</p></header>
<div class="cards">
<a class="card" href="/ens-anomalies.html"><img src="/assets/site/cards/ens_anomalies.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Global ensembles</span><span class="c-note">Four ensembles: anomalies and regimes</span><span class="c-when">Twice daily</span></a>
<a class="card" href="/models.html"><img src="/assets/site/cards/models.webp" alt="" loading="lazy" decoding="async"><span class="c-name">North America, short range</span><span class="c-note">HRRR, RRFS and RDPS: radar, snow, storms</span><span class="c-when">Four times daily</span></a>
<a class="card" href="/samerica-models.html"><img src="/assets/site/cards/samerica_models.webp" alt="" loading="lazy" decoding="async"><span class="c-name">South America, to day 10</span><span class="c-note">IFS control and GDPS, with soundings</span><span class="c-when">Twice daily</span></a>
<a class="card" href="/ar.html"><img src="/assets/site/cards/ar.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Atmospheric rivers</span><span class="c-note">Moisture plumes, landfall and their odds</span><span class="c-when">Twice daily</span></a>
<a class="card" href="/circulation.html#dt"><img src="/assets/site/cards/circulation_dt.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Jet streams and tropopause</span><span class="c-note">Tropopause, Pacific and subtropical jets, wave trains</span><span class="c-when">Twice daily</span></a>
<a class="card" href="/circulation.html#wcb"><img src="/assets/site/cards/circulation_wcb.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Warm conveyor belts</span><span class="c-note">Inflow, ascent and outflow in 50 members</span><span class="c-when">Daily</span></a>
<a class="card" href="/aam.html"><img src="/assets/site/cards/aam.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Earth’s angular momentum and day length</span><span class="c-note">Day length, momentum budget, mountain torques</span><span class="c-when">Daily</span></a>
<a class="card" href="/circulation.html#telecon15"><img src="/assets/site/cards/circulation_telecon15.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Teleconnections</span><span class="c-note">AO, NAO, PNA and more, calibrated</span><span class="c-when">Twice daily</span></a>
</div>
</section>
<section class="th" data-topic="drivers">
<header class="th-head"><h3>Tropics</h3><p>El Niño, the MJO, tropical waves and the tropical circulation</p></header>
<div class="cards">
<a class="card" href="/enso.html"><img src="/assets/site/cards/enso.webp" alt="" loading="lazy" decoding="async"><span class="c-name">El Niño monitor</span><span class="c-note">ONI, RONI, the subsurface and winds</span><span class="c-when">Daily</span></a>
<a class="card" href="/mjo.html"><img src="/assets/site/cards/mjo.webp" alt="" loading="lazy" decoding="async"><span class="c-name">MJO forecast</span><span class="c-note">Four ensembles on one phase diagram</span><span class="c-when">Twice daily</span></a>
<a class="card" href="/tropical-waves.html"><img src="/assets/site/cards/tropical_waves.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Tropical waves</span><span class="c-note">Kelvin and Rossby waves, now and ahead</span><span class="c-when">Daily</span></a>
<a class="card" href="/circulation.html#walker"><img src="/assets/site/cards/circulation_walker.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Walker and Hadley cells</span><span class="c-note">The overturning, its outflow and descent</span><span class="c-when">Daily</span></a>
<a class="card" href="/circulation.html#mslp"><img src="/assets/site/cards/circulation_mslp.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Pacific pressure and satellite</span><span class="c-note">Pressure, wind and simulated IR</span><span class="c-when">Twice daily</span></a>
<a class="card" href="/circulation.html#rainfc"><img src="/assets/site/cards/circulation_rainfc.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Rain forecast, weeks 1–2</span><span class="c-note">Four ensembles, bias-adjusted, blended</span><span class="c-when">Daily</span></a>
<a class="card" href="/circulation.html#troughs"><img src="/assets/site/cards/circulation_troughs.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Convergence and monsoon troughs</span><span class="c-note">Where the low-level wind converges, days 1–15</span><span class="c-when">Daily</span></a>
</div>
</section>
<section class="th" data-topic="circulation">
<header class="th-head"><h3>Stratosphere</h3><p>The polar vortex and the waves going up into it, from today's analysis to the season, and the QBO</p></header>
<div class="cards">
<a class="card" href="/ssw.html"><img src="/assets/site/cards/ssw.webp" alt="" loading="lazy" decoding="async"><span class="c-name">SSW outlook</span><span class="c-note">Is a sudden warming coming?</span><span class="c-when">Twice daily</span></a>
<a class="card" href="/stratosphere.html#vortex"><img src="/assets/site/cards/stratosphere_vortex.webp" alt="" loading="lazy" decoding="async"><span class="c-name">The next two weeks</span><span class="c-note">The vortex, its waves and the surface</span><span class="c-when">Twice daily</span></a>
<a class="card" href="/stratosphere.html#vortex35"><img src="/assets/site/cards/stratosphere_vortex35.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Weeks 3–5 and the season</span><span class="c-note">GEPS, GEFS, C3S and SEAS5</span><span class="c-when">Daily</span></a>
<a class="card" href="/strat-models.html"><img src="/assets/site/cards/strat_models.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Stratosphere model maps</span><span class="c-note">Polar maps at every level, zoomable</span><span class="c-when">Four times daily</span></a>
<a class="card" href="/stratosphere.html#qbo"><img src="/assets/site/cards/stratosphere_qbo.webp" alt="" loading="lazy" decoding="async"><span class="c-name">The QBO and today's analyses</span><span class="c-note">QBO, momentum and the Brewer–Dobson</span><span class="c-when">Daily</span></a>
<a class="card" href="/stratosphere.html#shwinters"><img src="/assets/site/cards/stratosphere_shwinters.webp" alt="" loading="lazy" decoding="async"><span class="c-name">History and studies</span><span class="c-note">Every winter and warming since 1980</span><span class="c-when">Static</span></a>
</div>
</section>
<section class="th" data-topic="outlooks">
<header class="th-head"><h3>Weeks to seasons</h3><p>From weeks two to five out to the coming seasons</p></header>
<div class="cards">
<a class="card" href="/monthly-outlook.html"><img src="/assets/site/cards/monthly_outlook.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Claude's long-range forecast</span><span class="c-note">The month and three seasons ahead</span><span class="c-when">Monthly, on the 15th</span></a>
<a class="card" href="/subseasonal.html"><img src="/assets/site/cards/subseasonal.webp" alt="" loading="lazy" decoding="async"><span class="c-name">GEPS, to day 35</span><span class="c-note">Canada's extended ensemble</span><span class="c-when">Mondays and Thursdays</span></a>
<a class="card" href="/gefs.html"><img src="/assets/site/cards/gefs.webp" alt="" loading="lazy" decoding="async"><span class="c-name">GEFS, to day 35</span><span class="c-note">NOAA's extended ensemble</span><span class="c-when">Daily</span></a>
<a class="card" href="/seasonal.html"><img src="/assets/site/cards/seasonal.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Seasonal model forecasts</span><span class="c-note">Seven C3S systems and CanSIPS</span><span class="c-when">Monthly</span></a>
<a class="card" href="/enso-forecasts.html"><img src="/assets/site/cards/enso_forecasts.webp" alt="" loading="lazy" decoding="async"><span class="c-name">ENSO forecasts</span><span class="c-note">Niño-3.4 from five centres</span><span class="c-when">Monthly</span></a>
</div>
</section>
<section class="th" data-topic="research">
<header class="th-head"><h3>Studies and tools</h3><p>What the record and the models say, how the forecasts score, and the data to explore</p></header>
<div class="cards">
<a class="card" href="/verification.html"><img src="/assets/site/cards/verification.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Model verification</span><span class="c-note">Scorecards, maps and the database</span><span class="c-when">Daily</span></a>
<div class="card group"><img src="/assets/site/cards/enso_imp_reg.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Studies</span><ul class="c-list"><li><a href="/enso.html#imp_reg">ENSO impacts on the Americas</a></li><li><a href="/mjo.html#mi">MJO impacts</a></li><li><a href="/aifs-aam-budget.html">AI models and conservation laws</a></li><li><a href="/torque-enso.html">El Niño and angular momentum</a></li><li><a href="/solar-strat.html">The solar cycle and the stratosphere</a></li><li><a href="/topics/">Explainers</a></li></ul></div>
<a class="card" href="/skewt/"><img src="/assets/site/cards/skewt.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Sounding explorer</span><span class="c-note">Radiosondes worldwide, live</span><span class="c-when">Hourly mirror</span></a>
<a class="card" href="/asos5.html"><img src="/assets/site/cards/asos5.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Five-minute airport observations</span><span class="c-note">22 major US airports, live</span><span class="c-when">Live</span></a>
<a class="card" href="/snow.html"><img src="/assets/site/cards/snow.webp" alt="" loading="lazy" decoding="async"><span class="c-name">Snow cover and depth</span><span class="c-note">IMS, ERA5 and SNODAS, against normal</span><span class="c-when">Daily</span></a>
<a class="card" href="/climate.html"><img src="/assets/site/cards/climate.webp" alt="" loading="lazy" decoding="async"><span class="c-name">US climate trends</span><span class="c-note">Every county and month since 1895</span><span class="c-when">Monthly</span></a>
<a class="card" href="/fci.html"><img src="/assets/site/cards/fci.webp" alt="" loading="lazy" decoding="async"><span class="c-name">US credit conditions</span><span class="c-note">Financial conditions, weekly since 1990</span><span class="c-when">Daily</span></a>
</div>
</section>
<!-- hp:end -->
<details class="src"><summary>Data sources</summary><p>NOAA OISST v2.1 and CPC; C3S seasonal forecasts. Contains modified Copernicus Climate Change Service information 2026. ECMWF IFS-ENS and AIFS-ENS open data (CC BY 4.0), NOAA GEFS, ECCC GEPS.</p></details>
</section>
</main>
<footer>
<div class="wrap">
<span>Unique viewers: <span id="count">—</span>, <a href="/stats.html">by location</a></span>
<span>Photograph and site by Shawn Corvec</span>
</div>
</footer>
<script>
const $set = (id, t) => { const el = document.getElementById(id); if (el) el.textContent = t; };
const getJSON = u => fetch(u, { cache: 'no-cache' }).then(r => r.ok ? r.json() : null).catch(() => null);
const day = iso => new Date(iso.slice(0, 10) + 'T12:00:00Z').toLocaleDateString('en-US', { month: 'short', day: 'numeric', timeZone: 'UTC' });
// El Niño card: Niño-3.4 today; our RONI estimate for the season so far beside CPC's latest official season, whose
// strength in CPC's terms is the pill; the model-mean Niño-3.4 peak with the range of the model means (DWD left out,
// as on the ENSO forecasts page) and its value on the RONI scale; the past year and the models' forecast, warm above
// zero and cool below, the models' range shaded
Promise.all(['/assets/sst/data/enso_daily.json', '/assets/sst/data/enso_forecast.json', '/assets/sst/data/cpc_official.json'].map(getJSON)).then(([D, F, O]) => {
const sg = v => (v >= 0 ? '+' : '−') + Math.abs(v).toFixed(1);
const SEAS = 'JFMAMJJASONDJF';
const season = ym => { const m = +ym.slice(5, 7), k = m - 2 < 0 ? 11 : m - 2; return SEAS.slice(k, k + 3); };
const nextMonth = ym => { const y = +ym.slice(0, 4), m = +ym.slice(5, 7); return m === 12 ? `${y + 1}-01` : `${y}-${String(m + 1).padStart(2, '0')}`; };
const mean = a => a.reduce((x, y) => x + y, 0) / a.length;
const strength = v => { const a = Math.abs(v); return a >= 2 ? 'Very strong' : a >= 1.5 ? 'Strong' : a >= 1 ? 'Moderate' : 'Weak'; };
if (D && D.latest) {
const L = D.latest;
$set('en-now', sg(L.nino34));
$set('en-nowd', `${day(L.date)}, ${L.nino34_d30 >= 0 ? 'up' : 'down'} ${Math.abs(L.nino34_d30).toFixed(1)} in 30 days` +
(D.final_through && L.date > D.final_through ? ', preliminary' : ''));
// a centred season is still open until its last month has closed
if (L.roni != null) {
$set('en-roni', sg(L.roni));
$set('en-ronil', `RONI, ${season(L.oni_month)}${L.date.slice(0, 7) <= nextMonth(L.oni_month) ? ' so far' : ''}`);
}
}
if (O && O.roni) {
const k = Object.keys(O.roni).sort().pop();
if (k) {
const v = O.roni[k], pill = document.getElementById('en-pill');
$set('en-ronid', `our estimate from OISST; CPC's official ${sg(v)} for ${season(k)}`);
pill.textContent = Math.abs(v) < 0.5 ? 'ENSO-neutral' : `${strength(v)} ${v > 0 ? 'El Niño' : 'La Niña'}`;
pill.title = `CPC's official RONI for ${season(k)}: ${sg(v)} °C`;
pill.className = 'en-pill' + (Math.abs(v) < 0.5 ? ' neutral' : v < 0 ? ' cool' : '');
pill.hidden = false;
}
}
let mmm = null, lo = null, hi = null;
if (F && F.models) {
const models = Object.entries(F.models).filter(([k]) => !/^DWD\b/.test(k)).map(([, v]) => v), nL = F.valid_months.length;
const per = models.map(m => m.n34.map(mean)); // each model's ensemble mean by lead
mmm = [...Array(nL).keys()].map(l => mean(per.map(p => p[l])));
lo = [...Array(nL).keys()].map(l => Math.min(...per.map(p => p[l])));
hi = [...Array(nL).keys()].map(l => Math.max(...per.map(p => p[l])));
const s3 = (p, l) => (p[l] + p[l + 1] + p[l + 2]) / 3;
let best = -1, bv = -9;
for (let l = 0; l + 2 < nL; l++) { const v = s3(mmm, l); if (v > bv) { bv = v; best = l; } }
if (best >= 0) {
const pk = per.map(p => s3(p, best));
let rel = '';
if (models.every(m => m.rnino)) {
const rp = models.map(m => m.rnino.map(mean)), rm = [...Array(nL).keys()].map(l => mean(rp.map(p => p[l])));
let rb = 0;
for (let l = 1; l + 2 < nL; l++) if (s3(rm, l) > s3(rm, rb)) rb = l;
rel = `; ${sg(s3(rm, rb))} on the RONI scale` + (rb !== best ? ` (${season(F.valid_months[rb + 1])})` : '');
}
$set('en-pk', sg(bv));
$set('en-pkl', `expected peak, ${season(F.valid_months[best + 1])}`);
$set('en-pkd', `${models.length} models, ${sg(Math.min(...pk))} to ${sg(Math.max(...pk))}${rel}`);
$set('en-sub', `The peak is the 3-month mean of ${models.length} C3S models' Niño-3.4, each against its own 1993–2016 ` +
'hindcast; the shading is their range.');
}
}
if (D && D.daily && D.daily.nino34) {
const dd = D.daily.dates, v = D.daily.nino34, n = dd.length, k0 = Math.max(0, n - 365);
const t = s => Date.parse(s.length === 7 ? s + '-15' : s);
const obs = dd.slice(k0).map((s, i) => [t(s), v[k0 + i]]).filter(p => p[1] != null);
if (obs.length < 2) return;
const last = obs[obs.length - 1];
// the forecast from today's value on: the model mean and the models' range by valid month
const ahead = mmm ? F.valid_months.map((m, i) => [t(m), mmm[i], lo[i], hi[i]]).filter(p => p[0] > last[0]) : [];
const fc = ahead.length ? [[last[0], last[1], last[1], last[1]]].concat(ahead) : [];
const x0 = obs[0][0], x1 = (fc.length ? fc[fc.length - 1] : last)[0];
const ys = obs.map(p => p[1]).concat(...fc.map(p => [p[2], p[3]]));
const y0 = Math.floor(Math.min(-1, ...ys)), y1 = Math.ceil(Math.max(1, ...ys));
const svg = document.getElementById('en-spark');
svg.hidden = false;
const top = 8;
const draw = () => {
const r = svg.getBoundingClientRect(), W = Math.max(220, Math.round(r.width) || 320), L0 = 26, R0 = 8;
const H = Math.max(100, Math.round(r.height) || 170), bot = H - 22;
svg.setAttribute('viewBox', `0 0 ${W} ${H}`);
const X = x => L0 + (W - L0 - R0) * (x - x0) / (x1 - x0), Y = y => top + (bot - top) * (y1 - y) / (y1 - y0);
const f1 = z => z.toFixed(1), z0 = f1(Y(0));
const path = (pts, k = 1) => pts.map((p, i) => (i ? 'L' : 'M') + f1(X(p[0])) + ' ' + f1(Y(p[k]))).join('');
const line = path(obs);
const area = `${line}L${f1(X(last[0]))} ${z0}L${f1(X(obs[0][0]))} ${z0}Z`;
let g = '<defs><clipPath id="en-up"><rect x="0" y="0" width="' + W + '" height="' + z0 + '"/></clipPath>' +
'<clipPath id="en-dn"><rect x="0" y="' + z0 + '" width="' + W + '" height="' + H + '"/></clipPath>' +
'<linearGradient id="en-warm" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#d9622b" stop-opacity="0.42"/>' +
'<stop offset="1" stop-color="#d9622b" stop-opacity="0.06"/></linearGradient>' +
'<linearGradient id="en-cool" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#3f7fb5" stop-opacity="0.06"/>' +
'<stop offset="1" stop-color="#3f7fb5" stop-opacity="0.38"/></linearGradient></defs>';
for (let y = y0; y <= y1; y++) // a line and a label for every whole degree
g += `<line x1="${L0}" x2="${W - R0}" y1="${f1(Y(y))}" y2="${f1(Y(y))}" stroke="${y ? '#ece9e2' : '#bdb8ad'}" stroke-width="1"/>` +
`<text x="${L0 - 5}" y="${f1(Y(y) + 4)}" text-anchor="end">${y > 0 ? '+' + y : y < 0 ? '−' + -y : '0'}</text>`;
for (const [th, name, cls] of [[0.5, 'El Niño', ''], [-0.5, 'La Niña', ' cool']]) // the thresholds, where in range
if (th > y0 && th < y1)
g += `<line x1="${L0}" x2="${W - R0}" y1="${f1(Y(th))}" y2="${f1(Y(th))}" stroke="${cls ? '#3f7fb5' : '#d9622b'}" stroke-width="1" stroke-dasharray="3 3" opacity="0.6"/>` +
`<text class="lab${cls}" x="${W - R0 - 2}" y="${f1(Y(th) + (th > 0 ? -4 : 12))}" text-anchor="end">${name}</text>`;
g += `<path d="${area}" fill="url(#en-warm)" clip-path="url(#en-up)"/><path d="${area}" fill="url(#en-cool)" clip-path="url(#en-dn)"/>`;
if (fc.length > 1) {
const band = fc.map(p => [p[0], p[3]]).concat(fc.slice().reverse().map(p => [p[0], p[2]]));
g += `<path d="${path(band)}Z" fill="#9a3f14" opacity="0.13"/>` +
`<path d="${path(fc)}" fill="none" stroke="#9a3f14" stroke-width="2" stroke-dasharray="5 4"/>` +
`<text x="${f1((X(last[0]) + X(x1)) / 2)}" y="${f1(Math.max(top + 10, Y(Math.max(...fc.map(p => p[3]))) - 6))}" text-anchor="middle">models</text>`;
}
g += `<path d="${line}" fill="none" stroke="#9a3f14" stroke-width="2.2" stroke-linejoin="round"/>` +
`<circle cx="${f1(X(last[0]))}" cy="${f1(Y(last[1]))}" r="4" fill="#9a3f14" stroke="#fff" stroke-width="1.6"/>`;
// month ticks along the bottom, every third month, the year at January and at the first tick
const d0 = new Date(x0), ticks = [];
for (let d = new Date(Date.UTC(d0.getUTCFullYear(), d0.getUTCMonth() + 1, 1)); d.getTime() <= x1; d.setUTCMonth(d.getUTCMonth() + 1))
if (d.getUTCMonth() % 3 === 0) ticks.push(new Date(d));
ticks.forEach((d, i) => {
const x = X(d.getTime()), mon = d.toLocaleDateString('en-US', { month: 'short', timeZone: 'UTC' });
if (x > W - R0 - 14) return;
g += `<line x1="${f1(x)}" x2="${f1(x)}" y1="${bot}" y2="${bot + 4}" stroke="#bdb8ad"/>` +
`<text x="${f1(x)}" y="${bot + 17}" text-anchor="middle">${mon}${d.getUTCMonth() === 0 || i === 0 ? ' ' + d.getUTCFullYear() : ''}</text>`;
});
svg.innerHTML = g;
};
draw();
// drawn again whenever the card's size changes
let rt; new ResizeObserver(() => { clearTimeout(rt); rt = setTimeout(draw, 100); }).observe(svg);
}
});
// SSW card: the outlook page's summary. With no warming under way: the four ensembles' chance of one in the next 15
// days (their members' mean share, as on ssw.html), how strong the vortex is over days 11-15 against past winters
// (what drives it when the summary has no strength) and, only when the lower stratosphere is weak too, the chance of
// an Arctic high (the post-warming surface pattern) after day 15, beside each ensemble's chance in its runs of the
// last three weeks. With one (the summary's
// event: the ensembles' analysed 10 hPa wind has turned easterly): the days since, when the weak vortex reaches
// 100 hPa and the members that carry it on down (the vortex strength once that weakening is over), and the same
// surface chance on the same condition, beside each ensemble's wind
getJSON('/assets/sst/data/ssw_summary.json').then(j => {
if (!j || !j.ssw) return;
const S = j.ssw, W = j.waves, D = j.descent, F = j.surface, N = j.names, E = j.event, br = S.base_rate;
const pct = v => v == null ? '–' : Math.round(100 * v) + ' %';
const span = a => Math.round(100 * Math.min(...a)) === Math.round(100 * Math.max(...a)) ? pct(a[0]) : `${Math.round(100 * Math.min(...a))}–${pct(Math.max(...a))}`;
const COL = { aifs: '#b4541f', ifs: '#1f4b6e', gefs: '#3b88c4', geps: '#2f7d4f' }; // the stratosphere figures'
const ENS = Object.keys(COL), pill = document.getElementById('ss-pill');
const run = `ewest run ${day(j.newest_init)} ${j.newest_init.slice(11)}.`;
let C; // the chart: its title and frame, and one line per ensemble (p: [[time, value]], the first n analysed)
// two dates as one span: "Nov 22–26", "Nov 27–Dec 26"
const days = (a, b) => `${day(a)}–${a.slice(5, 7) === b.slice(5, 7) ? +b.slice(8, 10) : day(b)}`;
// the lower stratosphere weak: most ensembles' 100 hPa cap at +1 sd on some day 1-15, or their mean cap there on day 15
const low = (D && D.now === true) || (F && F.cap100_day15_mean >= 1);
if (low && F && F.p_positive_mean != null) {
const win = (Object.values(F.models).find(v => v.window) || {}).window;
document.getElementById('ss-sfcw').hidden = false;
document.getElementById('ss-stats').classList.remove('two');
$set('ss-sfc', pct(F.p_positive_mean));
$set('ss-sl', `chance of an Arctic high, ${win ? days(win[0], win[1]) : 'after day 15'}`);
$set('ss-sd', 'a negative Arctic Oscillation; normal 50 %');
}
// the vortex over days 11-15 of the newest runs against the same days in past winters (the outlook's vortex card)
const V = j.strength, VM = V ? Object.values(V.models || {}) : [], v0 = VM[0];
const vortex = () => {
const r = Math.round(V.anom_mean), sig = VM.filter(v => v.p < 0.05 && (v.anom > 0) === (V.verdict !== 'weaker')).length;
$set('ss-kind', `${r > 0 ? '+' : r < 0 ? '−' : ''}${Math.abs(r)} m/s`);
$set('ss-kl', `vortex ${V.verdict === 'normal' ? 'near' : V.verdict + ' than'} normal, ${days(v0.days[0], v0.days[1])}`);
$set('ss-kd', `10 hPa wind at 60°N against ${v0.winters} past winters` + (V.verdict === 'normal' ? '' : `; ${sig} of ${VM.length} ensembles`));
};
if (E) {
const on = Date.parse(E.onset), ms = v => v.toFixed(1).replace('-', '−');
pill.closest('.nc').classList.add('ev');
$set('ss-p', `Day ${Math.max(0, Math.floor((Date.now() - on) / 864e5))}`);
$set('ss-pl', `since the reversal, ${day(E.onset)}`);
$set('ss-pd', `10 hPa wind ${ms(E.wind)} m/s` + (E.lowest < E.wind ? `, lowest ${ms(E.lowest)}` : '') +
(E.westerly_from == null ? ' · easterly through the forecasts'
: E.westerly_from > E.analysed_to ? ` · forecast westerly ${day(E.westerly_from)}` : ` · westerly since ${day(E.westerly_from)}`));
const over = v0 && D && D.now === false; // the weakening no longer at 100 hPa in the forecasts
pill.textContent = E.wind < 0 ? 'Under way' : over && V.verdict === 'stronger' ? 'Vortex strong again' : 'Vortex recovering';
pill.hidden = false;
if (over) vortex();
else {
// the day the 100 hPa polar cap reaches +1 sd: the ensembles' middle date, when at least half of them have one
const rows = ENS.map(m => D && D.models[m]).filter(Boolean), cross = rows.map(v => v.cross100).filter(Boolean).sort();
const mid = cross.length && cross.length * 2 >= rows.length ? cross[(cross.length - 1) >> 1] : null;
$set('ss-kind', mid ? day(mid) : '–');
$set('ss-kl', mid ? `weak vortex ${Date.parse(mid) <= Date.now() ? 'reached' : 'reaches'} 100 hPa` : 'weak vortex not at 100 hPa by day 15');
// the descent watch, where a run holds more than MERRA-2's usual share; else the members weak at 100 hPa on day 15
const DW = (j.watch || {}).models || {}, up = Object.keys(DW).filter(m => DW[m].days_more > 0);
const weak = rows.map(v => v.frac100_day15).filter(v => v != null);
if (up.length) {
const t0 = Date.parse(DW[up[0]].init.slice(0, 10)), at = k => new Date(t0 + k * 864e5).toISOString();
$set('ss-kd', `${span(up.map(m => DW[m].share))} of members to ${j.watch.depth} hPa, ` +
`${days(at(j.watch.days[0]), at(j.watch.days[1]))} · usual ${span(up.map(m => DW[m].usual))}`);
} else if (weak.length) $set('ss-kd', `${span(weak)} of members weak at 100 hPa on day 15`);
}
const ss = E.surface_start;
$set('ss-sub', (low && ss && ss[1] ? `After past warmings like it, half had a lasting surface signal by ${day(ss[1])}` +
(ss[2] ? ` and three in four by ${day(ss[2])}` : '') + '; n' : 'N') + run);
const x0 = on - 10 * 864e5;
const lines = ENS.filter(m => E.models[m]).map(m => {
const v = E.models[m], p = v.days.map((d, i) => [Date.parse(d), v.u10[i]]), k = p.findIndex(q => q[0] >= x0);
return { m, p: p.slice(k), n: v.analysed - k, now: ms(v.u10[v.analysed - 1]) + ' m/s' };
});
const all = lines.flatMap(l => l.p.map(q => q[1])), lo = Math.min(0, ...all), hi = Math.max(...all);
const st = [5, 10, 20, 50].find(s => Math.ceil(hi / s) - Math.floor(lo / s) <= 5) || 50, y0 = st * Math.floor(lo / st), y1 = st * Math.ceil(hi / st);
C = { title: '10 hPa wind at 60°N, m/s; dashed: forecast mean', x0, x1: Math.max(...lines.map(l => l.p.at(-1)[0])), y0, y1,
ticks: Array.from({ length: (y1 - y0) / st + 1 }, (_, i) => y0 + i * st), fmt: v => String(v).replace('-', '−'), zero: '#8f8a80', lines,
mark: [on, `reversed ${day(E.onset)}`],
label: 'Each ensemble\'s 10 hPa wind at 60°N, analysed and then its newest run\'s mean; newest analysis: ' + lines.map(l => `${N[l.m]} ${l.now}`).join(', ') };
} else {
const share = S.share_mean;
if (share != null) {
$set('ss-p', pct(share));
$set('ss-pl', `chance, ${day(j.window[0])} to ${day(j.window[1])}`);
$set('ss-pd', `members, four ensembles · since 1980: ${br.with_onset} of ${br.winters} winters` + (j.ssw_season ? '' : ' · outside Nov–Mar'));
pill.textContent = share >= 0.6 ? 'Likely' : share >= 0.3 ? 'Possible' : share >= 0.05 ? 'In a few members' : 'None';
pill.className = 'en-pill' + (share < 0.3 ? ' neutral' : '');
pill.hidden = false;
}
if (v0) vortex();
else if (W && W.kind) {
$set('ss-kind', { 'wave-1': 'Wave-1', 'wave-2': 'Wave-2', mixed: 'Mixed' }[W.kind] || '–');
$set('ss-kd', `${pct(W.wave2_share_mean)} wave-2` + (D && D.kind && D.kind !== 'none' ? ` · ${D.kind}` : ''));
}
$set('ss-sub', `The 10 hPa wind at 60°N turning easterly in each ensemble's members; n${run}`);
const t = s => Date.parse(s + ':00:00Z');
const x1 = Math.max(...ENS.map(m => S.models[m] && S.models[m].runs ? t(S.models[m].runs.at(-1)[0]) : 0)), x0 = x1 - 21 * 864e5;
const lines = ENS.map(m => ({ m, p: ((S.models[m] || {}).runs || []).filter(r => r[1] != null && t(r[0]) >= x0).map(r => [t(r[0]), r[1]]) }))
.filter(l => l.p.length).map(l => ({ ...l, n: l.p.length, now: pct(S.models[l.m].share) }));
C = { title: 'each run\'s chance in its next 15 days', x0, x1, y0: 0, y1: 1, ticks: [0, 0.5, 1], fmt: v => 100 * v + '%', zero: '#bdb8ad', lines,
label: 'Each ensemble\'s chance of a sudden warming, run by run; newest: ' + lines.map(l => `${N[l.m]} ${pct(l.p.at(-1)[1])}`).join(', ') };
}
if (!C.lines.length) return;
const svg = document.getElementById('ss-spark');
svg.setAttribute('aria-label', C.label);
document.getElementById('ss-key').innerHTML = C.lines.map(l => `<span><i style="background:${COL[l.m]}"></i>${N[l.m]} ${l.now}</span>`).join('');
document.getElementById('ss-chart').hidden = false;
const draw = () => {
const r = svg.getBoundingClientRect(), Wd = Math.max(220, Math.round(r.width) || 320), H = Math.max(100, Math.round(r.height) || 190);
const L0 = 34, R0 = 62, top = 20, bot = H - 22, { x0, x1, y0, y1 } = C;
svg.setAttribute('viewBox', `0 0 ${Wd} ${H}`);
const X = x => L0 + (Wd - L0 - R0) * (x - x0) / (x1 - x0 || 1), Y = v => top + (bot - top) * (y1 - v) / (y1 - y0);
const f1 = z => z.toFixed(1);
let g = `<text x="${L0}" y="11">${C.title}</text>`;
for (const v of C.ticks)
g += `<line x1="${L0}" x2="${Wd - R0}" y1="${f1(Y(v))}" y2="${f1(Y(v))}" stroke="${v ? '#ece9e2' : C.zero}" stroke-width="1"/>` +
`<text x="${L0 - 5}" y="${f1(Y(v) + 4)}" text-anchor="end">${C.fmt(v)}</text>`;
// a tick a week from the first whole day, a fortnight where a week's labels would touch (phones)
const wk = X(x0 + 7 * 864e5) - X(x0) < 46 ? 14 : 7;
for (let d = Math.ceil(x0 / 864e5) * 864e5; d <= x1; d += wk * 864e5) {
const x = X(d);
if (x > Wd - R0 - 16) break;
g += `<line x1="${f1(x)}" x2="${f1(x)}" y1="${bot}" y2="${bot + 4}" stroke="#bdb8ad"/>` +
`<text x="${f1(x)}" y="${bot + 17}" text-anchor="middle">${day(new Date(d).toISOString())}</text>`;
}
if (C.mark)
g += `<line x1="${f1(X(C.mark[0]))}" x2="${f1(X(C.mark[0]))}" y1="${top}" y2="${bot}" stroke="#6f6b64" stroke-dasharray="2 3"/>` +
`<text x="${f1(X(C.mark[0]) + 5)}" y="${top + 9}">${C.mark[1]}</text>`;
const path = p => p.map((q, i) => (i ? 'L' : 'M') + f1(X(q[0])) + ' ' + f1(Y(q[1]))).join('');
const ends = C.lines.map(l => {
const e = l.p.at(-1), a = `fill="none" stroke="${COL[l.m]}" stroke-width="2" stroke-linejoin="round"`;
g += `<path d="${path(l.p.slice(0, l.n))}" ${a}/>` + (l.n < l.p.length ? `<path d="${path(l.p.slice(l.n - 1))}" ${a} stroke-dasharray="5 3"/>` : '');
return { m: l.m, x: X(e[0]), y: Y(e[1]) };
});
ends.forEach(e => { g += `<circle cx="${f1(e.x)}" cy="${f1(e.y)}" r="3.5" fill="${COL[e.m]}" stroke="#fff" stroke-width="1.5"/>`; });
// the names beside the line ends, pushed apart where the ensembles end together
ends.sort((a, b) => a.y - b.y);
let prev = -Infinity;
for (const e of ends) prev = e.ly = Math.max(e.y + 4, prev + 14);
const over = prev - (bot + 4);
ends.forEach(e => { g += `<text x="${f1(Wd - R0 + 8)}" y="${f1(e.ly - Math.max(0, over))}">${N[e.m]}</text>`; });
svg.innerHTML = g;
};
draw();
let rt; new ResizeObserver(() => { clearTimeout(rt); rt = setTimeout(draw, 100); }).observe(svg);
});
fetch('https://scorvec.goatcounter.com/counter/TOTAL.json')
.then(res => res.json())
.then(data => {
document.getElementById('count').textContent = data.count_unique || data.count;
})
.catch(() => {
document.getElementById('count').textContent = '—';
});
</script>
</body>
</html>