<div dir="ltr">Sorry, 'in coming' should be 'cd incoming'<br><div><br><div>ftp <a href="http://ftp.cgd.ucar.edu" target="_blank">ftp.cgd.ucar.edu</a><br></div><div>anonymous<br></div><div>your_email<br></div><div>cd incoming<br><br></div><div>put THETA.1440x720x50.1993????.nc"<br>put SALT.1440x720x50.1993????.nc"<br><br></div>quit<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 1, 2018 at 4:55 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></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><div>This question is not clear to me.<span class=""><br><br>"I have gotten two different minimum and maximum values for density"<br><br></span></div>test.ncl has: one ?time? step and one set of data ranges<br><br>temp=f0[:]->THETA(7,{0:500},{0<wbr>:6},{80})<br>printVarSummary(temp)        <br>temp@_FillValue=1.e20<br><br>salt=f1[:]->SALT(7,{0:500},{0:<wbr>6},{80})<br>salt@_FillValue=1.e20<br>printVarSummary(salt)<br><br>depth=40<br>pd=rho_mwjf(temp, salt, depth)<br><br>---<br></div>n.ncl has ALL [:] ?time? steps and a different set of data ranges<br><br>emp=f0[:]->THETA(:,{0:200},{5.<wbr>5:6},{76:86})<br>printVarSummary(temp)       <br>temp@_FillValue=1.e20<br><br>salt=f1[:]->SALT(:,{0:200},{5.<wbr>5:6},{76:86})<br>salt@_FillValue=1.e20<br>printVarSummary(salt)<br><br><div><div>====<br></div><div>Are you asking about your array manipulations or abou the<br></div><div>results from the NCL function:<br>   <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/rho_mwjf.shtml" target="_blank">http://www.ncl.ucar.edu/Docume<wbr>nt/Functions/Contributed/rho_<wbr>mwjf.shtml</a><br><br>===<br></div><div>Really, looking at the scripts with no information from 'printVarSummary(...)'<br></div><div>would be a time consuming effort  <br><br></div><div>Certainly, making  **one** sample THETA and SALT file available would also help.<br><br><div>ftp <a href="http://ftp.cgd.ucar.edu" target="_blank">ftp.cgd.ucar.edu</a><br></div><div>anonymous<br></div><div>your_email<br></div><div>cd in coming<br><br></div><div>put THETA.1440x720x50.1993????.nc"<br>put SALT.1440x720x50.1993????.nc"<br><br></div>quit<br></div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Feb 28, 2018 at 10:31 PM, Wickramage Chathurika <span dir="ltr"><<a href="mailto:wickramagechathurika@rocketmail.com" target="_blank">wickramagechathurika@<wbr>rocketmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">Hello,</div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><br></div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">I am calculating the density of ocean water using ECCO2 model data. I have calculated density by two different methods. One is according to NCL example. But I have gotten two different minimum and maximum values for density. I have attached herewith the two scripts and please help me to figure out the problem with my script. appreciate your help in advance. </div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><br></div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><br></div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">Kind Regards;</div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">Chathu</div><br></div><div><br></div><div class="m_-3159770904237946785m_486318392327140843ydp615cac09signature"><div style="font-size:small"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span style="font-style:italic;font-size:medium">..............................<wbr>..........</span></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span style="font-style:italic;font-size:medium"><br></span></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span style="font-style:italic;font-size:medium">Wickramage Chathurika Hemamali</span><div><span style="font-style:italic;font-size:medium">Msc<span style="background-color:rgb(255,255,255)"> Research Scholar</span></span></div><div><div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2251" style="background-color:rgb(255,255,255)"><span style="font-style:italic;font-size:medium">State Key Laboratory of Tropical Oceanography</span></div></div></div><div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2252" style="background-color:rgb(255,255,255)"><span style="font-style:italic;font-size:medium">South China Sea Institute of Oceanology</span></div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2252" style="background-color:rgb(255,255,255)"><span style="font-style:italic;font-size:medium">University of Chinese Academy of Science</span></div></div><div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255,255,255)"><span style="font-style:italic;font-size:medium">China</span></div></div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255,255,255)"><span style="font-style:italic;font-size:medium"><br></span></div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255,255,255)"><i><font size="1">Specialized in Oceanography and Marine Geology (Bachelor)</font></i></div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255,255,255)"><i><font size="1">University of Ruhuna</font></i></div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255,255,255)"><i><font size="1">Matara</font></i></div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255,255,255)"><i><font size="1">Sri Lanka</font></i></div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255,255,255)"><span style="font-style:italic;font-size:medium"><br></span></div><div id="m_-3159770904237946785m_486318392327140843ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255,255,255)"><span style="font-style:italic;font-size:medium">Email : <a>wickramagechathurika@rocketm<wbr>ail.com</a></span></div></blockquote></div></div></div></div></div><br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>