<div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default">Amit,</div><div class="gmail_default"><br></div><div class="gmail_default">[Sorry, I forgot to cc ncl-talk on the previous message.]</div><div class="gmail_default"><br></div><div class="gmail_default">We are a bit puzzled by the "File too large" error. We believe this is a UNIX error that is indicating your file is too large to be written on your system. </div><div class="gmail_default"><br></div><div class="gmail_default">Do you have some kind of quota limit on the size of files you can write? Or, are you by any chance running on a 32-bit system?</div><div class="gmail_default"><br></div><div class="gmail_default">What is the size of "pr"? You can do a "printVarSummary" on pr to get this information.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 12:27 PM, amit timilsina <span dir="ltr"><<a href="mailto:timilsinaamit87@huskers.unl.edu" target="_blank">timilsinaamit87@huskers.unl.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 style="font-size:12pt;color:#333333;background-color:#ffffff;font-family:'Times New Roman',Times,serif">
<p>Respected Mary,</p>
<p></p>
<p>Thank you very much. I tried to many files using "cat" option. I got error like "File too large: error attempting to write variable (pr) to file (pr_day_CMCC-CM_rcp45_r1i1p1_20060101-20351231.nc)". It seems that there is a limitation on a number of files
and files sizes. Is there any way to solve this problem? Thank you very much for your time.</p>
<p><br>
</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo">
ncl 2> f=addfiles(fils,"r")</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo">
ncl 3> ListSetType(f,"cat")</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo">
ncl 4> pr=f[:]->pr</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo">
ncl 5> ncdf=addfile("pr_day_CMCC-CM_rcp45_r1i1p1_20060101-20351231.nc","c")</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo">
ncl 6> filedimdef(ncdf,"time",-1,True)</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo">
ncl 7> ncdf->pr=pr</p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo">
fatal:File too large: error attempting to write variable (pr) to file (pr_day_CMCC-CM_rcp45_r1i1p1_20060101-20351231.nc)</p>
<p></p>
<p style="margin-right:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo">
fatal:["Execute.c":8573]:Execute: Error occurred at or near line 7</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<div style="font-size:12pt;color:#333333;background-color:#ffffff;font-family:'Times New Roman',Times,serif">
<p><span style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">Amit Prasad Timilsina</span><br style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">
<span style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">PhD student</span><br style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">
<span style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">School of Natural Resources,UNL</span><br style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">
<span style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">243 Hardin Hall</span><br style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">
<span style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">3310 Holdrege Street</span><br style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">
<span style="color:rgb(0,0,0);font-family:'Times New Roman',Times,serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">Lincoln, Nebraska</span><br>
</p>
<p><font color="#006fc9"></font></p>
</div>
</div>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mary Haley <<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>><br>
<b>Sent:</b> Monday, November 30, 2015 11:22 AM<br>
<b>To:</b> amit timilsina<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] Error in joining files having</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Amit,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">The error is telling you that your coordinate variable is non-monotonic. In order to use "cat" mode to join a dimension, which is usually the time dimension, the time values must be monotonic. Also, I believe
the time arrays must have the same units.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Please look at your "time" dimension on both files and make sure 1) they are monotonic, 2) they have the same units, and 3) the first time value of the second file is greater than the last time value of the
first file.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">--Mary</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Nov 27, 2015 at 4:23 PM, amit timilsina <span dir="ltr">
<<a href="mailto:timilsinaamit87@huskers.unl.edu" target="_blank">timilsinaamit87@huskers.unl.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Respected all,<br>
<br>
Is the warning " warning:error attempting to fix non-monotonic aggregation variable" while joining files makes any differences? The first file has dimension size: 366x240X480 and second file have 365x240x480 or first-year data is leap year data. Even with
using both non-leap year data, I found the similar problem. What is the reason for getting this problem and how can I solve it?<br>
<br>
ncl 0> fils = (/"pr_day_CMCC-CM_decadal2005_r1i2p1_20120101-20121231.nc","pr_day_CMCC-CM_decadal2005_r1i2p1_20130101-20131231.nc"/)ncl 1> f=addfiles(fils,"r")<br>
ncl 2> ListSetType(f,"cat")<br>
ncl 3> pr=f[:]->pr<br>
warning:error attempting to fix non-monotonic aggregation variable<br>
<br>
<br>
Thank you in advance.<br>
<br>
Amit Prasad Timilsina<br>
PhD student<br>
School of Natural Resources,UNL<br>
243 Hardin Hall<br>
3310 Holdrege Street<br>
Lincoln, Nebraska<br>
_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br></div>