<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">Could you please provide the complete script you are trying to run?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Kevin</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 15, 2017, at 10:57 AM, VanĂșcia Schumacher &lt;<a href="mailto:vanucia-schumacher@hotmail.com" class="">vanucia-schumacher@hotmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 14pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class="">Hi NCL users,</div><div class=""><br class=""></div><div class=""><div class="">I am trying to interpolate a data to a resolution of 1x1, but it is returning the following error:</div><div class=""><br class=""></div><div class="">Thank you any collaboration</div></div><div class=""><br class=""></div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>get_src_grid_info: source lat dims = (120,120)</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>get_src_grid_info: source lon dims = (120,120)</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>get_src_grid_info: source grid type is 'curvilinear'</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>curvilinear_to_SCRIP: calculating grid corners...</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>curvilinear_to_SCRIP: no lat values are at the poles, so</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; &nbsp; &nbsp; calculating grid corners using</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; &nbsp; &nbsp; calc_SCRIP_corners_noboundaries...</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>calc_SCRIP_corners_noboundaries</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; &nbsp; min/max original lat: 24.6335/89.8972</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; &nbsp; min/max original lon: -179.998/179.975</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>calc_SCRIP_corners_noboundaries</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; &nbsp; min/max Extlat2d: 23.76/89.8972</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; &nbsp; min/max Extlon2d: -179.998/179.975</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>calc_SCRIP_corners_noboundaries</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; &nbsp; min/max ExtGridCenter_lat: 24.1982/89.2938</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; &nbsp; min/max ExtGridCenter_lon: -179.399/179.417</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>get_dst_grid_info: destination lat dims = (360)</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>get_dst_grid_info: destination lon dims = (360)</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>get_dst_grid_info: Error: the lat/lon arrays are both 1D and the same length.</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; This could be a rectilinear or unstructured grid. Please set 'grid_type'</div><div class="">(0)<span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp; to 'rectilinear' or 'unstructured'.</div><div class=""><br class=""></div><br class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class="">Variable: varSrc0</div><div class="">Type: float</div><div class="">Total Size: 323481600 bytes</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 80870400 values</div><div class="">Number of Dimensions: 3</div><div class="">Dimensions and sizes:<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-converted-space">&nbsp;</span>[Time | 156] x [XLAT | 720] x [XLONG | 720]</div><div class="">Coordinates:&nbsp;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Time: [868188..981394.5]</div><div class="">Number Of Attributes: 6</div><div class="">&nbsp; FieldType :<span class="Apple-tab-span" style="white-space: pre;"> </span>104</div><div class="">&nbsp; MemoryOrder :<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-converted-space">&nbsp;</span>XY&nbsp;</div><div class="">&nbsp; description :<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-converted-space">&nbsp;</span>LATENT HEAT FLUX AT THE SURFACE</div><div class="">&nbsp; units :<span class="Apple-tab-span" style="white-space: pre;"> </span>W m-2</div><div class="">&nbsp; stagger :<span class="Apple-tab-span" style="white-space: pre;"> </span></div><div class="">&nbsp; coordinates :<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-converted-space">&nbsp;</span>XLONG XLAT</div><div class=""><br class=""></div><div class=""><div class="">Opt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True</div><div class="">Opt@SrcGridLat &nbsp; &nbsp; = latSrc</div><div class="">Opt@SrcGridLon &nbsp; &nbsp; = lonSrc</div><div class="">Opt@DstGridLat &nbsp; &nbsp; = latDst</div><div class="">Opt@DstGridLon &nbsp; &nbsp; = lonDst</div><div class="">Opt@SrcRegional &nbsp; &nbsp;= True ; because the source grid (ASR) &nbsp;is a regional grid</div><div class="">Opt@DstRegional &nbsp; &nbsp;= False ; if regriddin to global; set to True if smoothing ASR</div><div class="">Opt@InterpMethod &nbsp; = "bilinear" ; this is the default method</div><div class="">Opt@NoPETLog &nbsp; &nbsp; &nbsp; = True</div><div class="">Opt@RemoveSrcFile &nbsp;= True</div><div class="">Opt@RemoveDstFile &nbsp;= True</div><div class="">Opt@RemoveWgtFile &nbsp;= True</div><div class="">Opt@Debug &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True ; set this to False to make it less verbose</div><div class="">Opt@CopyVarCoords &nbsp;= True ; if True, the lat-lon data will be attached as</div><div class="">Opt@ForceOverwrite = True</div><div class=""><br class=""></div><div class=""></div><div class=""><br class=""></div><div class="">; Regridding function</div><div class=""><br class=""></div><div class="">varDst0 = ESMF_regrid(varSrc0,Opt)</div><br class=""></div><br class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">ncl-talk mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:ncl-talk@ucar.edu" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">ncl-talk@ucar.edu</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">List instructions, subscriber options, unsubscribe:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></div></blockquote></div><br class=""></div></body></html>