<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Hi NCL Users, <br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">I
 am attempting to use the Eliassen-Palm flux function via the 
ncl_contributed functions for the upcoming ncl_6.4 version. There seems 
to be an error in my calculations as the output figures seem odd. My 
script is running fine with no warnings, however the divergence and flux
 vectors seem incorrect. Can anyone see what I am doing wrong?<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Additionally,
 I have a 6 hourly data set that I would like to calculate the flux for 
(i.e. would prefer to not have a time average). Is it possible to loop 
through the data and get a return value of type &quot;list&quot; for each time, so
 I can plot the flux at each 6 hour time step. If so, how? When I 
attempt I receive a warning that states:<br><br>&quot;fatal:Assignment type mismatch, right hand side can&#39;t be coerced to type of left hand side&quot;  <br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">I have placed 3 figures (00z, 06z and the average over all times), my script, and the data (ERA40 Interim) here: <br><a href="http://goog_1241068196" target="_blank"><br></a></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><a href="ftp://pubfiles.dri.edu/pub/jwalston/" target="_blank">ftp://pubfiles.dri.edu/pub/<wbr>jwalston/</a><br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Thank you in advance for your help, <br></div>Josh<br><br><br><br><br><br><br><br></div></div>