[Wrf-users] Temp Advection in NCL, computation of gradients a problem

Ryan Connelly rconne01 at gmail.com
Thu Apr 21 15:09:19 MDT 2016


Hi fellow WRFers,

Does anyone have a sample script for calculating temperature advections in
NCL?  (Note that I'm stuck using V6.1.2, so the NCL function
advect_variable can't
be used.  Regardless, it only runs on globally gridded data, which this is
not.)

I'm trying to just hard code it like, temp_adv = u_plane*dTdx + v_plane*dTdy
where u_plane and v_plane are declared using the wrf_user_intrp3d function.

The problem I've run into is the calculation of the gradient variables dTdx
and dTdy.  Using NCL's center_difference_n function produces numbers,
though unrealistic, and the script ultimately crashes on wrf_contour by
hanging up but not throwing any error.

I've already posted to the ncl-talk list serv, where it was suggested that
I try this list instead.

Thanks,
Ryan

-- 
Ryan Connelly
M.S. Student in Atmospheric Sciences, Stony Brook University
B.S. in Meteorology with Minors in Mathematics and GIS, Valparaiso
University
rconne01 at gmail.com
ryan.connelly at stonybrook.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20160421/d1cfa4bb/attachment.html 


More information about the Wrf-users mailing list