<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:14pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi</p>
<p><br>
</p>
<p>I sent via ftp site the complete script, and</p>
<p>the 2_file and 3_file used. Sorry, but I can't to reduze the&nbsp;size of the 1_file (<span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 18.6667px;">shf_asr-2000-classic.nc)</span>&nbsp;to
 send via ftp,&nbsp;but I attached in this e-mail (<a href="https://1drv.ms/f/s!AhH-sSGcLfkLj0WsaPkz5a_nbuo4" class="OWAAutoLink" id="LPlnk68483|2:odcLink">https://1drv.ms/f/s!AhH-sSGcLfkLj0WsaPkz5a_nbuo4</a>)</p>
<div id="LPBorder_GT|1:LPlnk68483[|2:odcLink|4:4]" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14948984890210.4336321949193218" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14948984890240.3527320645603951" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14948984890240.026493782592196258"></div>
<div id="LPOptionsContainer_14948984890240.7488692912815953"></div>
<table>
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td><a href="https://1drv.ms/f/s!AhH-sSGcLfkLj0WsaPkz5a_nbuo4" target="_blank" style="margin-right: 10px;"><img id="LPItemIcon_14948984890240.002944621808824044" class="EmojiInsert" alt="imageData708542" src="cid:f5445bb4-fef0-4da4-b3eb-fe9594a0c160"></a></td>
<td>
<div id="LPTitle_14948984890250.5858274858431733" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, &quot;Segoe UI Light&quot;, &quot;Segoe WP Light&quot;, &quot;Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14948984890260.5216036797743036" href="https://1drv.ms/f/s!AhH-sSGcLfkLj0WsaPkz5a_nbuo4" target="_blank" style="text-decoration: none;">help</a></div>
<div id="LPMetadata_14948984890260.21960416836626395" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, &quot;Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
Compartilhado via OneDrive</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<p><br>
</p>
<p>I<span>&nbsp;include the line&nbsp;<span>Opt@DstGridType = &quot;rectilinear&quot; and &nbsp;the script works, but the out_file
<span>It's a mess, with the curvilinear grid.&nbsp;</span></span></span></p>
<p><span><span><span>I would like to regress the file_1&nbsp;<span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 18.6667px;">(</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 18.6667px;">shf_asr-2000-classic.nc)</span>
 to resolution of 1ºx1º&nbsp;with the grid rectilinear. I can not do this correctly.</span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><span><span>The names of the files:</span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><span><span>file_1 used:&nbsp;<span>shf_asr-2000-classic.nc</span></span></span></span></p>
<p><span><span><span><span><br>
</span></span></span></span></p>
<p><span><span><span><span>file_2:&nbsp;<span>asr15km.static.2d.2007070100.nc</span></span></span></span></span></p>
<p><span><span><span><span>file_3:&nbsp;<span>shf_era-1x1.nc</span></span></span></span></span></p>
<p><span><span><span><span><span><br>
</span></span></span></span></span></p>
<p><span><span><span><span><span>Thanks</span></span></span></span></span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Kevin Hallock &lt;hallock@ucar.edu&gt;<br>
<b>Enviado:</b> segunda-feira, 15 de maio de 2017 21:53:51<br>
<b>Para:</b> Vanúcia Schumacher<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Assunto:</b> Re: [ncl-talk] error ESMF_regrid</font>
<div>&nbsp;</div>
</div>
<div>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; = &quot;bilinear&quot; ; 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>
</div>
</body>
</html>