<div dir="ltr"><div>Hi. I'm trying to make an NCL script for calculating in a map values of SCP (Supercell Composite Parameter). The definition of this parameter is: <br></div><div>SCP=  (MUCAPE/1000 ) *(BS eff /20 )* (SRH eff /50 ) * (-40/MUCIN), <br></div><div>where BSeff is the Bulk Shear effective and SRH effective Storm relative Shear. <br></div><div><br></div><div>With wrf_user_getvar I can obtain values of MUCAPE, MUCIN and SRH (with some calculations of u and v) but I don't know how to calculate BS.</div><div><br></div><div>Another problem is that there are some values that requires conditionals:</div><div>if BS>20 --> BS = 20</div><div>if BS < 10 --> BS = 0</div><div>if MUCIN > -40 --> MUCIN  =  -40.</div><div><br></div><div>But there are values that change between different points on the map, so I don't know how to do this conditionals for each point of the map. I mean, I can't do: if MUCIN > -40: MUCIN = -40, because this is for all points of the map. So, do you know how to do that??? <br></div><div><br></div><div>Than you.<br></div><div><br></div><div><br></div></div>