Create variable pacctmb

Process Step

Description Compute target variable ‘pacctmb’ based on variables ‘pacctm’, ‘region_id’ and ‘date’.Calculate accumulated precipitation averages for each calendar month for each region over the baseline period 1991 to 2020.

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 pacctmb\n(current process step)" tooltip=" " ]; # input parameter 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" ]; parameter_3a864b8d_84b5_446a_94ce_833f234ab1c9 [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/f508c569-611b-4fef-be64-d9cb3fa41004" target="_blank" label=<<i>Variable pacctcm:</i><br/>Total precipitation,<br/>calendar month> tooltip="Input parameter for current process step" fillcolor="#ffe119" ]; parameter_3a864b8d_84b5_446a_94ce_833f234ab1c9:e -> Step:w [ minlen="2" ]; # previous step step_f047699d_0c01_4289_89fd_bf8d01efb9b0 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable pacctcm" URL="../step_f047699d-0c01-4289-89fd-bf8d01efb9b0.html" target="_parent" tooltip="Previous process step:\nCompute target variable 'pacctcm' based on variables 'paccta', 'date' and 'region_id'. Calculate 'pacctcm' as an average of total precipitation date values for the calendar month." ]; step_f047699d_0c01_4289_89fd_bf8d01efb9b0:e -> parameter_3a864b8d_84b5_446a_94ce_833f234ab1c9:w [ minlen="2" ]; # output parameter parameter_36e523f4_53b9_4cde_96c2_947a9e4c0e2a [ shape="rect" style="filled" width="2" height="0.1" fontcolor="blue" fontsize="10pt" URL="https://ess-search.nsd.no/en/variable/e61d2a62-9756-4a4e-b346-d09c38c6d58e" target="_blank" label=<<i>Variable pacctmb:</i><br/>Total precipitation,<br/>multi-year calendar month<br/>averages, baseline 1991 -<br/>2020> tooltip="Output parameter for current process step" fillcolor="#dcbeff" ]; Step:e -> parameter_36e523f4_53b9_4cde_96c2_947a9e4c0e2a:w [ minlen="2" ]; # following step step_e2decc61_8a29_49eb_96fc_c255b48598b0 [ shape="rect" style="filled, rounded" width="2" height="0.075" fontcolor="white" fillcolor="#4363d8" fontsize="10pt" label="Create variable paccdcm" URL="../step_e2decc61-8a29-49eb-96fc-c255b48598b0.html" target="_parent" tooltip="Following process step:\nCompute target variable 'paccdcm' based on variables 'pacctcm', 'pacctmb', 'region_id' and 'date'.Compute variable for calendar month precipitation anomaly for each region as (current month/norml)*100. Using variables: (pacctcm/pacctmb)* 100" ]; parameter_36e523f4_53b9_4cde_96c2_947a9e4c0e2a:e -> step_e2decc61_8a29_49eb_96fc_c255b48598b0: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" ]; }