<div dir="ltr"><div dir="ltr"><b>Cloudfrac</b> is calculated by WRF code inside the <b>wrf_user_getvar</b> function.  For best information about this, please contact the WRF help forum at <a href="https://forum.mmm.ucar.edu/forums/wrf-python-and-ncl.130">https://forum.mmm.ucar.edu/forums/wrf-python-and-ncl.130</a>.</div><div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Mar 12, 2025 at 4:40 AM Zilore Mumba via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div>I am trying to retrieve cloudfrac every hour from wrfout files at specific locations.</div><div>The command I use is <br></div><div>cld = wrf_user_getvar(a,"cfrac",-1)<br> Lowcl = cld(:,2,idxlat,idxlon)<br> Medcl = cld(:,3,idxlat,idxlon)</div><div><br></div><div>where idxlat,idxlon have been defined as</div><div>xlat=a[:]->XLAT(0,:,:)<br>xlon=a[:]->XLONG(0,:,:)<br> idxlat=closest_val(lat, xlat(:,0))<br> idxlon=closest_val(lon, xlon(0,:))</div><div> </div><div>When I print  Lowcl,  Medcl <br></div><div>I only get three values at the hours 00, 01 and 02 from files going to 144 hours. I was expecting a value every hour.</div><div>How is cloudfrac calculated, or what am I doing wrong?</div></div>
</blockquote></div></div>