<div dir="ltr">Hi All,<div>I am using ncl script for esmf regrid and converting unstructured onto WRF grid. </div><div>There is nothing wrong with the script, it was working fine with the previous unstructured grid nodes ( node = 1813443). </div><div>Now I am facing issues running these scripts for new unstructured data nodes ( node = 6057307). It is taking a long time and CPU time terminates the script and even job_script takes more than 8 hours and time limitation issues with job_scripts. </div><div>Any suggestions to resolve this issue? Below is my script<br></div><div><br></div><div>However, when I run script, it says </div><div> This can be VERY slow if you have a large array.<br>(0)                           To speed up code, provide your own edge vertices via the<br>(0)                           'ElementVertices' option.<br></div><div>How to use ElementVertices?</div><div><br></div><div>*******************************************************</div><div> src_file = "../<a href="http://fort.63.nc">fort.63.nc</a>"<br> sfile = addfile(src_file,"r")<br> lat1D = sfile->y<br> lon1D = sfile->x<br> var = sfile->zeta(89,:)<br><br> dst_file = "../<a href="http://geo_em.d01.nc">geo_em.d01.nc</a>"<br> dfile    = addfile(dst_file,"r")<br>  Opt                = True<br><br>;---"bilinear" is the default. "patch" and "conserve" are other options.<br>    Opt@InterpMethod     = "neareststod"        ;;---Change (maybe)<br>    Opt@WgtFileName      = "unstruct_to_rect_2906_D1.nc"<br>    Opt@SrcGridLat       = lat1D<br>   Opt@SrcGridLon       = lon1D<br>    Opt@SrcRegional      = False            ;;--Change (maybe)<br>    Opt@SrcInputFileName = src_file          ; optional, but good idea<br><br>    Opt@SrcMask2D        = where(.not.ismissing(var),1,0) ; Necessary if has<br>                                                          ; missing values.<br></div><div><br>    dst_lat              = dfile->XLAT_M(0,:,:)    ; Be sure to use appropriate names<br>    dst_lon              = dfile->XLONG_M(0,:,:)   ; here.<br>    Opt@DstGridLon       = dst_lon<br>    Opt@DstGridLat       = dst_lat<br>    Opt@DstRegional      = True            ;;--Change (maybe)<br>    Opt@ForceOverwrite   = True<br>    Opt@Debug            = True<br>    Opt@PrintTimings     = True<br>    var_regrid = ESMF_regrid(var,Opt)     ; Do the regridding<br>    printVarSummary(var_regrid)<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dr. Anil Kumar<div>Environmental Modeling Center/NCEP/NWS/NOAA<br><div cols="72">College Park, MD, USA  </div></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div>