[ncl-talk] Only 3 hours of cloudfrac retreived
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Wed Mar 12 07:54:08 MDT 2025
*Cloudfrac* is calculated by WRF code inside the *wrf_user_getvar*
function. For best information about this, please contact the WRF help
forum at https://forum.mmm.ucar.edu/forums/wrf-python-and-ncl.130.
On Wed, Mar 12, 2025 at 4:40 AM Zilore Mumba via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Hello,
> I am trying to retrieve cloudfrac every hour from wrfout files at specific
> locations.
> The command I use is
> cld = wrf_user_getvar(a,"cfrac",-1)
> Lowcl = cld(:,2,idxlat,idxlon)
> Medcl = cld(:,3,idxlat,idxlon)
>
> where idxlat,idxlon have been defined as
> xlat=a[:]->XLAT(0,:,:)
> xlon=a[:]->XLONG(0,:,:)
> idxlat=closest_val(lat, xlat(:,0))
> idxlon=closest_val(lon, xlon(0,:))
>
> When I print Lowcl, Medcl
> 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.
> How is cloudfrac calculated, or what am I doing wrong?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20250312/d3614fc6/attachment.htm>
More information about the ncl-talk
mailing list