<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I am not sure about the following:<br></div><div>---<br></div><div>; computing the composite diurnal cycle of anomalies<br>T2mean=dim_avg_n_Wrap(T2_dc,0)    ; (nlat,nlon)<br>T2_dc_anom=T2_dc<br>T2_dc_anom=(/ T2_dc-conform(T2_dc,T2mean,(/1,2/)) /)</div><div>---</div><div>T2mean is the overall temporal mean at each grid point.  <br></div><div>ie: a constant at each grid point</div><div><br></div><div>Subtracting this just shifts hourly values down.<br></div><div>----</div><div>Attached is a 'guess' at what the code should look like.</div><div><br></div><div>Cheers<br></div><div><br></div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 2, 2019 at 7:21 PM Kunal Dayal via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I have written a script for plotting the monthly averaged diurnal 2 m temperature anomalies and the 2 m temperature extraction script at a specific location. I am using the scripts to plot and extract data from WRF files.</div><div><br></div><div>The code is working for both scripts but the monthly averaged diurnal 2 m temperature anomalies do not reflect the same behavior when compared with the data extracted at grid points (latitude and longitude) of station locations that are located especially on the leeward side of a tropical island. </div><div><br></div><div>I would really appreciate it if you can advise whether my temperature anomalies script and temperature extraction script using NCL are correct. See attached the scripts.</div><div><br></div><div>I have also checked the locations of the stations on the leeward side and they are located on land.</div><div><br></div><div>I would really appreciate your assistance and advice.</div><div><br></div><div>Regards</div><div>Kunal Kushal Dayal</div><div><br></div><div>PhD Researcher - Wind Energy</div><div>Department of Mechanical Engineering</div><div>Faculty of Engineering</div><div>The University of Auckland</div><div>New Zealand.</div><div>Email: <a href="mailto:kday202@aucklanduni.ac.nz" target="_blank">kday202@aucklanduni.ac.nz</a></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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></blockquote></div>