<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><span></span></div><div dir="ltr"><span>Hi Tanmay,</span><br><span>I've addressed before by writing a ncap script (</span><a href="http://nco.sourceforge.net/nco.html">http://nco.sourceforge.net/nco.html</a>)to convert the time increment to a larger value. I don't have access to my files right now, but I can post an example later.</div><div dir="ltr"><br></div><div dir="ltr">-Andrew</div><div dir="ltr"><br></div><div dir="ltr"><blockquote type="cite"><span>On 5 Dec 2019, at 12:05, Tanmay Sarkar <<a href="mailto:tanmays@barc.gov.in">tanmays@barc.gov.in</a>> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Dear Sir,</span><br></blockquote><blockquote type="cite"><span>Thank you so much for your reply. I have used this option. It is creating merged *.nc file. But that merged file is not opening using GrADS. It is giving some error saying "time unit has too small and increment".</span><br></blockquote><blockquote type="cite"><span>Don’t know why I am not able to visualize. That why I am confused.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>-- </span><br></blockquote><blockquote type="cite"><span>Thanks and Regards</span><br></blockquote><blockquote type="cite"><span>~~~~~~~~~~~~~~~~~~~~~~~~~</span><br></blockquote><blockquote type="cite"><span>Tanmay Sarkar</span><br></blockquote><blockquote type="cite"><span>Scientific Officer D</span><br></blockquote><blockquote type="cite"><span>Safety Studies Section</span><br></blockquote><blockquote type="cite"><span>Health Physics Division</span><br></blockquote><blockquote type="cite"><span>Bhabha Atomic Research Centre</span><br></blockquote><blockquote type="cite"><span>Trombay, Mumbai -⁠ 400 085</span><br></blockquote><blockquote type="cite"><span>&</span><br></blockquote><blockquote type="cite"><span>PhD Student</span><br></blockquote><blockquote type="cite"><span>Homi Bhabha National Institute</span><br></blockquote><blockquote type="cite"><span>=========================</span><br></blockquote><blockquote type="cite"><span>Contacts:</span><br></blockquote><blockquote type="cite"><span>+91-22-25592359 (O)</span><br></blockquote><blockquote type="cite"><span>+91-9920134749 (M)</span><br></blockquote><blockquote type="cite"><span>=========================</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>-----Original Message-----</span><br></blockquote><blockquote type="cite"><span>From: gradsusr [<a href="mailto:gradsusr-bounces@gradsusr.org">mailto:gradsusr-bounces@gradsusr.org</a>] On Behalf Of Dr. Suman Maity</span><br></blockquote><blockquote type="cite"><span>Sent: 05 December 2019 17:19</span><br></blockquote><blockquote type="cite"><span>To: GrADS Users Forum</span><br></blockquote><blockquote type="cite"><span>Subject: Re: [gradsusr] Help Regarding additon of extra t dimension ina grd file</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Dear Tanmoy</span><br></blockquote><blockquote type="cite"><span>I don't think it's easier in grads and consequently it is problematic to write multi-timestep netcdf file in grads. However, it's very easy to implement using cdo (as you told you have corresponding netcdf file). The procedure will be the following:</span><br></blockquote><blockquote type="cite"><span>Lets suppose you first file name (that having 12 timestep) is file120.nc. Then cdo seltimestep,1/12 file120.nc first12.nc cdo mergetime file120.nc first12.nc file132.nc</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Now, file132.nc will contain 132 timesteps where first 120 timesteps will be from file120.nc (original) and rest 12 timestep will be from first12.nc (first 12 timestep of file120.nc).</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I hope it will solve your problem.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Cheers!!!!!!</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Best</span><br></blockquote><blockquote type="cite"><span>Suman</span><br></blockquote><blockquote type="cite"><span>__________________________________________________________________</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>On 12/5/19, Tanmay Sarkar <<a href="mailto:tanmays@barc.gov.in">tanmays@barc.gov.in</a>> wrote:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Dear GrADS users,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I have a file grd file (also having netcdf file) of t dimension </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>varying from</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>1 to 120.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Now I want to make a file of t dimension of  1 to (120+12= )132.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>The first 12 data which I am going to add is just the repetition of  </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>second</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>12 data in new file. (or saying in another way, I want to repeat the </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>first</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>12 data of old file in t dimension to make new file with total </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>120+12=132 t</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>dimension)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Any idea regarding this using GrADS will be appreciable.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Thank you in advance of reading my problem.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>--</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Thanks and Regards</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>~~~~~~~~~~~~~~~~~~~~~~~~~</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Tanmay Sarkar</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Scientific Officer D</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Safety Studies Section</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Health Physics Division</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Bhabha Atomic Research Centre</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Trombay, Mumbai -⁠ 400 085</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>&</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>PhD Student</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Homi Bhabha National Institute</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>=========================</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Contacts:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>+91-22-25592359 (O)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>+91-9920134749 (M)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>=========================</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>-- </span><br></blockquote><blockquote type="cite"><span>++++++++++++++++++++++++++++++++++++</span><br></blockquote><blockquote type="cite"><span>Dr. Suman Maity</span><br></blockquote><blockquote type="cite"><span>Research Scientist</span><br></blockquote><blockquote type="cite"><span>Interdisciplinary Program in Climate Studies Indian Institute of Technology Bombay Powai, Mumbai-400076, Maharashtra India.</span><br></blockquote><blockquote type="cite"><span>++++++++++++++++++++++++++++++++++++</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>gradsusr mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a></span><br></blockquote><blockquote type="cite"><span><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>gradsusr mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a></span><br></blockquote><blockquote type="cite"><span><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><br></blockquote></div></body></html>