Create variable aqiw2d

Process Step

Description Compute target variable ‘aqiw2d ‘ based on ‘aqiw2dpm10’; ‘aqiw2dpm2_5’; ‘aqiw2dso2’; ‘aqiwdno2’; ‘aqiw2do3’, ‘region’ and ‘date’. The maximum value across the source variables 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 aqiw2d\n(current process step)" tooltip=" " ]; # input parameter parameter_7d6e0e95_572c_40a5_82e4_bc51a2a68c77 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/c9ae5e2b-376b-436d-abd8-f86879f8dc45" target="_blank" label=<<i>Variable date:</i><br/>Date> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_7d6e0e95_572c_40a5_82e4_bc51a2a68c77:e -> Step:w [ minlen="2" ]; # previous step step_70b92d2b_cc0a_44a7_9b1b_1e84084f4c50 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable date" URL="../step_70b92d2b-cc0a-44a7-9b1b-1e84084f4c50.html" target="_parent" tooltip="Previous process step:\nUse variables 'DatetimeBegin' and 'DatetimeEnd' to create variable 'date'." ]; step_70b92d2b_cc0a_44a7_9b1b_1e84084f4c50:e -> parameter_7d6e0e95_572c_40a5_82e4_bc51a2a68c77:w [ minlen="2" ]; parameter_87419b24_5963_48e7_8db9_0c6edf44bce6 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/99d07034-b859-4c28-801e-6accb5e9f9da" target="_blank" label=<<i>Variable region:</i><br/>Region> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_87419b24_5963_48e7_8db9_0c6edf44bce6:e -> Step:w [ minlen="2" ]; parameter_0f79a5f7_d011_441b_a6fe_5c8a34e7bc3e [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/ca2e01fc-c818-4ad4-9426-2fc9f6922b72" target="_blank" label=<<i>Variable aqiw2dpm10:</i><br/>Worst air quality index<br/>level PM10, last two days> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_0f79a5f7_d011_441b_a6fe_5c8a34e7bc3e:e -> Step:w [ minlen="2" ]; # previous step step_1b3b0f21_2c18_4edc_82f2_58e50b0e40c9 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable aqiw2dpm10" URL="../step_1b3b0f21-2c18-4edc-82f2-58e50b0e40c9.html" target="_parent" tooltip="Previous process step:\nCompute target variable 'aqiw2dpm10' based on 'aqiwdpm10' 'region' and 'date'. The worst value for the pollutant across a date and the date before becomes the value of the target variable" ]; step_1b3b0f21_2c18_4edc_82f2_58e50b0e40c9:e -> parameter_0f79a5f7_d011_441b_a6fe_5c8a34e7bc3e:w [ minlen="2" ]; parameter_1198b158_2a18_44b6_b6b3_739f7f7f53a4 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/e242aed0-7aba-4f61-a7d9-d06ae07f469d" target="_blank" label=<<i>Variable aqiw2dpm2_5:</i><br/>Worst air quality index<br/>level PM2.5, last two days> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_1198b158_2a18_44b6_b6b3_739f7f7f53a4:e -> Step:w [ minlen="2" ]; # previous step step_e21b1e54_18a0_4296_af9d_0b0eb9762cc7 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable aqiw2dpm2_5" URL="../step_e21b1e54-18a0-4296-af9d-0b0eb9762cc7.html" target="_parent" tooltip="Previous process step:\nCompute target variable 'aqiw2dpm2_5' based on 'aqiwdpm2_5', 'region' and 'date'. The worst value for the pollutant across a date and the date before becomes the value of the target variable" ]; step_e21b1e54_18a0_4296_af9d_0b0eb9762cc7:e -> parameter_1198b158_2a18_44b6_b6b3_739f7f7f53a4:w [ minlen="2" ]; parameter_3e5a1e7a_0c99_40f3_a8e2_935fbaa3be42 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/08ed7ffc-37ee-447d-8b6f-b4d8a66fe73f" target="_blank" label=<<i>Variable aqiw2dso2:</i><br/>Worst air quality index<br/>level SO2, last two days> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_3e5a1e7a_0c99_40f3_a8e2_935fbaa3be42:e -> Step:w [ minlen="2" ]; # previous step step_74190ce2_23d5_4c2b_a9e3_5017f5a2b9e7 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable aqiw2dso2" URL="../step_74190ce2-23d5-4c2b-a9e3-5017f5a2b9e7.html" target="_parent" tooltip="Previous process step:\nCompute target variable 'aqiw2dso2' based on 'aqiwdso2', 'region' and 'date'. The worst value for the pollutant across a date and the date before becomes the value of the target variable" ]; step_74190ce2_23d5_4c2b_a9e3_5017f5a2b9e7:e -> parameter_3e5a1e7a_0c99_40f3_a8e2_935fbaa3be42:w [ minlen="2" ]; parameter_54b03ec0_08d3_449f_8a6b_2a51370d7c6f [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/99440d59-e468-4eb1-b46a-294afd20461d" target="_blank" label=<<i>Variable aqiw2dno2:</i><br/>Worst air quality index<br/>level NO2, last two days> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_54b03ec0_08d3_449f_8a6b_2a51370d7c6f:e -> Step:w [ minlen="2" ]; # previous step step_d8885706_02d6_4e0a_8a37_dc5732c0c79f [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable aqiw2dno2" URL="../step_d8885706-02d6-4e0a-8a37-dc5732c0c79f.html" target="_parent" tooltip="Previous process step:\nCompute target variable 'aqiw2dno2' based on 'aqiwdno2', 'region' and 'date'. The worst value for the pollutant across a date and the date before becomes the value of the target variable" ]; step_d8885706_02d6_4e0a_8a37_dc5732c0c79f:e -> parameter_54b03ec0_08d3_449f_8a6b_2a51370d7c6f:w [ minlen="2" ]; parameter_1726b265_7d4d_4e11_bf14_d6dd4e8a8fa1 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/36d4e8e3-55c5-4e16-852a-3091eaa0e1d4" target="_blank" label=<<i>Variable aqiw2do3:</i><br/>Worst air quality index<br/>level O3, last two days> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_1726b265_7d4d_4e11_bf14_d6dd4e8a8fa1:e -> Step:w [ minlen="2" ]; # previous step step_2b702183_45de_45d5_80a9_5ebc1be9fe1c [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable aqiw2do3" URL="../step_2b702183-45de-45d5-80a9-5ebc1be9fe1c.html" target="_parent" tooltip="Previous process step:\nCompute target variable 'aqiw2do3' based on 'aqiwdo3', 'region' and 'date'. The worst value for the pollutant across a date and the date before becomes the value of the target variable" ]; step_2b702183_45de_45d5_80a9_5ebc1be9fe1c:e -> parameter_1726b265_7d4d_4e11_bf14_d6dd4e8a8fa1:w [ minlen="2" ]; # output parameter parameter_4cddfb70_6f52_4844_8c1a_df5a27e0c8cd [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/c008ece0-d1b1-44fd-b3f0-087fb7af636a" target="_blank" label=<<i>Variable aqiw2d:</i><br/>Worst air quality index<br/>level across pollutants,<br/>last two days> tooltip="Output parameter for current process step" fillcolor="#dcbeff" ]; Step:e -> parameter_4cddfb70_6f52_4844_8c1a_df5a27e0c8cd: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" ]; }