<div dir="ltr">Dear NCLers,<div> I am working on converting 360 days calendar to 365 days calendar. I have seen a discussion on the same topic with the title "<b>converting 360 day calendar to 365 day (standard)   calendar</b>". The script shared in the topic is :</div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">f = addfile("zg700_day_HadGEM2-ES_rcp85_r1i1p1_19800101-20131231.nc","r")
  var          = f->zg
  time_360     = var&time
  lat          = f->lat
  lon          = f->lon
  plev       = f->plev
  printVarSummary(var)

  time_steps               =  34*365 ;1980 to 2013
  time_365                 =  fspan(1,time_steps,time_steps)
  time_365!0               = "time"
  time_365&time            =  time_365
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">time_365 at standard_name</a>   = "time"
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">time_365 at units</a>           = "days since 1980-01-01 12:00:00"
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">time_365 at calendar</a>        = "365_day"
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">time_365 at long_name</a>       = "time"
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">time_365 at axis</a>            = "T"
  zg_new =linint1_n( time_360,rm_single_dims(var), False, time_365, 0,0)<br>  zg_new!0             = "time"
  zg_new&time          =  time_365
  zg_new!1             = "lat"
  zg_new&lat          =  lat
  zg_new!2             = "lon"
  zg_new&lon          =  lon
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">zg_new at _FillValue</a>    =  1.0e+20
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">zg_new at missing_value</a> =  1.0e+20
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">zg_new at standard_name</a> = "geopotential_height"
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">zg_new at long_name</a>     = "Geopotential Height"
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">zg_new at units</a>         = "m"
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">zg_new at coordinates</a>   = "lon lat plev"
  <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">zg_new at cell_methods</a>  = "time: mean"
  printVarSummary(zg_new)
  outf = addfile("zg700_day_HadGEM2-ES_rcp85_r1i1p1_19800101-20131231_cal.nc","c")
  outf->lat          =  lat
  outf->lon          =  lon
  outf->plev       =  plev
  outf->zg       =  zg_new
</pre><div><div class="gmail-message" style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:12px"><div class="gmail-wiki"><p>In this code, the interpolation is done from the first day of the data that the netcdf with 365 days differs much when compared with the 360 days data. So, I thought that 5 days can be included at the end of each year. So, the interpolation can be started at 360th day and end at 361th day. I am new to ncl and may I know how to do this in ncl.</p></div></div><br class="gmail-Apple-interchange-newline"></div><div>-- <br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">With Regards,<br><br><img src="http://reddodo.com/cellphones/wateroflife/?sesid=N0xOOTdjODNWUjlFdWdFWk9GV3VGZllGYlgvZnJXME1nUHFha0szbUVVR0JyQmRnWGhLdWVMR3ZsNFU4S3B4TA=="><br></div></div><br></div></div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/c8fac399c453347e06f630723f99e441fda14d25.png?u=3398768"></div>