<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hello,</div>You can make your own function without having to wait for a release, especially for MSE, which is easy to compute having the right variables. That’s how I’ve done it.<div class=""><br class=""></div><div class="">Assuming you have a data file with qv (specific humidity), theta_v (virtual potential temperature), pres (air pressure) and height levels as 3-D variable<div class=""><div class=""><div class=""><br class=""></div><div class=""><font face="Menlo" class="">; --constants ------------------------------------------;</font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class=""> rd=287.058 ; J/kg K ; R constant for dry air</font></div><div class=""><font face="Menlo" class=""> rdv=0.622 ; ratio of R for dry air over R for vapor</font></div><div class=""><font face="Menlo" class=""> lv=2501000.0 ; J/kg ; latent heat of vaporization</font></div><div class=""><font face="Menlo" class=""> t0=273.15 ; C</font></div><div class=""><font face="Menlo" class=""> g=9.80665 ; m/s**2</font></div><div class=""><font face="Menlo" class=""> cpd=1003.5 ; J/kg K</font></div><div class=""><font face="Menlo" class=""> p0=100000.0 ; Pa</font></div><div class=""><font face="Menlo" class=""><br class=""></font></div></div><div class=""><font face="Menlo" class="">mse=cpd*(data->theta_v/(1+0.61*data->qv))*(data->pres/p0)^(rd/cpd)+g*(data->height)+lv*(data->qv)</font></div><div class=""><br class=""></div><div class="">If you have, instead, temperature use the usual formulation</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" class="">mse=cpd*(data->temp)+g*height+lv*data->qv</font></div></div><div class=""><br class=""></div><div class="">You can also use different formulations but the approach is basically the same..</div><div class=""><br class=""></div><div class="">Cheers </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class=""><div class=""><div><blockquote type="cite" class=""><div class="">Il giorno 27 giu 2018, alle ore 16:36, Behrooz Keshtgar <<a href="mailto:behroozkeshtgar73@gmail.com" class="">behroozkeshtgar73@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_quote"><br class=""><div dir="ltr" class="">Hello<div class="">I've been working on my thesis for a while and i need to calculate MSE (Moist Static Energy). After lots of searching i found that you are developing a new function which calculates the MSE (in <a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/static_energy_atm.shtml" target="_blank" class="">this </a>page); but unfortunately it will be available in NCL 6.5. As i saw in the <a href="https://www.ncl.ucar.edu/future_release.shtml" target="_blank" class="">website</a>, NCL 6.5 will be released in June 2018. I wonder that if you know the exact release date.</div><div class="">Thank you.</div><div class=""><br class=""></div><div class="">----------------------------</div><div class="">Behrooz Keshtgar</div><div class="">M.Sc student of Meteorology at Institute of Geophysics, University of Tehran</div><div class=""><a href="mailto:behroozkeshtgar73@gmail.com" target="_blank" class="">behroozkeshtgar73@gmail.com</a></div><div class=""><br class=""></div></div>
</div><br class=""></div>
_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>