<html><head></head><body><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div>Dear Mary</div><div>Thank you very much for your nice reply.</div><div>I put the original file "<span>era5precjan2018t6s1_12.nc</span>" in ftp. I've also attached the ncl script which I used to sum hourly precipitation.</div><div><br></div><div>Sincerely</div><div>Ehsan</div><div id="yahoo_quoted_5731740470" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Friday, August 24, 2018, 10:47:23 PM GMT+4:30, Mary Haley <haley@ucar.edu> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv8940197892"><div><div dir="ltr"><div class="yiv8940197892gmail_default" style="font-size:small;">Ehsan,</div><div class="yiv8940197892gmail_default" style="font-size:small;"><br clear="none"></div>Can you provide the original <div class="yiv8940197892gmail_default" style="font-size:small;display:inline;"> </div><a rel="nofollow" shape="rect" target="_blank" href="http://era5precjan2018t6s1_12.nc">era5precjan2018t6s1_12.nc</a> file?<div class="yiv8940197892gmail_default" style="font-size:small;display:inline;"> If it's not too large, but too large for email, then you can use ftp:</div><div><div class="yiv8940197892gmail_default" style="font-size:small;display:inline;"><br clear="none"></div></div><div><div class="yiv8940197892gmail_default" style="font-size:small;display:inline;"><a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/ftp_files.shtml">http://www.ncl.ucar.edu/ftp_files.shtml</a></div></div><div><div class="yiv8940197892gmail_default" style="font-size:small;display:inline;"><br clear="none"></div></div><div><div class="yiv8940197892gmail_default" style="font-size:small;display:inline;">Thanks,</div></div><div><div class="yiv8940197892gmail_default" style="font-size:small;display:inline;"><br clear="none"></div></div><div><div class="yiv8940197892gmail_default" style="font-size:small;display:inline;">--Mary</div></div><div><div class="yiv8940197892gmail_default" style="font-size:small;display:inline;"><br clear="none"></div></div></div><div class="yiv8940197892gmail_extra"><br clear="none"><div class="yiv8940197892gmail_quote">On Wed, Aug 22, 2018 at 11:30 PM, Ehsan Taghizadeh <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:ehsantaghizadeh@yahoo.com" target="_blank" href="mailto:ehsantaghizadeh@yahoo.com">ehsantaghizadeh@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv8940197892gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv8940197892yqt0510438945" id="yiv8940197892yqt73950"><div><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div>Dear Dennis</div><div>Thank you so much for your nice reply.</div><div>As you said I've encountered abnormally size before in ncl-6.4. However in ncl6.5 I encountered addition problem and in this email I mean this new problem (may bug in ncl6.5). It seems ncl6.5 <span><span style="">reset wrong date/time. For example I have "<span>0103-01-01 00:00:00</span>" instead of "<span>2018-01-01 07:00:00</span>" for "<span>Date     Time</span>".</span></span></div><div><span><span style=""><br clear="none"></span></span></div><div><span><span style="">Sincerely</span></span></div><span class="yiv8940197892HOEnZb"><font color="#888888"></font></span><div><span><span style="">Ehsan</span></span></div><div><div class="yiv8940197892h5"><div class="yiv8940197892m_1264673581374263580yahoo_quoted" id="yiv8940197892m_1264673581374263580yahoo_quoted_5602988886">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, August 23, 2018, 2:58:34 AM GMT+4:30, Dennis Shea <<a rel="nofollow" shape="rect" ymailto="mailto:shea@ucar.edu" target="_blank" href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="yiv8940197892m_1264673581374263580yiv8857175338"><div><div dir="ltr"><div>This [netCDF-4 file size] has been discussed in ncl-talk before. Please search the archives. <br clear="none">--<br clear="none"></div>It has to do with the netCDF-4 '<b>chunk size</b>' used by NCL.  A JIRA ticket has been opened.<br clear="none"><br clear="none"><div>NCAR Command Language / <b>Defect NCL-2757</b><br clear="none"><b>NetCDF-4 file with unlimited time dimension size has abnormally large size </b><br clear="none"><br clear="none"></div><div>You can change the chunk size: see<br clear="none"></div><div><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/Document/Functions/Built-in/filechunkdimdef.shtml"><b>http://www.ncl.ucar.edu/Docume nt/Functions/Built-in/filechun kdimdef.shtml</b></a><br clear="none"><br clear="none"></div><div>You may have to experimet.<br clear="none"></div><div>======<b><br clear="none"></b></div><div><b>I suggest trying just writing netCDF-3 [the default]<br clear="none"></b><br clear="none"></div><div>Good luck<br clear="none"><br clear="none"></div><div><b></b></div></div><div class="yiv8940197892m_1264673581374263580yiv8857175338gmail_extra"><br clear="none"><div class="yiv8940197892m_1264673581374263580yiv8857175338gmail_quote">On Tue, Aug 21, 2018 at 8:37 AM, Ehsan Taghizadeh <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:ehsantaghizadeh@yahoo.com" target="_blank" href="mailto:ehsantaghizadeh@yahoo.com">ehsantaghizadeh@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv8940197892m_1264673581374263580yiv8857175338gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv8940197892m_1264673581374263580yiv8857175338yqt1203703943" id="yiv8940197892m_1264673581374263580yiv8857175338yqt61587"><div><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div id="yiv8940197892m_1264673581374263580yiv8857175338m_250345269006029381ydpe2faddayiv1850764250"><div><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div>Hi,</div><div>I used attached script (<span>prc_sum_write.ncl</span>) <span><span style="color:rgb(0,0,0);font-family:old times, serif;font-size:16px;">which has been provided by ncl-talk </span></span>to sum precipitation in different time steps. In ncl-6.5 I encountered following message:</div><div>    <span style="background-color:rgb(253,248,105);">ncclose: ncid 131072: NetCDF: Can't open HDF5 attribute</span><br clear="none"></div><div>It seems the script does summation correctly, however reset wrong date/time! (cdoout6.5.dat in attached files)</div><div>The script works correctly in ncl-6.4; however the problem with ncl-6.4 was about following line:</div><div><span><span style="color:rgb(0,0,0);font-family:old times, serif;font-size:16px;">    <span style="background-color:rgb(253,248,105);">filedimdef(fo,"time",-1,True)      ; make time UNLIMITED</span></span></span><br clear="none"></div><div><span><span style="color:rgb(0,0,0);font-family:old times, serif;font-size:16px;"><span><span style="color:rgb(0,0,0);font-family:old times, serif;font-size:16px;">which produced a much bigger size output. Same is true in ncl-6.5 which the output without above line will have 755 KB size and the output with above line will have 24.0 MB. However the date/time in output file for ncl-6.4 are correct (cdoout6.4.dat in attached files). I also attached output files from both version of ncl in small size (commented <span><span style="color:rgb(0,0,0);">filedimdef(fo,"time",-1,True)</span></span>) .</span></span><br clear="none"></span></span></div><div><span><span style="color:rgb(0,0,0);font-family:old times, serif;font-size:16px;"><span><span style="color:rgb(0,0,0);font-family:old times, serif;font-size:16px;">Should I use ncl-6.4 with this script or I did something wrong? I'll be thankful for any help.</span></span></span></span></div><div><span><span style="color:rgb(0,0,0);font-family:old times, serif;font-size:16px;"><span><span style="color:rgb(0,0,0);font-family:old times, serif;font-size:16px;"><br clear="none"></span></span></span></span></div><div><br clear="none"></div><div>Sincerely</div><span class="yiv8940197892m_1264673581374263580yiv8857175338HOEnZb"><font color="#888888"></font></span><div>Ehsan</div><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"></div></div></div></div></div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/ mailman/listinfo/ncl-talk</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div></div>
            </div>
        </div></div></div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/ mailman/listinfo/ncl-talk</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div></div>
            </div>
        </div></div></body></html>