<div dir="ltr"><div><div><div><div>Hi Gwenaëlle,<br></div><div>First, please post general questions about NCL to the ncl-talk email list and not to the ncl-install email list. You can subscribe here:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br><br></div>Whenever you get a NclMalloc Failed error you are running out of system memory. See: <a href="http://www.ncl.ucar.edu/FAQ/#err_msgs_001">http://www.ncl.ucar.edu/FAQ/#err_msgs_001</a><br></div>for tips on how to proceed. In short, you likely need to read in fewer time steps or reduce your spatial area. <br><br>Another method to try would be to use short2flt immediately upon read-in:<br></div>a = addfile(&quot;<a href="http://file.nc">file.nc</a>&quot;,&quot;r&quot;)<br></div>xF = short2flt(a-&gt;temperature_anomaly)<br><div><div><div><br>Finally, NCL v6.2.0 is 2 versions old; if you can it is recommended that you 
install the newest version of NCL (v6.3.0) that was recently released.<br><br></div><div>Hope that helps. If not or if you have further questions, please respond to the ncl-talk email list.<br></div><div>Adam<br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 21, 2015 at 8:42 AM, Gwenaelle Berthier <span dir="ltr">&lt;<a href="mailto:gwenaelle.berthier@meteoprotect.com" target="_blank">gwenaelle.berthier@meteoprotect.com</a>&gt;</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 class="gmail_default" style="color:rgb(32,18,77)"><div style="font-size:12.8000001907349px">Dear ncl-people, </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I&#39;ve installed a ncl-6.2.0 version with no OPeNDAP capacities on a Ubuntu machine (I had some libxxx.so problems). </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I have 6Go Swap memory but my script failed when running the short2float function. </div><div style="font-size:12.8000001907349px">I have seen many comments on the archives&#39; forum but i could not fix my problem. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">For example, my file is 0.9 Go with a short variable (called xS) of 3 dimensions (5000 x 201 x 464).</div><div style="font-size:12.8000001907349px">I can read the data, extract my variable but i could not create a new variable as a float and afterwards, convert xS into a float variable. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>xF = new ( dimsizes(xS), float, 1.e20)   (see contributed.ncl)</div><div>fatal:NclMalloc Failed:[errno=12]</div><div>fatal:New: could not create new array:[errno=12]</div><div><br></div><div>Thanks a lot for your help!</div><div><br></div><div>Kind regards,</div><div>Gwenaëlle</div><div><br></div><div><br></div></div></div><div><div></div></div>
</div>
<br>_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>