<div dir="ltr">Please try taking SWDOWN by itself.<div><br></div><div>If you need direct normal then write again.</div><div><br></div><div>Barry</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 24, 2019 at 2:15 PM Komal Shukla <<a href="mailto:komalshukla1992@gmail.com">komalshukla1992@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear NCL team,<div><br></div><div>I am trying to extract solar radiaion (w/m2) from my wrf  outputs, and compare it with ground observation.</div><div><br></div><div>





<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures">SWDOWN = wrf_user_getvar(aa,"SWDOWN", -1 )<span class="gmail-m_3663593005272812980gmail-Apple-converted-space">      </span>; 3D tc</span></p><p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">GLW = wrf_user_getvar(aa,"GLW", -1 )</span><span class="gmail-m_3663593005272812980gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures">      </span><span style="font-variant-ligatures:no-common-ligatures">; 3D tc</span><br></p><div><div dir="ltr" class="gmail-m_3663593005272812980gmail_signature"><div dir="ltr"><div>I am taking total of swdown and glw and comparing it with ground obs.</div><div>The total(GLW+SWDOWN = around 1000 w/m2 in summer noon) is way high than the actual observation (around 340 w/m2 in summer noon).</div><div><br></div><div>My ncl script is </div><div>





<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures">rh2 = wrf_user_getvar(aa,"SWDOWN", -1 )<span class="gmail-m_3663593005272812980gmail-Apple-converted-space">      </span>; 3D tc</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space"> </span>rh2_day=new(24,float)</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space"> </span>rh2_dd=new((/numFILES,24/),float)</span></p>
<p class="gmail-m_3663593005272812980gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures">rh2_day_ist=new(24,float) ; f</span><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space"> </span></span><span style="font-variant-ligatures:no-common-ligatures">rh2_t=rh2(:,Y1,X1)</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space">  </span>print(rh2_t)</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures">asciiwrite("rh_pb_720", rh2_t)</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space">  </span>do id=0,(numFILES-1)</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space">  </span>do ih=0,23</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space">      </span>idh=ih+id*24</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space">      </span>rh2_dd(id,ih)=rh2_t(idh)</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space">  </span>end do</span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space">  </span>end do</span></p>
<p class="gmail-m_3663593005272812980gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures">rh2_day_m=dim_avg_n(rh2_dd,0)</span><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span></p><p class="gmail-m_3663593005272812980gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span></p>
<p class="gmail-m_3663593005272812980gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-m_3663593005272812980gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_3663593005272812980gmail-Apple-converted-space">      </span></span></p></div><div>Is there some other way to calculate surface solar radiation?</div><div>I'd appreciate any help.</div><div><br></div><div>Kim<br></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div>