<html><head></head><body><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="ydp615cac09signature"><div style="font-size:small;"><blockquote style="margin:0 0 0 40px;border:none;padding:0px;"><span style="font-style:italic;font-size:medium;">........................................</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="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="background-color:rgb(255, 255, 255);"><i><font size="1">Matara</font></i></div><div id="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_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="ydpc6aa4ef1yui_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@rocketmail.com</a></span></div></blockquote></div></div></div></div></body></html>