<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Please add:<div><br></div><div>&nbsp;&nbsp;printVarSummary(rf)</div><div><br></div><div>after you read in pr and let us know what the size of the variable is.</div><div><br></div><div>Also, do the same for other variables, like "time".</div><div><br></div><div>Thanks,</div><div><br></div><div>--Mary</div><div><br><div><div>On Jun 6, 2010, at 10:15 PM, Sabeerali(sebi) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Dear Dennis,<br><br>Thanks for your reply..I don't think my variable size is more than 2GB.
Also I am not using any reordering and more recent *_n_Wrap function.. The script is given below..You can go through...<br>Thanks again...<br>
<br>
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl"<br>


begin<br>
<br>
in2=addfile("/home/sabeer/AR4_20c3m/ncar_csm/pr_A2.nc","r")<br>
rf=in2-&gt;pr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; daily data from 1950 to 1999<br>
<br>
time=in2-&gt;time<br>
TIME&nbsp;&nbsp;&nbsp; = ut_calendar(time, 0)<br>
year&nbsp;&nbsp;&nbsp; = floattointeger( TIME(:,0) )<br>
month&nbsp;&nbsp; = floattointeger( TIME(:,1) )<br>
day&nbsp;&nbsp;&nbsp;&nbsp; = floattointeger( TIME(:,2) )<br>
ddd&nbsp;&nbsp;&nbsp;&nbsp; = day_of_year(year, month, day)<br>
yyyyddd = year*1000 + ddd<br>
<br>
rf_clim=clmDayTLL(rf,yyyyddd)<br>
smth_rf_clim=smthClmDayTLL(rf_clim,3)<br>
rf_anom=calcDayAnomTLL(rf,yyyyddd,smth_rf_clim)<br>
<br>
spd=1<br>
bpf=(/20,100,201/)<br>
rfa_f=band_pass_latlon_time (rf_anom,spd, bpf,False)<br>
;================saving to netcdf==============================<br>
diro ="./"<br>
filo = "<a href="http://dly.rfa.filt.nc/" target="_blank">dly.rfa.filt.nc</a>"<br>
system("/bin/rm -f "+diro+filo)<br>
f = addfile(diro+filo, "c")<br>
f-&gt;rfa_filt =rfa_f<br>
end<div><div></div><div class="h5"><br><div class="gmail_quote"><br><br>On 6 June 2010 23:30,  <span dir="ltr">&lt;<a href="mailto:ncl-talk-request@ucar.edu" target="_blank">ncl-talk-request@ucar.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send ncl-talk mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
or, via email, send a message with subject or body 'help' to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ncl-talk-request@ucar.edu" target="_blank">ncl-talk-request@ucar.edu</a><br>
<br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ncl-talk-owner@ucar.edu" target="_blank">ncl-talk-owner@ucar.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ncl-talk digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
 &nbsp; 1. Segmentation fault (core dumped). (Sabeerali(sebi))<br>
 &nbsp; 2. Re: Segmentation fault (core dumped). (Dennis Shea)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 6 Jun 2010 13:51:30 +0530<br>
From: "Sabeerali(sebi)" &lt;<a href="mailto:sabeerl@gmail.com" target="_blank">sabeerl@gmail.com</a>&gt;<br>
Subject: [ncl-talk] Segmentation fault (core dumped).<br>
To: <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:AANLkTil5IaeeJ7kX-8cTVGmse970Y89-elbqxZDPwA5j@mail.gmail.com" target="_blank">AANLkTil5IaeeJ7kX-8cTVGmse970Y89-elbqxZDPwA5j@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I am having the daily data of 60 years...I am not able to do any calculation<br>
by using this large data set in NCL. ...It shows segmentation fault (core<br>
dumped).. I think it is because that I encountered memory limit..Actually I<br>
want to the band pass filter..It works nicely if I reduce size of data set<br>
(means for 30 years daily) . Is there any solution if I encounter the memory<br>
limit?<br>
<br>
Thanks for your time..<br>
<br>
--<br>
**********************************<br>
Sabeerali<br>
Climate and Global Modeling Division<br>
Indian Institute of Tropical Meteorology<br>
Pashan, Pune, 411 008<br>
****************************************<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20100606/6addf6e9/attachment.html" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20100606/6addf6e9/attachment.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 06 Jun 2010 08:33:44 -0600<br>
From: Dennis Shea &lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;<br>
Subject: Re: [ncl-talk] Segmentation fault (core dumped).<br>
To: "Sabeerali(sebi)" &lt;<a href="mailto:sabeerl@gmail.com" target="_blank">sabeerl@gmail.com</a>&gt;<br>
Cc: <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
Message-ID: &lt;<a href="mailto:4C0BB1C8.6010900@ucar.edu" target="_blank">4C0BB1C8.6010900@ucar.edu</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
If you are using more memory than is available on your machine,<br>
the answer is "no".<br>
<br>
[1] Is the variable size &gt; 2GB? Currently, NCL does not allow<br>
variables to be &gt; 2GB.<br>
<br>
[2] Are you using functions that require "dimension reordering"<br>
or, the more recent *_n [ *_n_Wrap] function that do not.<br>
<br>
D<br>
<br>
<br>
<br>
On 6/6/10 2:21 AM, Sabeerali(sebi) wrote:<br>
&gt; I am having the daily data of 60 years...I am not able to do any<br>
&gt; calculation by using this large data set in NCL. ...It shows<br>
&gt; segmentation fault (core dumped).. I think it is because that I<br>
&gt; encountered memory limit..Actually I want to the band pass filter..It<br>
&gt; works nicely if I reduce size of data set (means for 30 years daily) .<br>
&gt; Is there any solution if I encounter the memory limit?<br>
&gt;<br>
&gt; Thanks for your time..<br>
&gt;<br>
&gt; --<br>
&gt; **********************************<br>
&gt; Sabeerali<br>
&gt; Climate and Global Modeling Division<br>
&gt; Indian Institute of Tropical Meteorology<br>
&gt; Pashan, Pune, 411 008<br>
&gt; ****************************************<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; ncl-talk mailing list<br>
&gt; List instructions, subscriber options, unsubscribe:<br>
&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
<br>
End of ncl-talk Digest, Vol 79, Issue 10<br>
****************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>**********************************<br>Sabeerali<br>Climate and Global Modeling Division<br>Indian Institute of Tropical Meteorology<br>Pashan, Pune, 411 008<br>****************************************<br>


</div></div></blockquote></div><br><br clear="all"><br>-- <br>**********************************<br>Sabeerali<br>Climate and Global Modeling Division<br>Indian Institute of Tropical Meteorology<br>Pashan, Pune, 411 008<br>
****************************************<br>
_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></blockquote></div><br></div></body></html>