<div dir="ltr">Hi Ananya,<div><br></div><div>While this may be different for LES runs, I&#39;m pretty sure that the HFX variable is still going to be the upward heat flux at the surface, which is a 2D variable.  In order to do any vertical interpolation, you would need a three dimensional heat flux variable.  You&#39;re trying to use a one-dimensional interpolation routine, which is really meant for one vertical column in a three-dimensional variable.  If you had a 3D heat flux variable, you would want to use wrf_interp_3d_z or wrf_user_intrp3d.  </div><div><br></div><div>However, since all you have is the 2D heat flux at the surface, I think you&#39;re going to have to resort to the radiation equations for calculating the 20 m, 30 m, and 100 m values.  Off the top of my head, I don&#39;t think NCL has anything built in to do this for you, so you&#39;ll probably have to implement this yourself.  It&#39;s been a long time since I took radiation, so if all this is new to you, start with the concept of &#39;optical depth&#39; and go from there.  Maybe others have better suggestions here.</div><div><br></div><div>Bill</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 1:51 AM, ananya sritawan <span dir="ltr">&lt;<a href="mailto:ananbeam76@gmail.com" target="_blank">ananbeam76@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">Dear all </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have been working on WRF-LES and now I am trying to get a data at a specific height says 20m 30m 100m.</div><div style="font-size:12.8px">The data that I want to obtain is sensible heat flux from my wrfout at 20m 30m and 100m. Can we do that? Therefore I tried to look for the ncl script to do so, I have tried many set of interpolate script but I cannot accomplished my goal. Then I found one script which have been successfully run by other user, then I modified the script according to my need with my very little skill of coding. When I ran the script, I&#39;ve got an error about the dimension. something like this : (when I use  wrf_interp_1d)</div><div style="font-size:12.8px"><p style="margin:0px;font-size:18px;font-family:&quot;andale mono&quot;;color:rgb(41,249,20);background-color:rgb(0,0,0)">fatal:wrf_interp_1d: The v_in, z_in, and z_out arrays must be the same number of dimensions</p><p style="margin:0px;font-size:18px;font-family:&quot;andale mono&quot;;color:rgb(41,249,20);background-color:rgb(0,0,0)">fatal:[&quot;Execute.c&quot;:8575]:Execute: Error occurred at or near line 51 in file fillvalue100</p></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">which I have tried to check how to make it into the same number of dimension, but I didn&#39;t found one although I still quite not sure its dimension process. I also attached the script and my nameless input below(in the script &quot;fillvalue100&quot; for getting data at 100m).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">I am working with ncl-6.3.0 on Darwin Kernel mac os x</span><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I&#39;m a newbie for both wrf and ncl, so any suggestion would be greatly appreciate. I really need help.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Best regard,<br><div style="margin:2px 0px 0px"><div><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div><span class="HOEnZb"><font color="#888888"><div> </div></font></span></div></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">Ananya SRITAWAN<div>Hydro-Environment Laboratory</div><div>Graduate School of Environmental Studies, Tohoku University. </div></div></div>
</font></span></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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>
<br></blockquote></div><br></div>