<html><head></head><body><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="ydpe2faddayiv1850764250"><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></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></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); font-family: "old times", serif; font-size: 16px; background-color: rgb(253, 248, 105);">filedimdef(fo,"time",-1,True)</span></span>).</span></span><br></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></span></span></span></span></div><div><br></div><div>Sincerely</div><div>Ehsan</div><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"></div></div></div></div></div></div></body></html>