From f48582d260566b711c2e6d883a6595ebafcfd5ca Mon Sep 17 00:00:00 2001 From: ben-chamberlain Date: Tue, 28 May 2024 12:55:04 +1200 Subject: [PATCH] fix curve chart lines - dash array and colour now comes from kororaa; --- package.json | 2 +- .../GroupCurveChart.stories.tsx | 96 +- src/GroupCurveChart/GroupCurveChart.tsx | 47 +- src/GroupCurveChart/groupCurveChart.types.ts | 1 + .../testData/hazardChartMultipleSATestData.ts | 3087 +++++++++++++++++ 5 files changed, 3197 insertions(+), 36 deletions(-) diff --git a/package.json b/package.json index 2eafa71..006e15f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gns-science/toshi-nest", - "version": "3.9.11", + "version": "3.9.12", "description": "The toshi-nest is for fledgling work e.g. reusable Node components to share across TUI and other projects", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", diff --git a/src/GroupCurveChart/GroupCurveChart.stories.tsx b/src/GroupCurveChart/GroupCurveChart.stories.tsx index 653317a..f0e254b 100644 --- a/src/GroupCurveChart/GroupCurveChart.stories.tsx +++ b/src/GroupCurveChart/GroupCurveChart.stories.tsx @@ -5,7 +5,7 @@ import GroupCurveChart from './GroupCurveChart'; import { curveGroup4, curveGroup3, curveGroup2, curveGroup1 } from '../__tests__/testData/uncertaintyTestData'; import spectralAccelUncertaintyTestData from '../__tests__/testData/spectralAccelUncertaintyTestData'; import spectralAccelUncertaintyLog from '../__tests__/testData/spectralAccelUncertaintyLog'; -import { multipleImtData, uhsData } from '../__tests__/testData/hazardChartMultipleSATestData'; +import { multipleImtData, uhsData, uhsData2, saData2, newData, newSaData } from '../__tests__/testData/hazardChartMultipleSATestData'; export default { title: 'Charts/GroupCurveChart', @@ -24,6 +24,10 @@ export const SpectralAccelUncertaintyFalse = Template.bind({}); export const SpectralAccelLog = Template.bind({}); export const MultipleSA = Template.bind({}); export const MultipleSAUHS = Template.bind({}); +export const WideSingleSA = Template.bind({}); +export const WideSingleUHS = Template.bind({}); +export const WideDoubleSA = Template.bind({}); +export const WideDoubleUHS = Template.bind({}); Primary.args = { scaleType: 'log', @@ -248,3 +252,93 @@ MultipleSAUHS.args = { spectral: true, timePeriod: 100, }; + +WideSingleSA.args = { + scaleType: 'log', + xLimits: [1e-2, 10], + yLimits: [1e-6, 1], + xLabel: 'Acceleration(g)', + yLabel: 'Annual Probability of Exceedance', + gridColor: '#efefef', + backgroundColor: '#f3f6f4', + numTickX: 5, + numTickY: 5, + width: 600, + curves: uhsData2, + tooltip: false, + crosshair: false, + heading: 'Group Curve Chart for Hazard', + subHeading: 'WLG 250', + poe: 0.02, + uncertainty: true, + spectral: false, + timePeriod: 100, +}; + +WideSingleUHS.args = { + scaleType: 'log', + yScaleType: 'linear', + xLabel: 'Period [s]', + yLabel: 'Shaking Intensity [g]', + xLimits: [0.0001, 10], + yLimits: [0, 3.690382289232626], + gridColor: '#efefef', + backgroundColor: '#ffffff', + numTickX: 5, + numTickY: 5, + width: 600, + curves: saData2, + tooltip: true, + crosshair: true, + heading: 'Spectra with Log Xscale', + subHeading: 'WLG 400m/s', + poe: 0.1, + uncertainty: true, + spectral: true, + timePeriod: 100, +}; + +WideDoubleSA.args = { + scaleType: 'log', + xLimits: [1e-2, 10], + yLimits: [1e-5, 1], + xLabel: 'Acceleration(g)', + yLabel: 'Annual Probability of Exceedance', + gridColor: '#efefef', + backgroundColor: '#f3f6f4', + numTickX: 5, + numTickY: 5, + width: 600, + curves: newData, + tooltip: false, + crosshair: false, + heading: 'Group Curve Chart for Hazard', + subHeading: 'WLG 250', + poe: 0.02, + uncertainty: true, + spectral: false, + timePeriod: 100, +}; + +WideDoubleUHS.args = { + scaleType: 'log', + yScaleType: 'linear', + xLabel: 'Period [s]', + yLabel: 'Shaking Intensity [g]', + xLimits: [0.0001, 10], + yLimits: [0, 3.690382289232626], + gridColor: '#efefef', + backgroundColor: '#ffffff', + numTickX: 5, + numTickY: 5, + width: 600, + curves: newSaData, + tooltip: true, + crosshair: true, + heading: 'Spectra with Log Xscale', + subHeading: 'WLG 400m/s', + poe: 0.1, + uncertainty: true, + spectral: true, + timePeriod: 100, +}; diff --git a/src/GroupCurveChart/GroupCurveChart.tsx b/src/GroupCurveChart/GroupCurveChart.tsx index 993fd72..f01212d 100644 --- a/src/GroupCurveChart/GroupCurveChart.tsx +++ b/src/GroupCurveChart/GroupCurveChart.tsx @@ -90,6 +90,8 @@ const GroupCurveChart: React.FC = (props: GroupCurveChartP return colorScale; }, [curves]); + console.log(curvesDomain); + const legendGlyphSize = 15; const ordinalColorScale = useMemo(() => { @@ -139,17 +141,17 @@ const GroupCurveChart: React.FC = (props: GroupCurveChartP .map((d, i) => { switch (d.length) { case 1: - return []; + return []; case 2: return [ - , - , + , + , ]; case 3: return [ - , - , - , + , + , + , ]; default: return []; @@ -158,30 +160,6 @@ const GroupCurveChart: React.FC = (props: GroupCurveChartP .flat(); }; - const strokeDashArray = (index: number) => { - const values = ['0', '4,5', '1,3']; - const repeatCount = imts.length === 1 ? 1 : imts.length === 2 ? 2 : imts.length === 3 ? 3 : 1; - const valuesIndex = (index % repeatCount) % values.length; - - return values[valuesIndex]; - }; - - function generateColorArray(length: number, interval: number) { - const array: string[] = []; - let valuesIndex = 0; - for (let i = 0; i < length; i++) { - if (i % interval === 0) { - array.push(curvesDomain.range[valuesIndex]); - valuesIndex = (valuesIndex + 1) % curvesDomain.range.length; - } else { - array.push(array[i - 1]); - } - } - return array; - } - - const strokeColorArray = generateColorArray(Object.keys(curves).length, imts.length); - const legendRange = generateLegendRange(); const legendDomain = locationsWithVs30.flat(2); @@ -299,6 +277,7 @@ const GroupCurveChart: React.FC = (props: GroupCurveChartP y={(d) => yScale(d[1])} stroke={curves[key]['upper1'].strokeColor} strokeOpacity={curves[key][curveType].strokeOpacity ?? 1} + strokeDasharray={curves[key][curveType].strokeDashArray ?? '0'} defined={(d, index) => { if (scaleType === 'log' && index === 0) { return false; @@ -317,7 +296,7 @@ const GroupCurveChart: React.FC = (props: GroupCurveChartP clipBelowTo={yMax} aboveAreaProps={{ fill: curves[key]['upper1'].strokeColor, - fillOpacity: 0.4, + fillOpacity: 0.2, }} defined={(d, index) => { if (scaleType === 'log' && index === 0) { @@ -343,9 +322,9 @@ const GroupCurveChart: React.FC = (props: GroupCurveChartP x={(d) => xScale(d[0])} y={(d) => yScale(d[1])} markerMid="url(#marker-x)" - stroke={spectral ? curves[key]['upper1'].strokeColor : strokeColorArray[index]} + stroke={curves[key]['upper1'].strokeColor} strokeOpacity={curves[key]['mean'].strokeOpacity ?? 1} - strokeDasharray={spectral ? '0' : strokeDashArray(index)} + strokeDasharray={spectral ? '0' : curves[key]['mean'].strokeDashArray} defined={(d, index) => { if (scaleType === 'log' && index === 0) { return false; @@ -393,7 +372,7 @@ const GroupCurveChart: React.FC = (props: GroupCurveChartP
- {uncertainty || spectral ? ( + {spectral ? ( ) : ( diff --git a/src/GroupCurveChart/groupCurveChart.types.ts b/src/GroupCurveChart/groupCurveChart.types.ts index 4cc065a..318eb0e 100644 --- a/src/GroupCurveChart/groupCurveChart.types.ts +++ b/src/GroupCurveChart/groupCurveChart.types.ts @@ -25,6 +25,7 @@ export interface GroupCurveChartProps { } export interface Curve { + strokeDashArray?: string; strokeSize?: number; strokeOpacity?: number; strokeColor?: string; diff --git a/src/__tests__/testData/hazardChartMultipleSATestData.ts b/src/__tests__/testData/hazardChartMultipleSATestData.ts index 85fc7a4..b8cb91b 100644 --- a/src/__tests__/testData/hazardChartMultipleSATestData.ts +++ b/src/__tests__/testData/hazardChartMultipleSATestData.ts @@ -4749,3 +4749,3090 @@ export const uhsData = { }, }, }; + +export const uhsData2 = { + '400m/s PGA Wellington ': { + mean: { + data: [ + [0.0001, 0.6271677708782385], + [0.0002, 0.6271652766399295], + [0.0004, 0.6270938853093738], + [0.0006, 0.6267781773783632], + [0.0008, 0.626060931573801], + [0.001, 0.6248648851523053], + [0.002, 0.6123012697568351], + [0.004, 0.5709242226142676], + [0.006, 0.5261676684819487], + [0.008, 0.48440464201609956], + [0.01, 0.4467798599708559], + [0.02, 0.31086709316862426], + [0.04, 0.17795100969663546], + [0.06, 0.11734197656411516], + [0.08, 0.08439300987443854], + [0.1, 0.06431037469781709], + [0.2, 0.025812647134209832], + [0.3, 0.014460734397579778], + [0.4, 0.009307205401812069], + [0.5, 0.006449453112125858], + [0.6, 0.0046774212447923125], + [0.7, 0.0034993063352010134], + [0.8, 0.0026782767289948994], + [0.9, 0.0020863820257743804], + [1, 0.0016486032928630934], + [1.2, 0.0010647669857920539], + [1.4, 0.0007125599587193276], + [1.6, 0.0004904124751942129], + [1.8, 0.00034540848932107515], + [2, 0.0002480991945558175], + [2.2, 0.0001812641850188479], + [2.4, 0.00013443441391891575], + [2.6, 0.00010104720306569615], + [2.8, 0.00007687127126210225], + [3, 0.00005912237265592868], + [3.5, 0.00003198657676561911], + [4, 0.000018213767804198255], + [4.5, 0.000010824229299100097], + [5, 0.0000066695313548637], + [6, 0.000002761863558409239], + [7, 0.0000012564896647582202], + [8, 6.161835989226816e-7], + [9, 3.1971627301174976e-7], + [10, 1.7174150213072892e-7], + ], + strokeColor: '#0c3383', + }, + lower2: { + data: [ + [0.0001, 0.5231180674260377], + [0.0002, 0.5231142364186927], + [0.0004, 0.5230050620561528], + [0.0006, 0.5224514588878115], + [0.0008, 0.5210553593497409], + [0.001, 0.518693674486739], + [0.002, 0.5048033457812257], + [0.004, 0.4625432012049272], + [0.006, 0.41888060743491506], + [0.008, 0.37787359324391523], + [0.01, 0.3414897428794238], + [0.02, 0.21591446672157877], + [0.04, 0.10701002766979595], + [0.06, 0.0646960737471316], + [0.08, 0.044075350752958764], + [0.1, 0.03226764241412294], + [0.2, 0.011366274810449939], + [0.3, 0.005584893154404247], + [0.4, 0.0031202273991151053], + [0.5, 0.0018744191955307743], + [0.6, 0.0011835175736091275], + [0.7, 0.0007737624627149886], + [0.8, 0.0005195526658353655], + [0.9, 0.0003572037328233302], + [1, 0.00025067267417511196], + [1.2, 0.0001304851326650036], + [1.4, 0.00007215912515401435], + [1.6, 0.00004095743973420163], + [1.8, 0.000024097453810822955], + [2, 0.000014499369688669717], + [2.2, 0.000008772078932794969], + [2.4, 0.000005423824923744824], + [2.6, 0.0000034044981261915908], + [2.8, 0.0000021617949131913505], + [3, 0.0000013701474209648623], + [3.5, 4.367105751468259e-7], + [4, 1.2298166152113765e-7], + [4.5, 3.023112937761141e-8], + [5, 8.794088235397624e-9], + [6, 7.91989251958114e-10], + [7, 2.0941026690479703e-12], + [8, 9.084955010507656e-13], + [9, 3.3795188869589765e-13], + [10, 3.3795188869589765e-13], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.7248532599188757], + [0.0002, 0.724852844216513], + [0.0004, 0.7248108682008039], + [0.0006, 0.7243044989931791], + [0.0008, 0.7239389177458522], + [0.001, 0.7229894429311059], + [0.002, 0.7087988249156782], + [0.004, 0.6691761419864063], + [0.006, 0.6298420330803451], + [0.008, 0.5887700188676346], + [0.01, 0.5505162565883366], + [0.02, 0.4054216863307465], + [0.04, 0.25133270734695656], + [0.06, 0.17500518376685392], + [0.08, 0.13060693026207904], + [0.1, 0.10214746428824173], + [0.2, 0.04405375948668466], + [0.3, 0.02643561298430197], + [0.4, 0.018260374889935038], + [0.5, 0.013413355765225954], + [0.6, 0.010243080904267066], + [0.7, 0.008030021121594233], + [0.8, 0.0064458546840375774], + [0.9, 0.005268797357534605], + [1, 0.004331227296581641], + [1.2, 0.0030248239782821873], + [1.4, 0.002153495316758791], + [1.6, 0.0015564075396724553], + [1.8, 0.0011420611116765844], + [2, 0.0008377368120212614], + [2.2, 0.0006247697462812285], + [2.4, 0.0004711627919170569], + [2.6, 0.0003583766371383357], + [2.8, 0.00027595923554768476], + [3, 0.00021474316169256547], + [3.5, 0.00012134394933793757], + [4, 0.00007253750192182107], + [4.5, 0.000042418651479136926], + [5, 0.000026081618567652676], + [6, 0.00001176496739785371], + [7, 0.000006546871296420065], + [8, 0.000003907408418601932], + [9, 0.000002431820627313286], + [10, 0.0000015612324035796377], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.5508476111642319], + [0.0002, 0.5508472831188373], + [0.0004, 0.5507987853712515], + [0.0006, 0.5505066038065141], + [0.0008, 0.5495881207143716], + [0.001, 0.5470735565632041], + [0.002, 0.5237879826114071], + [0.004, 0.48489394669883024], + [0.006, 0.43929508759429736], + [0.008, 0.3981122875791737], + [0.01, 0.3616769253206311], + [0.02, 0.2342031400805198], + [0.04, 0.11975771991300521], + [0.06, 0.07391980573109036], + [0.08, 0.05097934297341311], + [0.1, 0.03769976226678162], + [0.2, 0.013612390576231537], + [0.3, 0.0068809271223271296], + [0.4, 0.003962102304908677], + [0.5, 0.0024505180009778416], + [0.6, 0.0015850512105808345], + [0.7, 0.0010624520881709065], + [0.8, 0.0007276231523613008], + [0.9, 0.0005084382444744406], + [1, 0.00036217242559222207], + [1.2, 0.00019273716771506244], + [1.4, 0.00010872756868007816], + [1.6, 0.00006395475994147581], + [1.8, 0.00003896146215531804], + [2, 0.000024502606452037057], + [2.2, 0.00001569892464603484], + [2.4, 0.000010242399633653143], + [2.6, 0.000006860789155460623], + [2.8, 0.0000046882523186964065], + [3, 0.0000032135949326050905], + [3.5, 0.000001325066210533521], + [4, 5.342383384565608e-7], + [4.5, 2.175665595460785e-7], + [5, 9.132140010859047e-8], + [6, 1.0626180269035501e-8], + [7, 7.285827496872344e-11], + [8, 2.5831559113953517e-12], + [9, 7.334133300673784e-13], + [10, 7.334133300673784e-13], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.7004877709365895], + [0.0002, 0.7004877394486364], + [0.0004, 0.7004794923937316], + [0.0006, 0.7002321797949567], + [0.0008, 0.6994846261993801], + [0.001, 0.698679845264764], + [0.002, 0.6893234318585744], + [0.004, 0.6493914037072535], + [0.006, 0.6064638075374219], + [0.008, 0.5659363123236882], + [0.01, 0.527796110761078], + [0.02, 0.3842359682212444], + [0.04, 0.23489629810408486], + [0.06, 0.16187775802616045], + [0.08, 0.11996220067350616], + [0.1, 0.09330889384538132], + [0.2, 0.0395282683670215], + [0.3, 0.02311832806129488], + [0.4, 0.015533982238787325], + [0.5, 0.011289175100063886], + [0.6, 0.008556061971099482], + [0.7, 0.00666687644810704], + [0.8, 0.005269938325912715], + [0.9, 0.004230753189383152], + [1, 0.0034060687957339075], + [1.2, 0.002274670540882373], + [1.4, 0.0015596338779230168], + [1.6, 0.0010978490363232618], + [1.8, 0.0007881855361201451], + [2, 0.0005749331709483663], + [2.2, 0.0004274313161132248], + [2.4, 0.0003230039272410501], + [2.6, 0.00024687058697248077], + [2.8, 0.00019131237700620307], + [3, 0.00014974560072378296], + [3.5, 0.00008554130687221662], + [4, 0.00004900372276972487], + [4.5, 0.00003158114499657305], + [5, 0.00002134755173799352], + [6, 0.000010744988509392428], + [7, 0.000004535790827486785], + [8, 0.000001966628624394673], + [9, 8.417826190543209e-7], + [10, 3.5246935603527874e-7], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + }, + '400m/s SA(10.0) Wellington ': { + mean: { + data: [ + [0.0001, 0.3144228204461652], + [0.0002, 0.20538966084536148], + [0.0004, 0.1269447167032065], + [0.0006, 0.09499321630276025], + [0.0008, 0.07733350892027724], + [0.001, 0.06598828008008228], + [0.002, 0.040543483794456825], + [0.004, 0.024706828847968043], + [0.006, 0.01804578907939991], + [0.008, 0.014113540841105165], + [0.01, 0.01144462273876401], + [0.02, 0.0051152982775724], + [0.04, 0.0016570548851463363], + [0.06, 0.0007175515333639471], + [0.08, 0.0003661538369306161], + [0.1, 0.00020851729655602114], + [0.2, 0.000029861172993306262], + [0.3, 0.000008266113695420962], + [0.4, 0.0000030085526727674505], + [0.5, 0.0000012695541419249778], + [0.6, 5.901458108859003e-7], + [0.7, 2.94485202334549e-7], + [0.8, 1.5476858661322979e-7], + [0.9, 8.454930300327845e-8], + [1, 4.782585938389872e-8], + [1.2, 1.6585681938963148e-8], + [1.4, 6.114752926222877e-9], + [1.6, 2.25697505129574e-9], + [1.8, 7.37820360363628e-10], + [2, 1.701009333388015e-10], + [2.2, 3.9122372008648654e-11], + [2.4, 8.205214285794682e-12], + [2.6, 1.1827205881331793e-12], + [2.8, 1.0973444375395047e-12], + [3, 1.0973444375395047e-12], + [3.5, 1.0973444375395047e-12], + [4, 1.0973444375395047e-12], + [4.5, 1.0973444375395047e-12], + [5, 1.0973444375395047e-12], + [6, 1.0973444375395047e-12], + [7, 1.0973444375395047e-12], + [8, 1.0973444375395047e-12], + [9, 1.0973444375395047e-12], + [10, 1.0973444375395047e-12], + ], + strokeColor: '#f2d338', + }, + lower2: { + data: [ + [0.0001, 0.2168032392977277], + [0.0002, 0.13260739321653792], + [0.0004, 0.07791689102295207], + [0.0006, 0.056636067917259614], + [0.0008, 0.045079663152548854], + [0.001, 0.03766124957260486], + [0.002, 0.021243991945576912], + [0.004, 0.011353198655113528], + [0.006, 0.007430066480513142], + [0.008, 0.005262551507059676], + [0.01, 0.0038932399309363763], + [0.02, 0.0011713584499124519], + [0.04, 0.00020564481623563946], + [0.06, 0.00005487367162315682], + [0.08, 0.000018287614834466837], + [0.1, 0.000006948808798368233], + [0.2, 1.526644695104551e-7], + [0.3, 2.7563438198541235e-9], + [0.4, 2.0941026690479703e-12], + [0.5, 3.3795188869589765e-13], + [0.6, 2.3281376826389533e-13], + [0.7, 2.3281376826389533e-13], + [0.8, 2.3281376826389533e-13], + [0.9, 2.3281376826389533e-13], + [1, 1.7463808177353712e-13], + [1.2, 1.7463808177353712e-13], + [1.4, 1.7463808177353712e-13], + [1.6, 1.7463808177353712e-13], + [1.8, 1.7463808177353712e-13], + [2, 1.7463808177353712e-13], + [2.2, 1.7463808177353712e-13], + [2.4, 1.7463808177353712e-13], + [2.6, 1.7463808177353712e-13], + [2.8, 1.7463808177353712e-13], + [3, 1.7463808177353712e-13], + [3.5, 1.7463808177353712e-13], + [4, 1.7463808177353712e-13], + [4.5, 1.7463808177353712e-13], + [5, 1.7463808177353712e-13], + [6, 1.7463808177353712e-13], + [7, 1.7463808177353712e-13], + [8, 1.7463808177353712e-13], + [9, 1.7463808177353712e-13], + [10, 1.7463808177353712e-13], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.4183340525191558], + [0.0002, 0.2891879410835223], + [0.0004, 0.1863794097007646], + [0.0006, 0.14204424278416117], + [0.0008, 0.11698568775438423], + [0.001, 0.10073728382105407], + [0.002, 0.06430981369214983], + [0.004, 0.04197215968431489], + [0.006, 0.03242431067761675], + [0.008, 0.02651677657428342], + [0.01, 0.022350032700486855], + [0.02, 0.01155252433631071], + [0.04, 0.004654409879246479], + [0.06, 0.002352544608716034], + [0.08, 0.0012913651653265745], + [0.1, 0.0007892251285572804], + [0.2, 0.00014758637025735766], + [0.3, 0.00003932078223944924], + [0.4, 0.000016993525348674154], + [0.5, 0.000008130426800923019], + [0.6, 0.0000040982907845155125], + [0.7, 0.0000021648761557857554], + [0.8, 0.000001188271772645244], + [0.9, 6.648947221687962e-7], + [1, 3.596792339521926e-7], + [1.2, 1.1089793616747556e-7], + [1.4, 3.595949071844018e-8], + [1.6, 1.3370859752726005e-8], + [1.8, 4.562319411149929e-9], + [2, 3.7554936938022365e-10], + [2.2, 2.5831559113953517e-12], + [2.4, 2.5831559113953517e-12], + [2.6, 2.5831559113953517e-12], + [2.8, 2.5831559113953517e-12], + [3, 2.5831559113953517e-12], + [3.5, 2.5831559113953517e-12], + [4, 2.5831559113953517e-12], + [4.5, 2.5831559113953517e-12], + [5, 2.5831559113953517e-12], + [6, 2.5831559113953517e-12], + [7, 2.5831559113953517e-12], + [8, 2.5831559113953517e-12], + [9, 2.5831559113953517e-12], + [10, 2.5831559113953517e-12], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.23466207036727016], + [0.0002, 0.14524282136985178], + [0.0004, 0.08628819873170457], + [0.0006, 0.06323624085715862], + [0.0008, 0.050585092345382776], + [0.001, 0.042480779365168364], + [0.002, 0.02438860522641606], + [0.004, 0.01338351303300922], + [0.006, 0.008971616152733342], + [0.008, 0.006491269784656084], + [0.01, 0.004899103759935075], + [0.02, 0.0016242635175535147], + [0.04, 0.00032822289056499976], + [0.06, 0.00009695856086522348], + [0.08, 0.000034438222134669516], + [0.1, 0.00001367597682755406], + [0.2, 4.194678020486009e-7], + [0.3, 2.088902029129258e-8], + [0.4, 2.335734938796463e-10], + [0.5, 7.334133300673784e-13], + [0.6, 3.3795188869589765e-13], + [0.7, 3.3795188869589765e-13], + [0.8, 3.3795188869589765e-13], + [0.9, 2.3281376826389533e-13], + [1, 2.3281376826389533e-13], + [1.2, 2.3281376826389533e-13], + [1.4, 2.3281376826389533e-13], + [1.6, 2.3281376826389533e-13], + [1.8, 2.3281376826389533e-13], + [2, 2.3281376826389533e-13], + [2.2, 2.3281376826389533e-13], + [2.4, 2.3281376826389533e-13], + [2.6, 2.3281376826389533e-13], + [2.8, 2.3281376826389533e-13], + [3, 2.3281376826389533e-13], + [3.5, 2.3281376826389533e-13], + [4, 2.3281376826389533e-13], + [4.5, 2.3281376826389533e-13], + [5, 2.3281376826389533e-13], + [6, 2.3281376826389533e-13], + [7, 2.3281376826389533e-13], + [8, 2.3281376826389533e-13], + [9, 2.3281376826389533e-13], + [10, 2.3281376826389533e-13], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.39353199786092885], + [0.0002, 0.26858534257017697], + [0.0004, 0.171263341743911], + [0.0006, 0.12989988761991011], + [0.0008, 0.10666939190237179], + [0.001, 0.09168112021412078], + [0.002, 0.058218572479382114], + [0.004, 0.037542556801646865], + [0.006, 0.028625767244316758], + [0.008, 0.023148915343873533], + [0.01, 0.019296468870088512], + [0.02, 0.009486218137201297], + [0.04, 0.0035121428679539823], + [0.06, 0.0016339527713645774], + [0.08, 0.0008929532696447806], + [0.1, 0.0005327087889928084], + [0.2, 0.00009391478310871726], + [0.3, 0.000027053936786480826], + [0.4, 0.00000817750227632974], + [0.5, 0.0000033946952177066336], + [0.6, 0.0000014296714468953198], + [0.7, 6.619540297014836e-7], + [0.8, 3.558846272122551e-7], + [0.9, 1.5955680510160164e-7], + [1, 6.885638725862009e-8], + [1.2, 1.4542240300841058e-8], + [1.4, 1.8217701791556351e-9], + [1.6, 1.826250262126905e-11], + [1.8, 7.92887977496548e-12], + [2, 7.92887977496548e-12], + [2.2, 2.5831559113953517e-12], + [2.4, 2.5831559113953517e-12], + [2.6, 2.5831559113953517e-12], + [2.8, 2.5831559113953517e-12], + [3, 2.5831559113953517e-12], + [3.5, 2.5831559113953517e-12], + [4, 2.5831559113953517e-12], + [4.5, 2.5831559113953517e-12], + [5, 2.5831559113953517e-12], + [6, 2.5831559113953517e-12], + [7, 2.5831559113953517e-12], + [8, 2.5831559113953517e-12], + [9, 2.5831559113953517e-12], + [10, 2.5831559113953517e-12], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + }, +}; + +export const saData2 = { + '400m/s Wellington': { + upper2: { + data: [ + [0.04, 1.4125649464199], + [0.1, 2.5140670305270056], + [0.2, 3.0904803198933006], + [0.3, 2.9398478346946315], + [0.4, 2.6279078716199287], + [0.5, 2.3865710167621947], + [0.7, 1.901485214909174], + [1, 1.4760415286784823], + [1.5, 0.9616049366613129], + [2, 0.7310467773967161], + [3, 0.42187019747454624], + [4, 0.29414407788595703], + [5, 0.20492223425372125], + [6, 0.14425788372484222], + [7.5, 0.09960554229911582], + [10, 0.06325458871033639], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.04, 1.2380746734757742], + [0.1, 2.2496451191750957], + [0.2, 2.75353607510941], + [0.3, 2.659974786854728], + [0.4, 2.420016419695187], + [0.5, 2.163635825061531], + [0.7, 1.737855747303903], + [1, 1.291608233150155], + [1.5, 0.8173777619913168], + [2, 0.6072975357713809], + [3, 0.3485680289889862], + [4, 0.24169268934138627], + [5, 0.1650918481376684], + [6, 0.1201564544222268], + [7.5, 0.08610399512365491], + [10, 0.052434603043510844], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + mean: { + data: [ + [0.04, 0.8957935326920364], + [0.1, 1.624034081437879], + [0.2, 2.0211750088002676], + [0.3, 1.964309649569773], + [0.4, 1.7957560128883039], + [0.5, 1.6134898999005842], + [0.7, 1.280794130292017], + [1, 0.9451541427138056], + [1.5, 0.5890146740253265], + [2, 0.4206206450858724], + [3, 0.23693775865397745], + [4, 0.15927073495396188], + [5, 0.1118286787827911], + [6, 0.08249872605031001], + [7.5, 0.056345047679218815], + [10, 0.034504756412469105], + ], + strokeColor: '#f2d338', + }, + lower1: { + data: [ + [0.04, 0.5325997165542142], + [0.1, 0.9412628514271774], + [0.2, 1.2003383945645396], + [0.3, 1.2155891317927], + [0.4, 1.1326521748746143], + [0.5, 1.024061637756949], + [0.7, 0.8164070447746248], + [1, 0.5934745442590628], + [1.5, 0.35724717775097936], + [2, 0.24325647529484756], + [3, 0.13113747034106105], + [4, 0.0881830418915675], + [5, 0.061011927035481826], + [6, 0.04378169708833929], + [7.5, 0.028483043962804606], + [10, 0.016984409655567047], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + lower2: { + data: [ + [0.04, 0.47501573299643723], + [0.1, 0.8387308845909235], + [0.2, 1.0715280067860304], + [0.3, 1.0917217444860876], + [0.4, 1.0217974883500147], + [0.5, 0.9235962669179212], + [0.7, 0.7328723601320616], + [1, 0.5311795469111733], + [1.5, 0.32071757850580707], + [2, 0.21773734618643587], + [3, 0.11711091445187938], + [4, 0.07770513774403447], + [5, 0.0528135390731816], + [6, 0.03777410382717481], + [7.5, 0.024423440587658482], + [10, 0.014251413396858037], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + }, +}; + +export const doubleUhsData2 = { + '400m/s PGA Turangi ': { + mean: { + data: [ + [0.0001, 0.519836386836213], + [0.0002, 0.5198294192974293], + [0.0004, 0.5196845337752471], + [0.0006, 0.5191387309169608], + [0.0008, 0.5180112440857396], + [0.001, 0.5162455060033524], + [0.002, 0.4996355164403581], + [0.004, 0.4511814694523826], + [0.006, 0.4035819170053152], + [0.008, 0.3621244317131225], + [0.01, 0.32669364484214924], + [0.02, 0.21024225212848036], + [0.04, 0.11009339921046857], + [0.06, 0.06836789269274512], + [0.08, 0.046729009669800425], + [0.1, 0.03395097685410464], + [0.2, 0.010896044907796498], + [0.3, 0.004999056948938985], + [0.4, 0.0027094179060332957], + [0.5, 0.0016216528867765145], + [0.6, 0.0010377256537019708], + [0.7, 0.0006971619867957024], + [0.8, 0.0004861454722162595], + [0.9, 0.00034919095794949673], + [1, 0.0002569647483352533], + [1.2, 0.00014742207970430687], + [1.4, 0.00008980431717187098], + [1.6, 0.00005728904353652364], + [1.8, 0.00003791772395744797], + [2, 0.000025867400833656795], + [2.2, 0.000018098295933799413], + [2.4, 0.000012938861471356589], + [2.6, 0.000009424232979782232], + [2.8, 0.000006976932466984387], + [3, 0.000005240300915199114], + [3.5, 0.0000027024369869677045], + [4, 0.0000014833916335277308], + [4.5, 8.559960117393572e-7], + [5, 5.141549672682544e-7], + [6, 2.0381697385385422e-7], + [7, 8.984639299214336e-8], + [8, 4.2968346880556396e-8], + [9, 2.1794600013613774e-8], + [10, 1.1626900109362737e-8], + ], + strokeColor: '#0c3383', + }, + lower2: { + data: [ + [0.0001, 0.42688799275269895], + [0.0002, 0.42687450748429434], + [0.0004, 0.42650077251703655], + [0.0006, 0.4254753758722082], + [0.0008, 0.42479074608282297], + [0.001, 0.4237756008470338], + [0.002, 0.410658195934159], + [0.004, 0.363932709573759], + [0.006, 0.31774591210796355], + [0.008, 0.2785625977566264], + [0.01, 0.24513813117072902], + [0.02, 0.13839249112496266], + [0.04, 0.0613932601948296], + [0.06, 0.0347237875124502], + [0.08, 0.022097420849344518], + [0.1, 0.015132408332191982], + [0.2, 0.0038575086530152625], + [0.3, 0.0014638198763199384], + [0.4, 0.0006654654304885099], + [0.5, 0.00033540824882505316], + [0.6, 0.0001824056541041008], + [0.7, 0.00010571946576487523], + [0.8, 0.00006378190005218443], + [0.9, 0.00004005220884240046], + [1, 0.000025723428573432017], + [1.2, 0.000011461299647796963], + [1.4, 0.000005483440874476386], + [1.6, 0.000002763340009148685], + [1.8, 0.000001439408063408365], + [2, 7.707164605408323e-7], + [2.2, 4.210357594791603e-7], + [2.4, 2.349856156325103e-7], + [2.6, 1.3590238356897544e-7], + [2.8, 7.712946836768708e-8], + [3, 4.238078388230093e-8], + [3.5, 8.056762146324559e-9], + [4, 9.48046530169222e-10], + [4.5, 1.094428991876839e-10], + [5, 4.074995896274913e-11], + [6, 1.8198220708143253e-11], + [7, 6.602163260538418e-12], + [8, 5.657474488884873e-12], + [9, 4.6974646394915e-12], + [10, 4.69613237186195e-12], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.6043648106304932], + [0.0002, 0.604345105104553], + [0.0004, 0.6040657372465308], + [0.0006, 0.6038631656995668], + [0.0008, 0.6029654766233817], + [0.001, 0.6013497631122575], + [0.002, 0.5850667081525077], + [0.004, 0.5425652396818398], + [0.006, 0.4950417091755325], + [0.008, 0.45108865690448396], + [0.01, 0.4122413026162206], + [0.02, 0.2806332164431946], + [0.04, 0.1611648601075566], + [0.06, 0.10636942558643392], + [0.08, 0.07563204042481608], + [0.1, 0.05656575169268019], + [0.2, 0.020010540499350693], + [0.3, 0.009840605180026163], + [0.4, 0.005644062904212044], + [0.5, 0.0035507143666246854], + [0.6, 0.0023716746975102065], + [0.7, 0.001654013292361256], + [0.8, 0.0011970254586550766], + [0.9, 0.0008910909072205042], + [1, 0.0006781856979541923], + [1.2, 0.00041354463660436824], + [1.4, 0.00026893332972233175], + [1.6, 0.00018446670478877714], + [1.8, 0.00013159857047329027], + [2, 0.00009654041375695144], + [2.2, 0.00007230059537055578], + [2.4, 0.000055101934558488], + [2.6, 0.00004259911107551417], + [2.8, 0.000033357028839109404], + [3, 0.000026410714330959983], + [3.5, 0.00001535148991671509], + [4, 0.000009361665928242502], + [4.5, 0.000005931426171001952], + [5, 0.000003878762606102093], + [6, 0.0000017853177108895224], + [7, 8.866891304526447e-7], + [8, 4.660909750375808e-7], + [9, 2.556694812527738e-7], + [10, 1.4499072575890892e-7], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.4452723299037017], + [0.0002, 0.44527183565443373], + [0.0004, 0.4451665615003595], + [0.0006, 0.4445565588005628], + [0.0008, 0.443085957228591], + [0.001, 0.4406775405772505], + [0.002, 0.4230127987296227], + [0.004, 0.37873466662982846], + [0.006, 0.3328102860702883], + [0.008, 0.29408437664332077], + [0.01, 0.2610732107093606], + [0.02, 0.1529396341615067], + [0.04, 0.07018756489790645], + [0.06, 0.04016255377447697], + [0.08, 0.02593475983415483], + [0.1, 0.018050634666382903], + [0.2, 0.004839221344749789], + [0.3, 0.001900697449578992], + [0.4, 0.0008912130289984166], + [0.5, 0.00046600484891934357], + [0.6, 0.0002631242546173862], + [0.7, 0.00015754322360583828], + [0.8, 0.00009700944177670756], + [0.9, 0.0000617973294311236], + [1, 0.00004043327001890251], + [1.2, 0.00001852885195974263], + [1.4, 0.000009116853369794953], + [1.6, 0.000004728443269153004], + [1.8, 0.0000025565158956464273], + [2, 0.0000014277625153269469], + [2.2, 8.12248460824172e-7], + [2.4, 4.7107701206527963e-7], + [2.6, 2.7728448581676446e-7], + [2.8, 1.685960806518949e-7], + [3, 1.0117176241219994e-7], + [3.5, 2.7132863400503027e-8], + [4, 7.531058998644369e-9], + [4.5, 1.770909752174532e-9], + [5, 4.2483283557714913e-10], + [6, 4.410882770145008e-11], + [7, 1.8198220708143253e-11], + [8, 1.7663093210273928e-11], + [9, 5.657474488884873e-12], + [10, 5.657474488884873e-12], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.5926537508830884], + [0.0002, 0.5926497200290204], + [0.0004, 0.592290312993933], + [0.0006, 0.5905566372672397], + [0.0008, 0.5885894068048024], + [0.001, 0.5871913395878516], + [0.002, 0.569763926178867], + [0.004, 0.5241741714227471], + [0.006, 0.4752991284992044], + [0.008, 0.4309329303081769], + [0.01, 0.39241532470993457], + [0.02, 0.2655889013103915], + [0.04, 0.15011854057826057], + [0.06, 0.09816937808122006], + [0.08, 0.06951270320168135], + [0.1, 0.05178613010688016], + [0.2, 0.017923287398344923], + [0.3, 0.008707170903232697], + [0.4, 0.004970529430491699], + [0.5, 0.003121759418210579], + [0.6, 0.0020884675739912817], + [0.7, 0.0014614599701602282], + [0.8, 0.0010611139422257443], + [0.9, 0.0007935843586535096], + [1, 0.0006086669029879976], + [1.2, 0.00038105206797056645], + [1.4, 0.00024099246107922578], + [1.6, 0.00015660003994821814], + [1.8, 0.00010524487077268052], + [2, 0.00007258864881520832], + [2.2, 0.00005109572343364732], + [2.4, 0.00003670122574950252], + [2.6, 0.000026768019196654613], + [2.8, 0.00001973611270900122], + [3, 0.000014774673797846027], + [3.5, 0.000007489835493257324], + [4, 0.000003998673198224445], + [4.5, 0.000002220649353512627], + [5, 0.0000012716872402895874], + [6, 4.4329616777361025e-7], + [7, 1.645382490256253e-7], + [8, 6.271764096954513e-8], + [9, 2.3803636950425755e-8], + [10, 8.702143561301057e-9], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + }, + '400m/s SA(10.0) Turangi ': { + mean: { + data: [ + [0.0001, 0.2579360841932662], + [0.0002, 0.170984611511943], + [0.0004, 0.10804079537723543], + [0.0006, 0.08127694460848012], + [0.0008, 0.06582582430473705], + [0.001, 0.055532390265052745], + [0.002, 0.03109459358021216], + [0.004, 0.015401548005785193], + [0.006, 0.009382665363767084], + [0.008, 0.006295794844977443], + [0.01, 0.004483834696966338], + [0.02, 0.0013054729674775167], + [0.04, 0.0002915487705803521], + [0.06, 0.00011136510240561392], + [0.08, 0.000055425720847490645], + [0.1, 0.00003210906292439031], + [0.2, 0.0000052474819095538194], + [0.3, 0.0000014716764278333017], + [0.4, 5.097624913297238e-7], + [0.5, 2.0057278360408048e-7], + [0.6, 8.61889892789236e-8], + [0.7, 3.980382679014127e-8], + [0.8, 1.935687210519177e-8], + [0.9, 9.86608239550435e-9], + [1, 5.156461591049322e-9], + [1.2, 1.4216896548902014e-9], + [1.4, 3.090167011166045e-10], + [1.6, 8.608813661936665e-11], + [1.8, 3.593225716969073e-11], + [2, 3.0099589487520007e-11], + [2.2, 3.0099589487520007e-11], + [2.4, 3.0099589487520007e-11], + [2.6, 3.0099589487520007e-11], + [2.8, 3.0099589487520007e-11], + [3, 3.0099589487520007e-11], + [3.5, 3.0099589487520007e-11], + [4, 3.0099589487520007e-11], + [4.5, 3.0099589487520007e-11], + [5, 3.0099589487520007e-11], + [6, 3.0099589487520007e-11], + [7, 3.0099589487520007e-11], + [8, 3.0099589487520007e-11], + [9, 3.0099589487520007e-11], + [10, 3.0099589487520007e-11], + ], + strokeColor: '#f2d338', + }, + lower2: { + data: [ + [0.0001, 0.18107942970242663], + [0.0002, 0.11288792676201453], + [0.0004, 0.0671569342724867], + [0.0006, 0.04831579069326375], + [0.0008, 0.03756006571166859], + [0.001, 0.030496277557315654], + [0.002, 0.014453006463364226], + [0.004, 0.005483812621481121], + [0.006, 0.0027153424614044797], + [0.008, 0.001534028851259528], + [0.01, 0.0009400172188295253], + [0.02, 0.000153042175917939], + [0.04, 0.000015046209898339491], + [0.06, 0.000002851342217446984], + [0.08, 7.30405397164624e-7], + [0.1, 2.2777734309809006e-7], + [0.2, 1.269043758966859e-9], + [0.3, 1.8198220708143253e-11], + [0.4, 5.657474488884873e-12], + [0.5, 4.69613237186195e-12], + [0.6, 4.69613237186195e-12], + [0.7, 4.69613237186195e-12], + [0.8, 4.683031740171373e-12], + [0.9, 2.3165913631828516e-12], + [1, 2.3165913631828516e-12], + [1.2, 2.3165913631828516e-12], + [1.4, 2.3165913631828516e-12], + [1.6, 2.3165913631828516e-12], + [1.8, 2.3165913631828516e-12], + [2, 2.3165913631828516e-12], + [2.2, 2.3165913631828516e-12], + [2.4, 2.3165913631828516e-12], + [2.6, 2.3165913631828516e-12], + [2.8, 2.3165913631828516e-12], + [3, 2.3165913631828516e-12], + [3.5, 2.3165913631828516e-12], + [4, 2.3165913631828516e-12], + [4.5, 2.3165913631828516e-12], + [5, 2.3165913631828516e-12], + [6, 2.3165913631828516e-12], + [7, 2.3165913631828516e-12], + [8, 2.3165913631828516e-12], + [9, 2.3165913631828516e-12], + [10, 2.3165913631828516e-12], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.34144198818112126], + [0.0002, 0.23694543543768076], + [0.0004, 0.15553210092017522], + [0.0006, 0.1199255665466582], + [0.0008, 0.09920157478560176], + [0.001, 0.0853916902501809], + [0.002, 0.05255121624284864], + [0.004, 0.029983160341958248], + [0.006, 0.019927619814687936], + [0.008, 0.014392815864210706], + [0.01, 0.010967448002960012], + [0.02, 0.004030068913519647], + [0.04, 0.0012731167041425406], + [0.06, 0.00048441123253450957], + [0.08, 0.00026202731747904107], + [0.1, 0.00018836246160636172], + [0.2, 0.000053142017768070815], + [0.3, 0.000015539042447332285], + [0.4, 0.000005358778716102464], + [0.5, 0.000002077020709090327], + [0.6, 8.779522401303197e-7], + [0.7, 3.9610124147326786e-7], + [0.8, 1.8677099722363977e-7], + [0.9, 9.208289397655278e-8], + [1, 4.607294967762243e-8], + [1.2, 1.1014758660721213e-8], + [1.4, 1.1887897333195951e-9], + [1.6, 2.996223269491338e-10], + [1.8, 1.1847656189445388e-10], + [2, 7.70941088745758e-11], + [2.2, 7.70941088745758e-11], + [2.4, 7.70941088745758e-11], + [2.6, 7.70941088745758e-11], + [2.8, 7.70941088745758e-11], + [3, 7.70941088745758e-11], + [3.5, 7.70941088745758e-11], + [4, 7.70941088745758e-11], + [4.5, 7.70941088745758e-11], + [5, 7.70941088745758e-11], + [6, 7.70941088745758e-11], + [7, 7.70941088745758e-11], + [8, 7.70941088745758e-11], + [9, 7.70941088745758e-11], + [10, 7.70941088745758e-11], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.19521991742251932], + [0.0002, 0.12334262436877041], + [0.0004, 0.07455337020569963], + [0.0006, 0.05422343356004766], + [0.0008, 0.04257731931954001], + [0.001, 0.03486066292588552], + [0.002, 0.017076964650120874], + [0.004, 0.006840743115257619], + [0.006, 0.003520482912225731], + [0.008, 0.0020415363342137782], + [0.01, 0.0012827007960377612], + [0.02, 0.00023062209499058461], + [0.04, 0.00002583198646410878], + [0.06, 0.0000052896678932601304], + [0.08, 0.0000014805497657865985], + [0.1, 5.083971564845413e-7], + [0.2, 6.718761103030602e-9], + [0.3, 7.70941088745758e-11], + [0.4, 1.627253887193092e-11], + [0.5, 5.657474488884873e-12], + [0.6, 5.657474488884873e-12], + [0.7, 5.657474488884873e-12], + [0.8, 4.69613237186195e-12], + [0.9, 4.69613237186195e-12], + [1, 4.69613237186195e-12], + [1.2, 4.69613237186195e-12], + [1.4, 4.69613237186195e-12], + [1.6, 4.69613237186195e-12], + [1.8, 4.69613237186195e-12], + [2, 4.69613237186195e-12], + [2.2, 4.69613237186195e-12], + [2.4, 4.69613237186195e-12], + [2.6, 4.69613237186195e-12], + [2.8, 4.69613237186195e-12], + [3, 4.69613237186195e-12], + [3.5, 4.69613237186195e-12], + [4, 4.69613237186195e-12], + [4.5, 4.69613237186195e-12], + [5, 4.69613237186195e-12], + [6, 4.69613237186195e-12], + [7, 4.69613237186195e-12], + [8, 4.69613237186195e-12], + [9, 4.69613237186195e-12], + [10, 4.69613237186195e-12], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.32165988208375074], + [0.0002, 0.22107107454578456], + [0.0004, 0.14381087961502415], + [0.0006, 0.11029273351883029], + [0.0008, 0.09085834136140802], + [0.001, 0.07792233747713795], + [0.002, 0.04699306764049016], + [0.004, 0.025807493989570163], + [0.006, 0.016978484441860453], + [0.008, 0.012105369150280154], + [0.01, 0.00905008418577291], + [0.02, 0.0029898885473911285], + [0.04, 0.0007952647147140279], + [0.06, 0.0002899600986489004], + [0.08, 0.00015186195372396405], + [0.1, 0.00008003773819920124], + [0.2, 0.000008336562613786569], + [0.3, 0.000001312376974982321], + [0.4, 2.763872259947675e-7], + [0.5, 7.0175595112687e-8], + [0.6, 1.8614925711979424e-8], + [0.7, 4.3865814314258955e-9], + [0.8, 1.2595799958603493e-9], + [0.9, 4.816833598653147e-10], + [1, 3.081035426788503e-10], + [1.2, 2.996223269491338e-10], + [1.4, 2.996223269491338e-10], + [1.6, 1.0555833984682295e-10], + [1.8, 7.70941088745758e-11], + [2, 6.72193412043498e-11], + [2.2, 6.72193412043498e-11], + [2.4, 6.72193412043498e-11], + [2.6, 6.72193412043498e-11], + [2.8, 6.72193412043498e-11], + [3, 6.72193412043498e-11], + [3.5, 6.72193412043498e-11], + [4, 6.72193412043498e-11], + [4.5, 6.72193412043498e-11], + [5, 6.72193412043498e-11], + [6, 6.72193412043498e-11], + [7, 6.72193412043498e-11], + [8, 6.72193412043498e-11], + [9, 6.72193412043498e-11], + [10, 6.72193412043498e-11], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + }, + '400m/s PGA Wellington ': { + mean: { + data: [ + [0.0001, 0.6271677708782385], + [0.0002, 0.6271652766399295], + [0.0004, 0.6270938853093738], + [0.0006, 0.6267781773783632], + [0.0008, 0.626060931573801], + [0.001, 0.6248648851523053], + [0.002, 0.6123012697568351], + [0.004, 0.5709242226142676], + [0.006, 0.5261676684819487], + [0.008, 0.48440464201609956], + [0.01, 0.4467798599708559], + [0.02, 0.31086709316862426], + [0.04, 0.17795100969663546], + [0.06, 0.11734197656411516], + [0.08, 0.08439300987443854], + [0.1, 0.06431037469781709], + [0.2, 0.025812647134209832], + [0.3, 0.014460734397579778], + [0.4, 0.009307205401812069], + [0.5, 0.006449453112125858], + [0.6, 0.0046774212447923125], + [0.7, 0.0034993063352010134], + [0.8, 0.0026782767289948994], + [0.9, 0.0020863820257743804], + [1, 0.0016486032928630934], + [1.2, 0.0010647669857920539], + [1.4, 0.0007125599587193276], + [1.6, 0.0004904124751942129], + [1.8, 0.00034540848932107515], + [2, 0.0002480991945558175], + [2.2, 0.0001812641850188479], + [2.4, 0.00013443441391891575], + [2.6, 0.00010104720306569615], + [2.8, 0.00007687127126210225], + [3, 0.00005912237265592868], + [3.5, 0.00003198657676561911], + [4, 0.000018213767804198255], + [4.5, 0.000010824229299100097], + [5, 0.0000066695313548637], + [6, 0.000002761863558409239], + [7, 0.0000012564896647582202], + [8, 6.161835989226816e-7], + [9, 3.1971627301174976e-7], + [10, 1.7174150213072892e-7], + ], + strokeColor: '#0a88ba', + }, + lower2: { + data: [ + [0.0001, 0.5231180674260377], + [0.0002, 0.5231142364186927], + [0.0004, 0.5230050620561528], + [0.0006, 0.5224514588878115], + [0.0008, 0.5210553593497409], + [0.001, 0.518693674486739], + [0.002, 0.5048033457812257], + [0.004, 0.4625432012049272], + [0.006, 0.41888060743491506], + [0.008, 0.37787359324391523], + [0.01, 0.3414897428794238], + [0.02, 0.21591446672157877], + [0.04, 0.10701002766979595], + [0.06, 0.0646960737471316], + [0.08, 0.044075350752958764], + [0.1, 0.03226764241412294], + [0.2, 0.011366274810449939], + [0.3, 0.005584893154404247], + [0.4, 0.0031202273991151053], + [0.5, 0.0018744191955307743], + [0.6, 0.0011835175736091275], + [0.7, 0.0007737624627149886], + [0.8, 0.0005195526658353655], + [0.9, 0.0003572037328233302], + [1, 0.00025067267417511196], + [1.2, 0.0001304851326650036], + [1.4, 0.00007215912515401435], + [1.6, 0.00004095743973420163], + [1.8, 0.000024097453810822955], + [2, 0.000014499369688669717], + [2.2, 0.000008772078932794969], + [2.4, 0.000005423824923744824], + [2.6, 0.0000034044981261915908], + [2.8, 0.0000021617949131913505], + [3, 0.0000013701474209648623], + [3.5, 4.367105751468259e-7], + [4, 1.2298166152113765e-7], + [4.5, 3.023112937761141e-8], + [5, 8.794088235397624e-9], + [6, 7.91989251958114e-10], + [7, 2.0941026690479703e-12], + [8, 9.084955010507656e-13], + [9, 3.3795188869589765e-13], + [10, 3.3795188869589765e-13], + ], + strokeColor: '#0a88ba', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.7248532599188757], + [0.0002, 0.724852844216513], + [0.0004, 0.7248108682008039], + [0.0006, 0.7243044989931791], + [0.0008, 0.7239389177458522], + [0.001, 0.7229894429311059], + [0.002, 0.7087988249156782], + [0.004, 0.6691761419864063], + [0.006, 0.6298420330803451], + [0.008, 0.5887700188676346], + [0.01, 0.5505162565883366], + [0.02, 0.4054216863307465], + [0.04, 0.25133270734695656], + [0.06, 0.17500518376685392], + [0.08, 0.13060693026207904], + [0.1, 0.10214746428824173], + [0.2, 0.04405375948668466], + [0.3, 0.02643561298430197], + [0.4, 0.018260374889935038], + [0.5, 0.013413355765225954], + [0.6, 0.010243080904267066], + [0.7, 0.008030021121594233], + [0.8, 0.0064458546840375774], + [0.9, 0.005268797357534605], + [1, 0.004331227296581641], + [1.2, 0.0030248239782821873], + [1.4, 0.002153495316758791], + [1.6, 0.0015564075396724553], + [1.8, 0.0011420611116765844], + [2, 0.0008377368120212614], + [2.2, 0.0006247697462812285], + [2.4, 0.0004711627919170569], + [2.6, 0.0003583766371383357], + [2.8, 0.00027595923554768476], + [3, 0.00021474316169256547], + [3.5, 0.00012134394933793757], + [4, 0.00007253750192182107], + [4.5, 0.000042418651479136926], + [5, 0.000026081618567652676], + [6, 0.00001176496739785371], + [7, 0.000006546871296420065], + [8, 0.000003907408418601932], + [9, 0.000002431820627313286], + [10, 0.0000015612324035796377], + ], + strokeColor: '#0a88ba', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.5508476111642319], + [0.0002, 0.5508472831188373], + [0.0004, 0.5507987853712515], + [0.0006, 0.5505066038065141], + [0.0008, 0.5495881207143716], + [0.001, 0.5470735565632041], + [0.002, 0.5237879826114071], + [0.004, 0.48489394669883024], + [0.006, 0.43929508759429736], + [0.008, 0.3981122875791737], + [0.01, 0.3616769253206311], + [0.02, 0.2342031400805198], + [0.04, 0.11975771991300521], + [0.06, 0.07391980573109036], + [0.08, 0.05097934297341311], + [0.1, 0.03769976226678162], + [0.2, 0.013612390576231537], + [0.3, 0.0068809271223271296], + [0.4, 0.003962102304908677], + [0.5, 0.0024505180009778416], + [0.6, 0.0015850512105808345], + [0.7, 0.0010624520881709065], + [0.8, 0.0007276231523613008], + [0.9, 0.0005084382444744406], + [1, 0.00036217242559222207], + [1.2, 0.00019273716771506244], + [1.4, 0.00010872756868007816], + [1.6, 0.00006395475994147581], + [1.8, 0.00003896146215531804], + [2, 0.000024502606452037057], + [2.2, 0.00001569892464603484], + [2.4, 0.000010242399633653143], + [2.6, 0.000006860789155460623], + [2.8, 0.0000046882523186964065], + [3, 0.0000032135949326050905], + [3.5, 0.000001325066210533521], + [4, 5.342383384565608e-7], + [4.5, 2.175665595460785e-7], + [5, 9.132140010859047e-8], + [6, 1.0626180269035501e-8], + [7, 7.285827496872344e-11], + [8, 2.5831559113953517e-12], + [9, 7.334133300673784e-13], + [10, 7.334133300673784e-13], + ], + strokeColor: '#0a88ba', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.7004877709365895], + [0.0002, 0.7004877394486364], + [0.0004, 0.7004794923937316], + [0.0006, 0.7002321797949567], + [0.0008, 0.6994846261993801], + [0.001, 0.698679845264764], + [0.002, 0.6893234318585744], + [0.004, 0.6493914037072535], + [0.006, 0.6064638075374219], + [0.008, 0.5659363123236882], + [0.01, 0.527796110761078], + [0.02, 0.3842359682212444], + [0.04, 0.23489629810408486], + [0.06, 0.16187775802616045], + [0.08, 0.11996220067350616], + [0.1, 0.09330889384538132], + [0.2, 0.0395282683670215], + [0.3, 0.02311832806129488], + [0.4, 0.015533982238787325], + [0.5, 0.011289175100063886], + [0.6, 0.008556061971099482], + [0.7, 0.00666687644810704], + [0.8, 0.005269938325912715], + [0.9, 0.004230753189383152], + [1, 0.0034060687957339075], + [1.2, 0.002274670540882373], + [1.4, 0.0015596338779230168], + [1.6, 0.0010978490363232618], + [1.8, 0.0007881855361201451], + [2, 0.0005749331709483663], + [2.2, 0.0004274313161132248], + [2.4, 0.0003230039272410501], + [2.6, 0.00024687058697248077], + [2.8, 0.00019131237700620307], + [3, 0.00014974560072378296], + [3.5, 0.00008554130687221662], + [4, 0.00004900372276972487], + [4.5, 0.00003158114499657305], + [5, 0.00002134755173799352], + [6, 0.000010744988509392428], + [7, 0.000004535790827486785], + [8, 0.000001966628624394673], + [9, 8.417826190543209e-7], + [10, 3.5246935603527874e-7], + ], + strokeColor: '#0a88ba', + strokeOpacity: 0.5, + }, + }, + '400m/s SA(10.0) Wellington ': { + mean: { + data: [ + [0.0001, 0.3144228204461652], + [0.0002, 0.20538966084536148], + [0.0004, 0.1269447167032065], + [0.0006, 0.09499321630276025], + [0.0008, 0.07733350892027724], + [0.001, 0.06598828008008228], + [0.002, 0.040543483794456825], + [0.004, 0.024706828847968043], + [0.006, 0.01804578907939991], + [0.008, 0.014113540841105165], + [0.01, 0.01144462273876401], + [0.02, 0.0051152982775724], + [0.04, 0.0016570548851463363], + [0.06, 0.0007175515333639471], + [0.08, 0.0003661538369306161], + [0.1, 0.00020851729655602114], + [0.2, 0.000029861172993306262], + [0.3, 0.000008266113695420962], + [0.4, 0.0000030085526727674505], + [0.5, 0.0000012695541419249778], + [0.6, 5.901458108859003e-7], + [0.7, 2.94485202334549e-7], + [0.8, 1.5476858661322979e-7], + [0.9, 8.454930300327845e-8], + [1, 4.782585938389872e-8], + [1.2, 1.6585681938963148e-8], + [1.4, 6.114752926222877e-9], + [1.6, 2.25697505129574e-9], + [1.8, 7.37820360363628e-10], + [2, 1.701009333388015e-10], + [2.2, 3.9122372008648654e-11], + [2.4, 8.205214285794682e-12], + [2.6, 1.1827205881331793e-12], + [2.8, 1.0973444375395047e-12], + [3, 1.0973444375395047e-12], + [3.5, 1.0973444375395047e-12], + [4, 1.0973444375395047e-12], + [4.5, 1.0973444375395047e-12], + [5, 1.0973444375395047e-12], + [6, 1.0973444375395047e-12], + [7, 1.0973444375395047e-12], + [8, 1.0973444375395047e-12], + [9, 1.0973444375395047e-12], + [10, 1.0973444375395047e-12], + ], + strokeColor: '#f18a37', + }, + lower2: { + data: [ + [0.0001, 0.2168032392977277], + [0.0002, 0.13260739321653792], + [0.0004, 0.07791689102295207], + [0.0006, 0.056636067917259614], + [0.0008, 0.045079663152548854], + [0.001, 0.03766124957260486], + [0.002, 0.021243991945576912], + [0.004, 0.011353198655113528], + [0.006, 0.007430066480513142], + [0.008, 0.005262551507059676], + [0.01, 0.0038932399309363763], + [0.02, 0.0011713584499124519], + [0.04, 0.00020564481623563946], + [0.06, 0.00005487367162315682], + [0.08, 0.000018287614834466837], + [0.1, 0.000006948808798368233], + [0.2, 1.526644695104551e-7], + [0.3, 2.7563438198541235e-9], + [0.4, 2.0941026690479703e-12], + [0.5, 3.3795188869589765e-13], + [0.6, 2.3281376826389533e-13], + [0.7, 2.3281376826389533e-13], + [0.8, 2.3281376826389533e-13], + [0.9, 2.3281376826389533e-13], + [1, 1.7463808177353712e-13], + [1.2, 1.7463808177353712e-13], + [1.4, 1.7463808177353712e-13], + [1.6, 1.7463808177353712e-13], + [1.8, 1.7463808177353712e-13], + [2, 1.7463808177353712e-13], + [2.2, 1.7463808177353712e-13], + [2.4, 1.7463808177353712e-13], + [2.6, 1.7463808177353712e-13], + [2.8, 1.7463808177353712e-13], + [3, 1.7463808177353712e-13], + [3.5, 1.7463808177353712e-13], + [4, 1.7463808177353712e-13], + [4.5, 1.7463808177353712e-13], + [5, 1.7463808177353712e-13], + [6, 1.7463808177353712e-13], + [7, 1.7463808177353712e-13], + [8, 1.7463808177353712e-13], + [9, 1.7463808177353712e-13], + [10, 1.7463808177353712e-13], + ], + strokeColor: '#f18a37', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.4183340525191558], + [0.0002, 0.2891879410835223], + [0.0004, 0.1863794097007646], + [0.0006, 0.14204424278416117], + [0.0008, 0.11698568775438423], + [0.001, 0.10073728382105407], + [0.002, 0.06430981369214983], + [0.004, 0.04197215968431489], + [0.006, 0.03242431067761675], + [0.008, 0.02651677657428342], + [0.01, 0.022350032700486855], + [0.02, 0.01155252433631071], + [0.04, 0.004654409879246479], + [0.06, 0.002352544608716034], + [0.08, 0.0012913651653265745], + [0.1, 0.0007892251285572804], + [0.2, 0.00014758637025735766], + [0.3, 0.00003932078223944924], + [0.4, 0.000016993525348674154], + [0.5, 0.000008130426800923019], + [0.6, 0.0000040982907845155125], + [0.7, 0.0000021648761557857554], + [0.8, 0.000001188271772645244], + [0.9, 6.648947221687962e-7], + [1, 3.596792339521926e-7], + [1.2, 1.1089793616747556e-7], + [1.4, 3.595949071844018e-8], + [1.6, 1.3370859752726005e-8], + [1.8, 4.562319411149929e-9], + [2, 3.7554936938022365e-10], + [2.2, 2.5831559113953517e-12], + [2.4, 2.5831559113953517e-12], + [2.6, 2.5831559113953517e-12], + [2.8, 2.5831559113953517e-12], + [3, 2.5831559113953517e-12], + [3.5, 2.5831559113953517e-12], + [4, 2.5831559113953517e-12], + [4.5, 2.5831559113953517e-12], + [5, 2.5831559113953517e-12], + [6, 2.5831559113953517e-12], + [7, 2.5831559113953517e-12], + [8, 2.5831559113953517e-12], + [9, 2.5831559113953517e-12], + [10, 2.5831559113953517e-12], + ], + strokeColor: '#f18a37', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.23466207036727016], + [0.0002, 0.14524282136985178], + [0.0004, 0.08628819873170457], + [0.0006, 0.06323624085715862], + [0.0008, 0.050585092345382776], + [0.001, 0.042480779365168364], + [0.002, 0.02438860522641606], + [0.004, 0.01338351303300922], + [0.006, 0.008971616152733342], + [0.008, 0.006491269784656084], + [0.01, 0.004899103759935075], + [0.02, 0.0016242635175535147], + [0.04, 0.00032822289056499976], + [0.06, 0.00009695856086522348], + [0.08, 0.000034438222134669516], + [0.1, 0.00001367597682755406], + [0.2, 4.194678020486009e-7], + [0.3, 2.088902029129258e-8], + [0.4, 2.335734938796463e-10], + [0.5, 7.334133300673784e-13], + [0.6, 3.3795188869589765e-13], + [0.7, 3.3795188869589765e-13], + [0.8, 3.3795188869589765e-13], + [0.9, 2.3281376826389533e-13], + [1, 2.3281376826389533e-13], + [1.2, 2.3281376826389533e-13], + [1.4, 2.3281376826389533e-13], + [1.6, 2.3281376826389533e-13], + [1.8, 2.3281376826389533e-13], + [2, 2.3281376826389533e-13], + [2.2, 2.3281376826389533e-13], + [2.4, 2.3281376826389533e-13], + [2.6, 2.3281376826389533e-13], + [2.8, 2.3281376826389533e-13], + [3, 2.3281376826389533e-13], + [3.5, 2.3281376826389533e-13], + [4, 2.3281376826389533e-13], + [4.5, 2.3281376826389533e-13], + [5, 2.3281376826389533e-13], + [6, 2.3281376826389533e-13], + [7, 2.3281376826389533e-13], + [8, 2.3281376826389533e-13], + [9, 2.3281376826389533e-13], + [10, 2.3281376826389533e-13], + ], + strokeColor: '#f18a37', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.39353199786092885], + [0.0002, 0.26858534257017697], + [0.0004, 0.171263341743911], + [0.0006, 0.12989988761991011], + [0.0008, 0.10666939190237179], + [0.001, 0.09168112021412078], + [0.002, 0.058218572479382114], + [0.004, 0.037542556801646865], + [0.006, 0.028625767244316758], + [0.008, 0.023148915343873533], + [0.01, 0.019296468870088512], + [0.02, 0.009486218137201297], + [0.04, 0.0035121428679539823], + [0.06, 0.0016339527713645774], + [0.08, 0.0008929532696447806], + [0.1, 0.0005327087889928084], + [0.2, 0.00009391478310871726], + [0.3, 0.000027053936786480826], + [0.4, 0.00000817750227632974], + [0.5, 0.0000033946952177066336], + [0.6, 0.0000014296714468953198], + [0.7, 6.619540297014836e-7], + [0.8, 3.558846272122551e-7], + [0.9, 1.5955680510160164e-7], + [1, 6.885638725862009e-8], + [1.2, 1.4542240300841058e-8], + [1.4, 1.8217701791556351e-9], + [1.6, 1.826250262126905e-11], + [1.8, 7.92887977496548e-12], + [2, 7.92887977496548e-12], + [2.2, 2.5831559113953517e-12], + [2.4, 2.5831559113953517e-12], + [2.6, 2.5831559113953517e-12], + [2.8, 2.5831559113953517e-12], + [3, 2.5831559113953517e-12], + [3.5, 2.5831559113953517e-12], + [4, 2.5831559113953517e-12], + [4.5, 2.5831559113953517e-12], + [5, 2.5831559113953517e-12], + [6, 2.5831559113953517e-12], + [7, 2.5831559113953517e-12], + [8, 2.5831559113953517e-12], + [9, 2.5831559113953517e-12], + [10, 2.5831559113953517e-12], + ], + strokeColor: '#f18a37', + strokeOpacity: 0.5, + }, + }, +}; + +export const doubleSaData2 = { + '400m/s Turangi': { + upper2: { + data: [ + [0.04, 0.6311230655061443], + [0.1, 1.357003135246921], + [0.2, 1.5595671330728018], + [0.3, 1.4270976453525288], + [0.4, 1.2424369014104755], + [0.5, 1.0917856449101575], + [0.7, 0.854064118515728], + [1, 0.6411873941834715], + [1.5, 0.4071864993548409], + [2, 0.30402866360471636], + [3, 0.17181664015438036], + [4, 0.12379372823503981], + [5, 0.08640082577519448], + [6, 0.06342126840313198], + [7.5, 0.046778581357817026], + [10, 0.029540806311521804], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.04, 0.5975734799020291], + [0.1, 1.273362812032123], + [0.2, 1.4735493927601562], + [0.3, 1.349021859097769], + [0.4, 1.1736243050438953], + [0.5, 1.0282117991885313], + [0.7, 0.799989847720338], + [1, 0.5860746889538546], + [1.5, 0.3599007025431038], + [2, 0.2599719304048847], + [3, 0.14554305005793788], + [4, 0.10272427683374855], + [5, 0.07254783746345067], + [6, 0.05312741275324657], + [7.5, 0.03771455352519266], + [10, 0.024019231965115927], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + mean: { + data: [ + [0.04, 0.4461891970448632], + [0.1, 0.8763228476252369], + [0.2, 1.070370920538734], + [0.3, 1.0222238221329913], + [0.4, 0.9128003386842969], + [0.5, 0.8103936564934939], + [0.7, 0.6321364300543951], + [1, 0.45923890685677454], + [1.5, 0.2797079098980368], + [2, 0.19743758921914273], + [3, 0.10828477719090969], + [4, 0.07289923377096282], + [5, 0.05018462038610363], + [6, 0.03623973227562925], + [7.5, 0.02463251473143726], + [10, 0.015283411416510434], + ], + strokeColor: '#f2d338', + }, + lower1: { + data: [ + [0.04, 0.28687065734912987], + [0.1, 0.5360031921970362], + [0.2, 0.6852066480109805], + [0.3, 0.6868561005780911], + [0.4, 0.6306676803490932], + [0.5, 0.5631167577613623], + [0.7, 0.4410549740212096], + [1, 0.31732919050370645], + [1.5, 0.1895632614087733], + [2, 0.12688650442453756], + [3, 0.06848754497805155], + [4, 0.04332899551602513], + [5, 0.028644394026698137], + [6, 0.02069596096761747], + [7.5, 0.013301047197333566], + [10, 0.007867380507355684], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + lower2: { + data: [ + [0.04, 0.2575812260239519], + [0.1, 0.47697199339859675], + [0.2, 0.6127494731250518], + [0.3, 0.6208180251902933], + [0.4, 0.574374419236217], + [0.5, 0.5141914633963304], + [0.7, 0.4035221138511498], + [1, 0.29097988300570554], + [1.5, 0.1719265289353826], + [2, 0.11590788150355907], + [3, 0.062027265870369844], + [4, 0.038992034006027194], + [5, 0.025604710815861544], + [6, 0.018240966951565754], + [7.5, 0.011729492017699203], + [10, 0.0068175514779969335], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + }, + '400m/s Wellington': { + upper2: { + data: [ + [0.04, 1.4125649464199], + [0.1, 2.5140670305270056], + [0.2, 3.0904803198933006], + [0.3, 2.9398478346946315], + [0.4, 2.6279078716199287], + [0.5, 2.3865710167621947], + [0.7, 1.901485214909174], + [1, 1.4760415286784823], + [1.5, 0.9616049366613129], + [2, 0.7310467773967161], + [3, 0.42187019747454624], + [4, 0.29414407788595703], + [5, 0.20492223425372125], + [6, 0.14425788372484222], + [7.5, 0.09960554229911582], + [10, 0.06325458871033639], + ], + strokeColor: '#f18a37', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.04, 1.2380746734757742], + [0.1, 2.2496451191750957], + [0.2, 2.75353607510941], + [0.3, 2.659974786854728], + [0.4, 2.420016419695187], + [0.5, 2.163635825061531], + [0.7, 1.737855747303903], + [1, 1.291608233150155], + [1.5, 0.8173777619913168], + [2, 0.6072975357713809], + [3, 0.3485680289889862], + [4, 0.24169268934138627], + [5, 0.1650918481376684], + [6, 0.1201564544222268], + [7.5, 0.08610399512365491], + [10, 0.052434603043510844], + ], + strokeColor: '#f18a37', + strokeOpacity: 0.5, + }, + mean: { + data: [ + [0.04, 0.8957935326920364], + [0.1, 1.624034081437879], + [0.2, 2.0211750088002676], + [0.3, 1.964309649569773], + [0.4, 1.7957560128883039], + [0.5, 1.6134898999005842], + [0.7, 1.280794130292017], + [1, 0.9451541427138056], + [1.5, 0.5890146740253265], + [2, 0.4206206450858724], + [3, 0.23693775865397745], + [4, 0.15927073495396188], + [5, 0.1118286787827911], + [6, 0.08249872605031001], + [7.5, 0.056345047679218815], + [10, 0.034504756412469105], + ], + strokeColor: '#f18a37', + }, + lower1: { + data: [ + [0.04, 0.5325997165542142], + [0.1, 0.9412628514271774], + [0.2, 1.2003383945645396], + [0.3, 1.2155891317927], + [0.4, 1.1326521748746143], + [0.5, 1.024061637756949], + [0.7, 0.8164070447746248], + [1, 0.5934745442590628], + [1.5, 0.35724717775097936], + [2, 0.24325647529484756], + [3, 0.13113747034106105], + [4, 0.0881830418915675], + [5, 0.061011927035481826], + [6, 0.04378169708833929], + [7.5, 0.028483043962804606], + [10, 0.016984409655567047], + ], + strokeColor: '#f18a37', + strokeOpacity: 0.5, + }, + lower2: { + data: [ + [0.04, 0.47501573299643723], + [0.1, 0.8387308845909235], + [0.2, 1.0715280067860304], + [0.3, 1.0917217444860876], + [0.4, 1.0217974883500147], + [0.5, 0.9235962669179212], + [0.7, 0.7328723601320616], + [1, 0.5311795469111733], + [1.5, 0.32071757850580707], + [2, 0.21773734618643587], + [3, 0.11711091445187938], + [4, 0.07770513774403447], + [5, 0.0528135390731816], + [6, 0.03777410382717481], + [7.5, 0.024423440587658482], + [10, 0.014251413396858037], + ], + strokeColor: '#f18a37', + strokeOpacity: 0.5, + }, + }, +}; + +export const newData = { + '400m/s PGA Te Anau ': { + mean: { + data: [ + [0.0001, 0.5851685379258058], + [0.0002, 0.5851667123920026], + [0.0004, 0.5850787032596254], + [0.0006, 0.5846379219421243], + [0.0008, 0.5835876458812433], + [0.001, 0.5817969615539883], + [0.002, 0.5626946945122653], + [0.004, 0.5015775449878601], + [0.006, 0.43973110916749236], + [0.008, 0.3862620611107438], + [0.01, 0.34161207527828763], + [0.02, 0.20621371767560404], + [0.04, 0.10615677248420152], + [0.06, 0.06816659509393608], + [0.08, 0.04869348069151458], + [0.1, 0.036952990064131774], + [0.2, 0.013897260227602626], + [0.3, 0.006959569018408773], + [0.4, 0.00397558755035321], + [0.5, 0.0024610494317857112], + [0.6, 0.0016103869498835799], + [0.7, 0.0010979578809142687], + [0.8, 0.0007728574775459629], + [0.9, 0.0005581561037144578], + [1, 0.0004117308821054433], + [1.2, 0.00023575080638682522], + [1.4, 0.00014240998961834173], + [1.6, 0.00008970015407472332], + [1.8, 0.00005843860788690147], + [2, 0.00003915007712218532], + [2.2, 0.000026850689946344986], + [2.4, 0.000018794523870879765], + [2.6, 0.000013392843097537188], + [2.8, 0.000009693072325456242], + [3, 0.0000071132416775698815], + [3.5, 0.0000034558468339218607], + [4, 0.0000017794594436848499], + [4.5, 9.596648191667612e-7], + [5, 5.372565491379433e-7], + [6, 1.8446080896072914e-7], + [7, 6.875065716727136e-8], + [8, 2.90597508278978e-8], + [9, 1.4845165541288452e-8], + [10, 8.40470593121978e-9], + ], + strokeColor: '#f2d338', + strokeDashArray: '0', + }, + lower2: { + data: [ + [0.0001, 0.42612397599898266], + [0.0002, 0.426123907181597], + [0.0004, 0.42611196033842225], + [0.0006, 0.42598525780455276], + [0.0008, 0.4255629270754522], + [0.001, 0.4244798116026379], + [0.002, 0.4108667664251111], + [0.004, 0.34767901480136854], + [0.006, 0.2864836002966126], + [0.008, 0.23905185601812662], + [0.01, 0.20434788755728117], + [0.02, 0.11062325738145873], + [0.04, 0.05142895505190026], + [0.06, 0.030921581712170743], + [0.08, 0.02092739019879819], + [0.1, 0.01511189981870864], + [0.2, 0.00443541517699042], + [0.3, 0.0017439250251254368], + [0.4, 0.0008055329130074451], + [0.5, 0.00041398723246210967], + [0.6, 0.00023222910289300014], + [0.7, 0.00013799443988438131], + [0.8, 0.00008523645473801356], + [0.9, 0.00005516959290741141], + [1, 0.00003656314804201255], + [1.2, 0.000017050422764119944], + [1.4, 0.000008476502620369253], + [1.6, 0.0000044985820505383245], + [1.8, 0.0000025140962399694544], + [2, 0.000001400309990740034], + [2.2, 7.579146082958843e-7], + [2.4, 4.058269517104307e-7], + [2.6, 2.228621744926329e-7], + [2.8, 1.1300751168175083e-7], + [3, 5.477648645779709e-8], + [3.5, 1.1893483531366655e-8], + [4, 2.372729901445325e-9], + [4.5, 4.409393961068986e-10], + [5, 1.5643597528480768e-10], + [6, 5.4068416410757436e-11], + [7, 2.142197530474732e-11], + [8, 1.9853230170951974e-11], + [9, 1.7614798508702734e-11], + [10, 1.7614798508702734e-11], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.7132130122443867], + [0.0002, 0.7132125823481601], + [0.0004, 0.7131537896391188], + [0.0006, 0.7125494667208605], + [0.0008, 0.7119394886793666], + [0.001, 0.710509535986714], + [0.002, 0.6896688403930535], + [0.004, 0.643106504041093], + [0.006, 0.5866966040102247], + [0.008, 0.5322211567375504], + [0.01, 0.4829598605789729], + [0.02, 0.3131780434312541], + [0.04, 0.17018519505708674], + [0.06, 0.11209286810376706], + [0.08, 0.08213976905029419], + [0.1, 0.06434881823184035], + [0.2, 0.02826000230700676], + [0.3, 0.016082107334359774], + [0.4, 0.010246440562467374], + [0.5, 0.007010310211922999], + [0.6, 0.004994424956557997], + [0.7, 0.0036159067499240694], + [0.8, 0.0026775190650245584], + [0.9, 0.0020284619554734595], + [1, 0.0015552977832196113], + [1.2, 0.000946836013303809], + [1.4, 0.0005995815845213359], + [1.6, 0.0003911316805538245], + [1.8, 0.0002620052637468673], + [2, 0.0001793473787081723], + [2.2, 0.00012507412899298576], + [2.4, 0.00008866435823273733], + [2.6, 0.00006377687124747844], + [2.8, 0.00004646246841066848], + [3, 0.00003423679351055586], + [3.5, 0.000016649167455140557], + [4, 0.000008488121488126055], + [4.5, 0.00000446092993688918], + [5, 0.000002397138849419278], + [6, 8.967613811527997e-7], + [7, 4.792023634569986e-7], + [8, 2.7162432625349453e-7], + [9, 1.6052898477170174e-7], + [10, 9.810765599915783e-8], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.46718138673423604], + [0.0002, 0.46718138673423604], + [0.0004, 0.4671753382928786], + [0.0006, 0.4670532315024547], + [0.0008, 0.46652750645050467], + [0.001, 0.464196839398632], + [0.002, 0.42906516500930003], + [0.004, 0.3808353305793182], + [0.006, 0.31580968346419114], + [0.008, 0.2661599704987885], + [0.01, 0.2278010934978868], + [0.02, 0.1258388968113986], + [0.04, 0.061058562209699074], + [0.06, 0.0375043201368892], + [0.08, 0.02557571217938459], + [0.1, 0.018574810453261814], + [0.2, 0.00558130317045713], + [0.3, 0.0022938986540492756], + [0.4, 0.001100641202397279], + [0.5, 0.0005786834244581041], + [0.6, 0.00032691025438658095], + [0.7, 0.00019650605133658683], + [0.8, 0.00012418095151778274], + [0.9, 0.00008160527506206883], + [1, 0.00005483531543137854], + [1.2, 0.00002625189865046451], + [1.4, 0.000013532787048076145], + [1.6, 0.000007348381993121933], + [1.8, 0.000004202667695407669], + [2, 0.0000024793261573785585], + [2.2, 0.000001515527061735078], + [2.4, 9.519601833485325e-7], + [2.6, 5.963642814021952e-7], + [2.8, 3.8720586048590633e-7], + [3, 2.58100378958126e-7], + [3.5, 1.0356232194030923e-7], + [4, 3.994667829854137e-8], + [4.5, 7.498884513346127e-9], + [5, 1.008757966047824e-9], + [6, 1.9049239963209175e-10], + [7, 5.5649707064731047e-11], + [8, 4.491140792595161e-11], + [9, 1.9853230170951974e-11], + [10, 1.9853230170951974e-11], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.6908932200693942], + [0.0002, 0.6908932151530793], + [0.0004, 0.6908789447568745], + [0.0006, 0.6906795014000229], + [0.0008, 0.6899723902270267], + [0.001, 0.6888163111566032], + [0.002, 0.667755880083224], + [0.004, 0.6153909764550773], + [0.006, 0.555875700687561], + [0.008, 0.49904449755639857], + [0.01, 0.45090283581302504], + [0.02, 0.288200657510709], + [0.04, 0.15441459104757516], + [0.06, 0.10131319671659389], + [0.08, 0.0740967867332678], + [0.1, 0.05763729468447376], + [0.2, 0.024090963124584475], + [0.3, 0.013356466370376685], + [0.4, 0.00811251095373866], + [0.5, 0.0051371646725943965], + [0.6, 0.0034302497566365275], + [0.7, 0.0023809170674490288], + [0.8, 0.0017036801785595967], + [0.9, 0.001240035099674297], + [1, 0.000915616402807129], + [1.2, 0.0005269888197825257], + [1.4, 0.00031868198876550125], + [1.6, 0.00020063980124007674], + [1.8, 0.00013046650393988557], + [2, 0.00008724194938358742], + [2.2, 0.00005966891144548736], + [2.4, 0.000041855612420982347], + [2.6, 0.000030018262037523336], + [2.8, 0.000021527510966179442], + [3, 0.000015875240054419315], + [3.5, 0.000007934791965702459], + [4, 0.000004460449974930114], + [4.5, 0.0000026240709777303195], + [5, 0.0000017819129231044784], + [6, 7.256629029894768e-7], + [7, 1.8513929278540786e-7], + [8, 4.161367128663329e-8], + [9, 1.6935388869043777e-8], + [10, 9.299672476537069e-9], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + }, + '400m/s SA(0.2) Te Anau ': { + mean: { + data: [ + [0.0001, 0.5851685470914814], + [0.0002, 0.5851685254710577], + [0.0004, 0.5851659810656387], + [0.0006, 0.5851468892559143], + [0.0008, 0.5850877717320004], + [0.001, 0.5849642960523969], + [0.002, 0.5828017847341296], + [0.004, 0.5696336734135083], + [0.006, 0.5482729395522405], + [0.008, 0.5232071354499364], + [0.01, 0.4970863442831366], + [0.02, 0.3809700161254118], + [0.04, 0.24209532788428867], + [0.06, 0.17071480506947256], + [0.08, 0.12900677936166882], + [0.1, 0.10216256214235331], + [0.2, 0.04569175257993707], + [0.3, 0.026786325611074746], + [0.4, 0.01763601367112788], + [0.5, 0.012399973704673606], + [0.6, 0.009104752129754812], + [0.7, 0.006898224596793234], + [0.8, 0.005353801403376712], + [0.9, 0.004235877886841544], + [1, 0.003404886503179716], + [1.2, 0.0022853316696520576], + [1.4, 0.0015963280576719585], + [1.6, 0.0011501729660448046], + [1.8, 0.0008496539697070427], + [2, 0.0006407169444024863], + [2.2, 0.0004916183681445974], + [2.4, 0.0003828700366123039], + [2.6, 0.00030205864986687647], + [2.8, 0.00024102962652750026], + [3, 0.0001942764925429996], + [3.5, 0.00011765559916732116], + [4, 0.00007448507247742597], + [4.5, 0.000048881576582560093], + [5, 0.00003304445443452764], + [6, 0.000016224644137641242], + [7, 0.00000859608263714673], + [8, 0.000004833964824313419], + [9, 0.0000028541332351972315], + [10, 0.0000017505847448306966], + ], + strokeColor: '#f2d338', + strokeDashArray: '4,5', + }, + lower2: { + data: [ + [0.0001, 0.42612397599898266], + [0.0002, 0.42612397599898266], + [0.0004, 0.4261239475320129], + [0.0006, 0.4261226882076431], + [0.0008, 0.42611691616410097], + [0.001, 0.42610031974566864], + [0.002, 0.42511957732200734], + [0.004, 0.4169086839506009], + [0.006, 0.3978628538737975], + [0.008, 0.3702535383599236], + [0.01, 0.34608964783862173], + [0.02, 0.24111113284381247], + [0.04, 0.13777025051831782], + [0.06, 0.09208990809579143], + [0.08, 0.06705728814760092], + [0.1, 0.051134899514594156], + [0.2, 0.019860051583820093], + [0.3, 0.010358478219551492], + [0.4, 0.00606007368352679], + [0.5, 0.0038022465185442167], + [0.6, 0.0025013869664084476], + [0.7, 0.0017086812470988866], + [0.8, 0.001201494223034616], + [0.9, 0.0008668597104991571], + [1, 0.0006393240038311543], + [1.2, 0.00036533500197277746], + [1.4, 0.0002199124394370866], + [1.6, 0.00013861460819708515], + [1.8, 0.00009071187470166553], + [2, 0.00006107919711517695], + [2.2, 0.00004215061076129345], + [2.4, 0.000029502622836075076], + [2.6, 0.000020931317222028234], + [2.8, 0.000015153242730381322], + [3, 0.000011087195109449333], + [3.5, 0.000005341303358274985], + [4, 0.0000026819511874665025], + [4.5, 0.0000014063879609782504], + [5, 7.668186681186739e-7], + [6, 2.2062480609097435e-7], + [7, 6.228200777336212e-8], + [8, 1.2639723490082133e-8], + [9, 3.3343325878121277e-9], + [10, 7.559514125787814e-10], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.7132130122443867], + [0.0002, 0.7132130122443867], + [0.0004, 0.7132127049512275], + [0.0006, 0.7132052295190434], + [0.0008, 0.7131658712928437], + [0.001, 0.7130750798504022], + [0.002, 0.7113349903538344], + [0.004, 0.6969141920796618], + [0.006, 0.677150585288295], + [0.008, 0.6568437443483226], + [0.01, 0.6347251929725001], + [0.02, 0.5198331159264382], + [0.04, 0.3527544290691297], + [0.06, 0.25800950190771166], + [0.08, 0.1999919755197217], + [0.1, 0.16136670199122005], + [0.2, 0.07715912653335288], + [0.3, 0.04882576479119771], + [0.4, 0.034426703103450196], + [0.5, 0.025568193093739477], + [0.6, 0.019807812499730404], + [0.7, 0.015818145079207424], + [0.8, 0.01289007988811175], + [0.9, 0.010664102114014806], + [1, 0.0089773004232373], + [1.2, 0.0065811281009288125], + [1.4, 0.004991885135781526], + [1.6, 0.0038792072751752116], + [1.8, 0.0030658944738897187], + [2, 0.0024538473889822443], + [2.2, 0.0019823692254559155], + [2.4, 0.0016147873312801764], + [2.6, 0.0013245880564927148], + [2.8, 0.001093914012390007], + [3, 0.0009090401737468223], + [3.5, 0.0005862875773776643], + [4, 0.0003894313138091965], + [4.5, 0.0002652640969990072], + [5, 0.0001845916536306058], + [6, 0.00009429159743123972], + [7, 0.000051023876570077675], + [8, 0.000028893261473261767], + [9, 0.0000169550529464102], + [10, 0.000010228075713492046], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.46718138673423604], + [0.0002, 0.46718138673423604], + [0.0004, 0.46718138673423604], + [0.0006, 0.4671811663391916], + [0.0008, 0.4671784914876477], + [0.001, 0.4671610460094233], + [0.002, 0.46517876231944033], + [0.004, 0.4475872988253332], + [0.006, 0.4167130439089116], + [0.008, 0.39914894088279174], + [0.01, 0.3752788504524849], + [0.02, 0.2686951533688604], + [0.04, 0.15677287243016302], + [0.06, 0.10565713454946102], + [0.08, 0.07757893062471055], + [0.1, 0.06012389989182154], + [0.2, 0.024065244792984775], + [0.3, 0.012670952111020428], + [0.4, 0.007581909180110813], + [0.5, 0.004856980358595053], + [0.6, 0.00326642279676459], + [0.7, 0.002276257875562182], + [0.8, 0.00162982510335552], + [0.9, 0.0011952664292407267], + [1, 0.0008901490369663811], + [1.2, 0.0005207186465395752], + [1.4, 0.000321153615471359], + [1.6, 0.0002072640358578015], + [1.8, 0.00013739860710326735], + [2, 0.00009403822163767117], + [2.2, 0.00006565144211023721], + [2.4, 0.000046969834002763555], + [2.6, 0.00003430195871045871], + [2.8, 0.00002538258621820333], + [3, 0.00001911414858746241], + [3.5, 0.00000979432536851732], + [4, 0.00000522272185166095], + [4.5, 0.0000028696303928654743], + [5, 0.00000160322178088812], + [6, 5.127380106051405e-7], + [7, 1.622439944615195e-7], + [8, 3.899219758185524e-8], + [9, 1.2328151832718959e-8], + [10, 3.2971542163195977e-9], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.6908932200693942], + [0.0002, 0.6908932200693942], + [0.0004, 0.6908932200693942], + [0.0006, 0.6908929155614449], + [0.0008, 0.6908862751637356], + [0.001, 0.690867467723731], + [0.002, 0.6895091852071624], + [0.004, 0.6788113550082497], + [0.006, 0.6569028925791764], + [0.008, 0.6320150827781879], + [0.01, 0.6074709004065372], + [0.02, 0.48844665210482796], + [0.04, 0.3280434092621842], + [0.06, 0.23731935077297972], + [0.08, 0.18254854914390295], + [0.1, 0.14640094159410322], + [0.2, 0.0694713725705437], + [0.3, 0.04300118566367228], + [0.4, 0.02970804372509428], + [0.5, 0.021866503791760028], + [0.6, 0.016899931866639295], + [0.7, 0.013414889116285078], + [0.8, 0.01084328296996473], + [0.9, 0.008705955111667052], + [1, 0.007082605382819573], + [1.2, 0.0048240768220373376], + [1.4, 0.0033902247000059393], + [1.6, 0.0024395833877275397], + [1.8, 0.0017910027679460816], + [2, 0.0013416379486318464], + [2.2, 0.0010197008558157084], + [2.4, 0.000785995170607956], + [2.6, 0.0006157890296524249], + [2.8, 0.00048681551585150196], + [3, 0.00038958102875130685], + [3.5, 0.00023158344377460782], + [4, 0.00014466109219501977], + [4.5, 0.00009411411810045234], + [5, 0.00006140596698744893], + [6, 0.000030474252702084037], + [7, 0.0000176119080728121], + [8, 0.000011741465580805688], + [9, 0.000008255254844380389], + [10, 0.0000059623094725846926], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + }, + '400m/s PGA Wellington ': { + mean: { + data: [ + [0.0001, 0.6271677708782385], + [0.0002, 0.6271652766399295], + [0.0004, 0.6270938853093738], + [0.0006, 0.6267781773783632], + [0.0008, 0.626060931573801], + [0.001, 0.6248648851523053], + [0.002, 0.6123012697568351], + [0.004, 0.5709242226142676], + [0.006, 0.5261676684819487], + [0.008, 0.48440464201609956], + [0.01, 0.4467798599708559], + [0.02, 0.31086709316862426], + [0.04, 0.17795100969663546], + [0.06, 0.11734197656411516], + [0.08, 0.08439300987443854], + [0.1, 0.06431037469781709], + [0.2, 0.025812647134209832], + [0.3, 0.014460734397579778], + [0.4, 0.009307205401812069], + [0.5, 0.006449453112125858], + [0.6, 0.0046774212447923125], + [0.7, 0.0034993063352010134], + [0.8, 0.0026782767289948994], + [0.9, 0.0020863820257743804], + [1, 0.0016486032928630934], + [1.2, 0.0010647669857920539], + [1.4, 0.0007125599587193276], + [1.6, 0.0004904124751942129], + [1.8, 0.00034540848932107515], + [2, 0.0002480991945558175], + [2.2, 0.0001812641850188479], + [2.4, 0.00013443441391891575], + [2.6, 0.00010104720306569615], + [2.8, 0.00007687127126210225], + [3, 0.00005912237265592868], + [3.5, 0.00003198657676561911], + [4, 0.000018213767804198255], + [4.5, 0.000010824229299100097], + [5, 0.0000066695313548637], + [6, 0.000002761863558409239], + [7, 0.0000012564896647582202], + [8, 6.161835989226816e-7], + [9, 3.1971627301174976e-7], + [10, 1.7174150213072892e-7], + ], + strokeColor: '#0c3383', + strokeDashArray: '0', + }, + lower2: { + data: [ + [0.0001, 0.5231180674260377], + [0.0002, 0.5231142364186927], + [0.0004, 0.5230050620561528], + [0.0006, 0.5224514588878115], + [0.0008, 0.5210553593497409], + [0.001, 0.518693674486739], + [0.002, 0.5048033457812257], + [0.004, 0.4625432012049272], + [0.006, 0.41888060743491506], + [0.008, 0.37787359324391523], + [0.01, 0.3414897428794238], + [0.02, 0.21591446672157877], + [0.04, 0.10701002766979595], + [0.06, 0.0646960737471316], + [0.08, 0.044075350752958764], + [0.1, 0.03226764241412294], + [0.2, 0.011366274810449939], + [0.3, 0.005584893154404247], + [0.4, 0.0031202273991151053], + [0.5, 0.0018744191955307743], + [0.6, 0.0011835175736091275], + [0.7, 0.0007737624627149886], + [0.8, 0.0005195526658353655], + [0.9, 0.0003572037328233302], + [1, 0.00025067267417511196], + [1.2, 0.0001304851326650036], + [1.4, 0.00007215912515401435], + [1.6, 0.00004095743973420163], + [1.8, 0.000024097453810822955], + [2, 0.000014499369688669717], + [2.2, 0.000008772078932794969], + [2.4, 0.000005423824923744824], + [2.6, 0.0000034044981261915908], + [2.8, 0.0000021617949131913505], + [3, 0.0000013701474209648623], + [3.5, 4.367105751468259e-7], + [4, 1.2298166152113765e-7], + [4.5, 3.023112937761141e-8], + [5, 8.794088235397624e-9], + [6, 7.91989251958114e-10], + [7, 2.0941026690479703e-12], + [8, 9.084955010507656e-13], + [9, 3.3795188869589765e-13], + [10, 3.3795188869589765e-13], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.7248532599188757], + [0.0002, 0.724852844216513], + [0.0004, 0.7248108682008039], + [0.0006, 0.7243044989931791], + [0.0008, 0.7239389177458522], + [0.001, 0.7229894429311059], + [0.002, 0.7087988249156782], + [0.004, 0.6691761419864063], + [0.006, 0.6298420330803451], + [0.008, 0.5887700188676346], + [0.01, 0.5505162565883366], + [0.02, 0.4054216863307465], + [0.04, 0.25133270734695656], + [0.06, 0.17500518376685392], + [0.08, 0.13060693026207904], + [0.1, 0.10214746428824173], + [0.2, 0.04405375948668466], + [0.3, 0.02643561298430197], + [0.4, 0.018260374889935038], + [0.5, 0.013413355765225954], + [0.6, 0.010243080904267066], + [0.7, 0.008030021121594233], + [0.8, 0.0064458546840375774], + [0.9, 0.005268797357534605], + [1, 0.004331227296581641], + [1.2, 0.0030248239782821873], + [1.4, 0.002153495316758791], + [1.6, 0.0015564075396724553], + [1.8, 0.0011420611116765844], + [2, 0.0008377368120212614], + [2.2, 0.0006247697462812285], + [2.4, 0.0004711627919170569], + [2.6, 0.0003583766371383357], + [2.8, 0.00027595923554768476], + [3, 0.00021474316169256547], + [3.5, 0.00012134394933793757], + [4, 0.00007253750192182107], + [4.5, 0.000042418651479136926], + [5, 0.000026081618567652676], + [6, 0.00001176496739785371], + [7, 0.000006546871296420065], + [8, 0.000003907408418601932], + [9, 0.000002431820627313286], + [10, 0.0000015612324035796377], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.5508476111642319], + [0.0002, 0.5508472831188373], + [0.0004, 0.5507987853712515], + [0.0006, 0.5505066038065141], + [0.0008, 0.5495881207143716], + [0.001, 0.5470735565632041], + [0.002, 0.5237879826114071], + [0.004, 0.48489394669883024], + [0.006, 0.43929508759429736], + [0.008, 0.3981122875791737], + [0.01, 0.3616769253206311], + [0.02, 0.2342031400805198], + [0.04, 0.11975771991300521], + [0.06, 0.07391980573109036], + [0.08, 0.05097934297341311], + [0.1, 0.03769976226678162], + [0.2, 0.013612390576231537], + [0.3, 0.0068809271223271296], + [0.4, 0.003962102304908677], + [0.5, 0.0024505180009778416], + [0.6, 0.0015850512105808345], + [0.7, 0.0010624520881709065], + [0.8, 0.0007276231523613008], + [0.9, 0.0005084382444744406], + [1, 0.00036217242559222207], + [1.2, 0.00019273716771506244], + [1.4, 0.00010872756868007816], + [1.6, 0.00006395475994147581], + [1.8, 0.00003896146215531804], + [2, 0.000024502606452037057], + [2.2, 0.00001569892464603484], + [2.4, 0.000010242399633653143], + [2.6, 0.000006860789155460623], + [2.8, 0.0000046882523186964065], + [3, 0.0000032135949326050905], + [3.5, 0.000001325066210533521], + [4, 5.342383384565608e-7], + [4.5, 2.175665595460785e-7], + [5, 9.132140010859047e-8], + [6, 1.0626180269035501e-8], + [7, 7.285827496872344e-11], + [8, 2.5831559113953517e-12], + [9, 7.334133300673784e-13], + [10, 7.334133300673784e-13], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.7004877709365895], + [0.0002, 0.7004877394486364], + [0.0004, 0.7004794923937316], + [0.0006, 0.7002321797949567], + [0.0008, 0.6994846261993801], + [0.001, 0.698679845264764], + [0.002, 0.6893234318585744], + [0.004, 0.6493914037072535], + [0.006, 0.6064638075374219], + [0.008, 0.5659363123236882], + [0.01, 0.527796110761078], + [0.02, 0.3842359682212444], + [0.04, 0.23489629810408486], + [0.06, 0.16187775802616045], + [0.08, 0.11996220067350616], + [0.1, 0.09330889384538132], + [0.2, 0.0395282683670215], + [0.3, 0.02311832806129488], + [0.4, 0.015533982238787325], + [0.5, 0.011289175100063886], + [0.6, 0.008556061971099482], + [0.7, 0.00666687644810704], + [0.8, 0.005269938325912715], + [0.9, 0.004230753189383152], + [1, 0.0034060687957339075], + [1.2, 0.002274670540882373], + [1.4, 0.0015596338779230168], + [1.6, 0.0010978490363232618], + [1.8, 0.0007881855361201451], + [2, 0.0005749331709483663], + [2.2, 0.0004274313161132248], + [2.4, 0.0003230039272410501], + [2.6, 0.00024687058697248077], + [2.8, 0.00019131237700620307], + [3, 0.00014974560072378296], + [3.5, 0.00008554130687221662], + [4, 0.00004900372276972487], + [4.5, 0.00003158114499657305], + [5, 0.00002134755173799352], + [6, 0.000010744988509392428], + [7, 0.000004535790827486785], + [8, 0.000001966628624394673], + [9, 8.417826190543209e-7], + [10, 3.5246935603527874e-7], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + }, + '400m/s SA(0.2) Wellington ': { + mean: { + data: [ + [0.0001, 0.6271678146997274], + [0.0002, 0.6271677142742145], + [0.0004, 0.6271640022663891], + [0.0006, 0.6271443980566402], + [0.0008, 0.6270920025172347], + [0.001, 0.6269909505191225], + [0.002, 0.6254165961302274], + [0.004, 0.6164183546686237], + [0.006, 0.6018997390933628], + [0.008, 0.5846148350307324], + [0.01, 0.5662152124077804], + [0.02, 0.4777639618209093], + [0.04, 0.34902652922845334], + [0.06, 0.2667418545066732], + [0.08, 0.21125790517361476], + [0.1, 0.17204863975979157], + [0.2, 0.08035408699463265], + [0.3, 0.04797283710011491], + [0.4, 0.032468323105555696], + [0.5, 0.023674869293649703], + [0.6, 0.018123336979769866], + [0.7, 0.014351840343967415], + [0.8, 0.011650636078302634], + [0.9, 0.009637944982554547], + [1, 0.008091822007163296], + [1.2, 0.005898914826576229], + [1.4, 0.004445511748008002], + [1.6, 0.003432746581899737], + [1.8, 0.0027008879178623824], + [2, 0.002157236718352995], + [2.2, 0.0017445442057810734], + [2.4, 0.0014257223919416084], + [2.6, 0.0011758123786558272], + [2.8, 0.000977489980295121], + [3, 0.0008184271953338706], + [3.5, 0.0005392718134710206], + [4, 0.0003670030242420852], + [4.5, 0.0002565694722874712], + [5, 0.0001835367580723668], + [6, 0.00009951655344420107], + [7, 0.000057511373395158216], + [8, 0.00003500465329953073], + [9, 0.000022249526945294917], + [10, 0.000014671411954991775], + ], + strokeColor: '#0c3383', + strokeDashArray: '4,5', + }, + lower2: { + data: [ + [0.0001, 0.5231180757188494], + [0.0002, 0.5231180259619794], + [0.0004, 0.5231123453859927], + [0.0006, 0.5230867307363296], + [0.0008, 0.5230248079725701], + [0.001, 0.522879300419536], + [0.002, 0.5188798489600042], + [0.004, 0.507032704587888], + [0.006, 0.49646520777763103], + [0.008, 0.47810498210260777], + [0.01, 0.45947252890524215], + [0.02, 0.37560572031268047], + [0.04, 0.25481232530302333], + [0.06, 0.18162577160097138], + [0.08, 0.1360875202756926], + [0.1, 0.10573379068310329], + [0.2, 0.04248644531508483], + [0.3, 0.02326953802716647], + [0.4, 0.01475697062581982], + [0.5, 0.01012655919675376], + [0.6, 0.0072773066503348804], + [0.7, 0.005395122368298644], + [0.8, 0.0040995917553358074], + [0.9, 0.0031725049750754852], + [1, 0.0024952714823719413], + [1.2, 0.0015972918669934222], + [1.4, 0.0010599488037927873], + [1.6, 0.0007236439336992806], + [1.8, 0.0005043145237646485], + [2, 0.00035735142138715315], + [2.2, 0.00025770481320586125], + [2.4, 0.00018875804754792114], + [2.6, 0.00013999415637389045], + [2.8, 0.00010512084495062357], + [3, 0.00007978740884229119], + [3.5, 0.00004166871061617172], + [4, 0.00002284360957471865], + [4.5, 0.000013076942031453598], + [5, 0.000007644308627541285], + [6, 0.0000027407402444223905], + [7, 0.000001051639461291387], + [8, 3.9789976291615403e-7], + [9, 1.376580915923853e-7], + [10, 3.210909804707285e-8], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper2: { + data: [ + [0.0001, 0.7248532599188757], + [0.0002, 0.7248532599188757], + [0.0004, 0.7248528712374525], + [0.0006, 0.7248472190126694], + [0.0008, 0.7248203251647835], + [0.001, 0.7247026968633081], + [0.002, 0.7234935311434934], + [0.004, 0.7138772530162725], + [0.006, 0.6960868942682481], + [0.008, 0.6795410031825324], + [0.01, 0.6632224436440062], + [0.02, 0.5771683183485984], + [0.04, 0.4417394710296786], + [0.06, 0.35097266750828304], + [0.08, 0.28728685098487394], + [0.1, 0.24066562938089686], + [0.2, 0.12314638043018145], + [0.3, 0.07717323061323944], + [0.4, 0.054053334795723385], + [0.5, 0.04063672395518958], + [0.6, 0.03213969711689024], + [0.7, 0.02629802787907387], + [0.8, 0.022064055402492122], + [0.9, 0.01882163568096462], + [1, 0.01623888241713911], + [1.2, 0.01247687967274358], + [1.4, 0.009874025307264778], + [1.6, 0.007954934665347912], + [1.8, 0.0065273489209859425], + [2, 0.005434612287384621], + [2.2, 0.004552044667431754], + [2.4, 0.0038302648574828346], + [2.6, 0.003196646688565785], + [2.8, 0.002683533547753525], + [3, 0.0022705755163071606], + [3.5, 0.001541368638113716], + [4, 0.0010812649666320784], + [4.5, 0.0007777432575258869], + [5, 0.0005699866558335209], + [6, 0.0003274933854759965], + [7, 0.0002048150330619114], + [8, 0.00013418554992628007], + [9, 0.00009296875900954849], + [10, 0.00006642179911264812], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + lower1: { + data: [ + [0.0001, 0.5508476111642319], + [0.0002, 0.5508476111642319], + [0.0004, 0.5508473457661378], + [0.0006, 0.5508433136227391], + [0.0008, 0.5508146610501392], + [0.001, 0.5506662241796914], + [0.002, 0.5485232851957855], + [0.004, 0.5310122599238649], + [0.006, 0.5160436582381678], + [0.008, 0.49999613900903694], + [0.01, 0.4814141511688168], + [0.02, 0.39528644592058837], + [0.04, 0.2735073473622409], + [0.06, 0.19837903548684532], + [0.08, 0.15036332471285885], + [0.1, 0.11802888952141966], + [0.2, 0.04922655502355344], + [0.3, 0.027554214096817686], + [0.4, 0.017677081569640207], + [0.5, 0.012254240294728214], + [0.6, 0.008914242101410896], + [0.7, 0.006704033652593866], + [0.8, 0.005169082256985091], + [0.9, 0.004054840393964643], + [1, 0.0032232332902687455], + [1.2, 0.0021087073099879117], + [1.4, 0.0014302003131836383], + [1.6, 0.0009971042197591817], + [1.8, 0.0007121818016100345], + [2, 0.0005181075677131997], + [2.2, 0.00038400402966942693], + [2.4, 0.00028826621592326074], + [2.6, 0.00021877516698987076], + [2.8, 0.0001671797030092792], + [3, 0.0001289709523789595], + [3.5, 0.00006980348332641384], + [4, 0.000039481864889334695], + [4.5, 0.000023259416777943187], + [5, 0.000014120019299235231], + [6, 0.0000054136345865041235], + [7, 0.0000021747493692547692], + [8, 8.896089018772813e-7], + [9, 3.331188336286317e-7], + [10, 9.64736650566067e-8], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.0001, 0.7004877709365895], + [0.0002, 0.7004877709365895], + [0.0004, 0.7004877709365895], + [0.0006, 0.7004871243432589], + [0.0008, 0.7004781130304855], + [0.001, 0.7004508288244962], + [0.002, 0.699078135414744], + [0.004, 0.6926608992608263], + [0.006, 0.6788419579307368], + [0.008, 0.661336458476271], + [0.01, 0.6425056428172309], + [0.02, 0.5551857528524636], + [0.04, 0.42088875224887734], + [0.06, 0.3320562654148609], + [0.08, 0.27028978165888284], + [0.1, 0.22527599545720522], + [0.2, 0.11325336225867833], + [0.3, 0.07025364389718292], + [0.4, 0.04883924960159913], + [0.5, 0.03644919885497777], + [0.6, 0.028517624164859257], + [0.7, 0.02304267693144091], + [0.8, 0.01907132830884839], + [0.9, 0.01609185064148444], + [1, 0.013770874081661333], + [1.2, 0.010455043933106367], + [1.4, 0.008171486350751711], + [1.6, 0.006483491713307421], + [1.8, 0.005216836124627866], + [2, 0.004246889151417466], + [2.2, 0.0034856761629044053], + [2.4, 0.002886324192188816], + [2.6, 0.0024108625048149257], + [2.8, 0.002026079457091212], + [3, 0.0017128836794693125], + [3.5, 0.0011501735055617912], + [4, 0.0008002652822376444], + [4.5, 0.0005717591917157039], + [5, 0.0004151991576725189], + [6, 0.00024092128840325078], + [7, 0.0001573857524744815], + [8, 0.0001112302354503436], + [9, 0.00008132153325468572], + [10, 0.00005647937458053143], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + }, +}; + +export const newSaData = { + '400m/s Te Anau': { + upper2: { + data: [ + [0.04, 0.8855735510473123], + [0.1, 1.720389355067823], + [0.2, 2.1407929784342197], + [0.3, 1.7960182160809577], + [0.4, 1.5838680786408994], + [0.5, 1.4484095534516395], + [0.7, 1.1397478520790598], + [1, 0.9169758499763458], + [1.5, 0.6250893702102456], + [2, 0.49488920145042237], + [3, 0.29000751858940343], + [4, 0.2078133664627068], + [5, 0.1391336430400552], + [6, 0.10014078433201128], + [7.5, 0.06965249806906575], + [10, 0.04592873959387585], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.04, 0.7349497882926452], + [0.1, 1.3849945952964327], + [0.2, 1.6918490916292626], + [0.3, 1.6294166490030646], + [0.4, 1.439177350884784], + [0.5, 1.2770287849724418], + [0.7, 1.0518409808430722], + [1, 0.7930986985715232], + [1.5, 0.5137719070650542], + [2, 0.3948779788674024], + [3, 0.22887440892336158], + [4, 0.16160132282927242], + [5, 0.11361415896125564], + [6, 0.08621659259289507], + [7.5, 0.06213045130201139], + [10, 0.038876970440947255], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + mean: { + data: [ + [0.04, 0.5345026448686042], + [0.1, 1.006318262499541], + [0.2, 1.2425724409971821], + [0.3, 1.1885281599693776], + [0.4, 1.0713611503292413], + [0.5, 0.9625755043956674], + [0.7, 0.7734220838973226], + [1, 0.5839395207891102], + [1.5, 0.3736523750670748], + [2, 0.27175638332376667], + [3, 0.15380175100446714], + [4, 0.10765004493212978], + [5, 0.07661104041367087], + [6, 0.05652262001953828], + [7.5, 0.03964082063385038], + [10, 0.024505950707592265], + ], + strokeColor: '#f2d338', + }, + lower1: { + data: [ + [0.04, 0.31014406356417884], + [0.1, 0.5774718758149426], + [0.2, 0.7219284827696852], + [0.3, 0.7145159118534911], + [0.4, 0.6540190233447835], + [0.5, 0.5901331266294789], + [0.7, 0.46959761276464623], + [1, 0.345056056874488], + [1.5, 0.21545057313924904], + [2, 0.1471818135611399], + [3, 0.08513774140584304], + [4, 0.056403739592478394], + [5, 0.03969171130927411], + [6, 0.027977811186835497], + [7.5, 0.019530004071318798], + [10, 0.011469308421869212], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + lower2: { + data: [ + [0.04, 0.27632853842685345], + [0.1, 0.5158840275768808], + [0.2, 0.6430916747872477], + [0.3, 0.6410601066846958], + [0.4, 0.591654045295865], + [0.5, 0.5322609554011704], + [0.7, 0.4241457477131927], + [1, 0.30885096422655917], + [1.5, 0.19157708214074412], + [2, 0.13031478418008594], + [3, 0.07488345941728236], + [4, 0.04870158761204141], + [5, 0.03348043535451035], + [6, 0.024274750256704274], + [7.5, 0.01641042843449146], + [10, 0.010011864489238884], + ], + strokeColor: '#f2d338', + strokeOpacity: 0.5, + }, + }, + '400m/s Wellington': { + upper2: { + data: [ + [0.04, 1.4125649464199], + [0.1, 2.5140670305270056], + [0.2, 3.0904803198933006], + [0.3, 2.9398478346946315], + [0.4, 2.6279078716199287], + [0.5, 2.3865710167621947], + [0.7, 1.901485214909174], + [1, 1.4760415286784823], + [1.5, 0.9616049366613129], + [2, 0.7310467773967161], + [3, 0.42187019747454624], + [4, 0.29414407788595703], + [5, 0.20492223425372125], + [6, 0.14425788372484222], + [7.5, 0.09960554229911582], + [10, 0.06325458871033639], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + upper1: { + data: [ + [0.04, 1.2380746734757742], + [0.1, 2.2496451191750957], + [0.2, 2.75353607510941], + [0.3, 2.659974786854728], + [0.4, 2.420016419695187], + [0.5, 2.163635825061531], + [0.7, 1.737855747303903], + [1, 1.291608233150155], + [1.5, 0.8173777619913168], + [2, 0.6072975357713809], + [3, 0.3485680289889862], + [4, 0.24169268934138627], + [5, 0.1650918481376684], + [6, 0.1201564544222268], + [7.5, 0.08610399512365491], + [10, 0.052434603043510844], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + mean: { + data: [ + [0.04, 0.8957935326920364], + [0.1, 1.624034081437879], + [0.2, 2.0211750088002676], + [0.3, 1.964309649569773], + [0.4, 1.7957560128883039], + [0.5, 1.6134898999005842], + [0.7, 1.280794130292017], + [1, 0.9451541427138056], + [1.5, 0.5890146740253265], + [2, 0.4206206450858724], + [3, 0.23693775865397745], + [4, 0.15927073495396188], + [5, 0.1118286787827911], + [6, 0.08249872605031001], + [7.5, 0.056345047679218815], + [10, 0.034504756412469105], + ], + strokeColor: '#0c3383', + }, + lower1: { + data: [ + [0.04, 0.5325997165542142], + [0.1, 0.9412628514271774], + [0.2, 1.2003383945645396], + [0.3, 1.2155891317927], + [0.4, 1.1326521748746143], + [0.5, 1.024061637756949], + [0.7, 0.8164070447746248], + [1, 0.5934745442590628], + [1.5, 0.35724717775097936], + [2, 0.24325647529484756], + [3, 0.13113747034106105], + [4, 0.0881830418915675], + [5, 0.061011927035481826], + [6, 0.04378169708833929], + [7.5, 0.028483043962804606], + [10, 0.016984409655567047], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + lower2: { + data: [ + [0.04, 0.47501573299643723], + [0.1, 0.8387308845909235], + [0.2, 1.0715280067860304], + [0.3, 1.0917217444860876], + [0.4, 1.0217974883500147], + [0.5, 0.9235962669179212], + [0.7, 0.7328723601320616], + [1, 0.5311795469111733], + [1.5, 0.32071757850580707], + [2, 0.21773734618643587], + [3, 0.11711091445187938], + [4, 0.07770513774403447], + [5, 0.0528135390731816], + [6, 0.03777410382717481], + [7.5, 0.024423440587658482], + [10, 0.014251413396858037], + ], + strokeColor: '#0c3383', + strokeOpacity: 0.5, + }, + }, +};