Create variable iwg10mx

Process Step

Description Compute target variable ‘iwg10mx’ based on variables ‘iwg10’, ‘region_id’ and ‘date’. Calculate maximum wind gust value pr. date for each grid cell. The maximum wind gust value pr. date for a grid cell within the region becomes the value of the target variable.

This step uses a script written in Python3.


Diagram of the Process Step

digraph Diagram { graph [ stylesheet="../_static/custom.css" fontnames = "svg" # "... rock solid standards compliant SVG", see: https://graphviz.org/faq/font/#what-about-svg-fonts rankdir="LR" nodesep="0.15" tooltip=" " ]; node [ fontname="sans-serif" ]; Step [ shape="rect" style="filled, rounded" width="3" height="0.8" fontcolor="white" fillcolor="#4363d8" fontsize="13pt" label="Create variable iwg10mx\n(current process step)" tooltip=" " ]; # input parameter parameter_70e66b17_19d5_4a85_9b60_4c195fe5aaf2 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/530463d3-ac6e-439d-876f-dff966dac65c" target="_blank" label=<<i>Variable iwg10:</i><br/>Instantaneous 10 metre wind<br/>gust> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_70e66b17_19d5_4a85_9b60_4c195fe5aaf2:e -> Step:w [ minlen="2" ]; parameter_30f06f3d_2e0b_4066_8e89_618be51244ce [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/812c4035-6886-43aa-a18c-8d797390a8b4" target="_blank" label=<<i>Variable region_id:</i><br/>Nuts 2016 region code> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_30f06f3d_2e0b_4066_8e89_618be51244ce:e -> Step:w [ minlen="2" ]; parameter_a4c5a88e_5f12_4bb1_9be7_3f54c54ff4f6 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/0cae5306-79bf-4976-b25a-3f790aa312be" target="_blank" label=<<i>Variable date:</i><br/>Date> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_a4c5a88e_5f12_4bb1_9be7_3f54c54ff4f6:e -> Step:w [ minlen="2" ]; # previous step step_4fd913d0_c3b2_4e95_8a3b_90a5d34a56d3 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable date" URL="../step_4fd913d0-c3b2-4e95-8a3b-90a5d34a56d3.html" target="_parent" tooltip="Previous process step:\nCompute target variable 'date' based on variable 'time' and 'region' to convert from UTC to local time zones" ]; step_4fd913d0_c3b2_4e95_8a3b_90a5d34a56d3:e -> parameter_a4c5a88e_5f12_4bb1_9be7_3f54c54ff4f6:w [ minlen="2" ]; # output parameter parameter_46b4db67_47e9_4db4_81f7_51a7740b9d97 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/11ec4397-ffed-4a96-a951-8e176a066d80" target="_blank" label=<<i>Variable iwg10mx:</i><br/>Instantaneous 10 metre<br/>maximum wind gust maximum,<br/>date> tooltip="Output parameter for current process step" fillcolor="#dcbeff" ]; Step:e -> parameter_46b4db67_47e9_4db4_81f7_51a7740b9d97:w [ minlen="2" ]; # following step step_c06776b1_81ea_4e7a_bc3b_b168a98b4984 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable iwg10mxaw" URL="../step_c06776b1-81ea-4e7a-bc3b-b168a98b4984.html" target="_parent" tooltip="Following process step:\nCompute target variable 'iwg10mxaw' based on variables 'iwg10mx', 'region_id' and 'date'. Calculate the average maximum wind gust value for the week (seven days) before the date, date included, for each region." ]; parameter_46b4db67_47e9_4db4_81f7_51a7740b9d97:e -> step_c06776b1_81ea_4e7a_bc3b_b168a98b4984:w [ minlen="2" ]; # following step step_0c31e2ac_b408_4b4f_80e5_8e2e813ce25c [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable iwg10mxam" URL="../step_0c31e2ac-b408-4b4f-80e5-8e2e813ce25c.html" target="_parent" tooltip="Following process step:\nCompute target variable 'iwg10mxam' based on variables 'iwg10mx', 'region_id' and 'date'. Calculate the average maximum wind gust value for the month (thirty days) before the date, date included, for each region." ]; parameter_46b4db67_47e9_4db4_81f7_51a7740b9d97:e -> step_0c31e2ac_b408_4b4f_80e5_8e2e813ce25c:w [ minlen="2" ]; # following step step_52dcbefa_0633_44da_8cc2_ee42b535f3fd [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable iwg10mxa3m" URL="../step_52dcbefa-0633-44da-8cc2-ee42b535f3fd.html" target="_parent" tooltip="Following process step:\nCompute target variable 'iwg10mxa3m' based on variables 'iwg10mx', 'region_id' and 'date'. Calculate the average maximum wind gust value for the three months (ninty days) before the date, date included, for each region." ]; parameter_46b4db67_47e9_4db4_81f7_51a7740b9d97:e -> step_52dcbefa_0633_44da_8cc2_ee42b535f3fd:w [ minlen="2" ]; # following step step_91e18b23_0e5e_42f5_9231_238c22f40274 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable iwg10mxay" URL="../step_91e18b23-0e5e-42f5-9231-238c22f40274.html" target="_parent" tooltip="Following process step:\nCompute target variable 'iwg10mxay' based on variables 'iwg10mx', 'region_id' and 'date'. Calculate the average maximum wind gust value for the year (three hundred and sixty five days) before the date, date included, for each region." ]; parameter_46b4db67_47e9_4db4_81f7_51a7740b9d97:e -> step_91e18b23_0e5e_42f5_9231_238c22f40274:w [ minlen="2" ]; # following step step_7b9e29e4_4a25_496d_9f28_8dca7c3e94d2 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable iwg10mxamb" URL="../step_7b9e29e4-4a25-496d-9f28-8dca7c3e94d2.html" target="_parent" tooltip="Following process step:\nCompute target variable 'iwg10mxamb' based on variables 'iwg10mx', 'region_id' and 'date'. Calculate the average maximum wind gust for each calendar month for each region, across the baseline period 1991 - 2020." ]; parameter_46b4db67_47e9_4db4_81f7_51a7740b9d97:e -> step_7b9e29e4_4a25_496d_9f28_8dca7c3e94d2:w [ minlen="2" ]; }


Hint

Move the mouse cursor over a parameter to see more information. Click on a parameter or a related step to go to the corresponding page.

Legend:

digraph Diagram { graph [ stylesheet="../_static/custom.css" fontnames = "svg" # "... rock solid standards compliant SVG", see: https://graphviz.org/faq/font/#what-about-svg-fonts rankdir="LR" bgcolor="#eeeeee" size="5,10!" nodesep=0.15 tooltip=" " ]; node [ fontname="sans-serif" ]; Step [ width="3" label="Process step" tooltip=" " shape="rect" style="filled, rounded" fontcolor="white" fillcolor="#4363d8" ]; # input parameter InputParameter [ shape="rect" width="2" height="0.1" style="filled" label="Input parameter" tooltip=" " fillcolor="#ffe119" ]; InputParameter -> Step [ label="used by" ]; OutputParameter [ shape="rect" width="2" height="0.1" style="filled" label="Output parameter" tooltip=" " fillcolor="#dcbeff" ]; Step -> OutputParameter [ label="produces" ]; }