<div dir="ltr"><div>The following ESMF example illustrates how to interpolate from a NARR grid to a rectilinear grid:<br></div><div><a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml" target="_blank"><b>http://www.ncl.ucar.edu/Applications/ESMF.shtml</b></a></div><div>ESMF_wgts_30.ncl</div><div>------------------------<br></div><div>The ESMF software does NOT work with cartesian [projection] coordinates ['<b>x'</b> , '<b>y</b>'] which have units of meters.<br></div><div>                    ; the following are not correct<br></div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  lon2d<span>    </span>= f1[:]->x <span>   </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)"><br></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  lat2d<span>    </span>= f1[:]->y <span>     </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)"><br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">The ESMF software works with latitudes and longitudes.</span></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)"><span style="color:rgb(0,0,0)">You should extract the latitudes and longitudes from the first file</span> only:</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)"><br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)"> <span style="color:rgb(0,0,0)"> lon2d = f1<b>[0]</b>->lon             ; read NARR longitude from 1st file <br>  lat2d = f1<b>[0]</b>->lat             ; read NARR latitude</span><br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">-----------------<br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)"><br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)"><span style="color:rgb(0,0,0)">See attached</span>. <span style="color:rgb(0,0,0)">It is a combination of your script and ESMF_wgts_30.ncl</span></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)"><br></span></p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 29, 2020 at 2:56 PM dale zuri via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi NCL user,<div>I have been trying to regrid NARR 0.3 resolution to 190x384 using the ESMF regrid function. The regrid was successful, however the output values seem unrealistic and not correct.</div><div>I would appreciate any suggestion to fix the problem. </div><div>Thanks </div><div><br></div><div>Here the code:</div><div> <span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">diri1 = </span><span style="color:rgb(195,55,32);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">"/NARR/daily/prate/"</span></div>






<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">fill1 = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">systemfunc</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(</span><span style="font-variant-ligatures:no-common-ligatures">"for((i="</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">+yrstrt+</span><span style="font-variant-ligatures:no-common-ligatures">";i<="</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">+yrend+</span><span style="font-variant-ligatures:no-common-ligatures">";i+=1)); do ls "</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">+ diri1 +</span><span style="font-variant-ligatures:no-common-ligatures">"*$i*; done"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">print</span><span style="font-variant-ligatures:no-common-ligatures">(fill1)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">f1<span>    </span>= </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">addfiles</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> (fill1, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"r"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">) <span>  </span></span><span style="font-variant-ligatures:no-common-ligatures">; note the "s" of addfile</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,187,199)"><span style="font-variant-ligatures:no-common-ligatures">ListSetType</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> (f1, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"cat"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">uT1<span>    </span>= f1[:]->prate <span>            </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">; read T from all files</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">lon2d<span>    </span>= f1[:]->x <span>            </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">; read T from all files</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">lat2d<span>    </span>= f1[:]->y <span>            </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">; read T from all files</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,187,199)"><span style="font-variant-ligatures:no-common-ligatures">printVarSummary</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> (uT1)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span>  </span>uT1@_FillValue = uT1@missing_value<span>  </span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">; fix missing value</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)"><span style="font-variant-ligatures:no-common-ligatures">printMinMax</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(uT1,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"><span>  </span>uT<span>  </span>= </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)">short2flt</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">( uT1 ) <span>  </span></span><span style="font-variant-ligatures:no-common-ligatures">; apply scale and offset attributes</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">xMon = </span><span style="font-variant-ligatures:no-common-ligatures">calculate_monthly_values</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> (uT, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"avg"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">True</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,187,199)"><span style="font-variant-ligatures:no-common-ligatures">printVarSummary</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(xMon)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)"><span style="font-variant-ligatures:no-common-ligatures">printMinMax</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(xMon,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">T1 = </span><span style="font-variant-ligatures:no-common-ligatures">month_to_season</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> (xMon, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"JJA"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,187,199)"><span style="font-variant-ligatures:no-common-ligatures">printVarSummary</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(T1)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">T1=T1*</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">86400</span><span style="font-variant-ligatures:no-common-ligatures">*</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">92</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)"><span style="font-variant-ligatures:no-common-ligatures">printMinMax</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(T1,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures">;-- define the T255 grid (lat x lon - 256x512)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">nlat = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">190</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- number of latitudes</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">nlon = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">384</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- number of longitudes</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">grint = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0.9375</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- grid spacing</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">dst_lat = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">fspan</span><span style="font-variant-ligatures:no-common-ligatures">((-</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">90.0</span><span style="font-variant-ligatures:no-common-ligatures">+grint),(</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">90</span><span style="font-variant-ligatures:no-common-ligatures">.-grint),nlat)*1d </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">;-- type double</span></p><p style="margin:0px;font:11px Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">dst_lat!</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"lat"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- dimension name</span></p><p style="margin:0px;font:11px Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">dst_lat@units = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"degrees_north"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- dimension units</span></p><p style="margin:0px;font:11px Menlo"><span style="font-variant-ligatures:no-common-ligatures">dst_lon = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(52,187,199)">fspan</span><span style="font-variant-ligatures:no-common-ligatures">(</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0.0</span><span style="font-variant-ligatures:no-common-ligatures">,(</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">360</span><span style="font-variant-ligatures:no-common-ligatures">.-grint),nlon)*1d </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">;-- type double</span></p><p style="margin:0px;font:11px Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">dst_lon!</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"lon"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- dimension name</span></p><p style="margin:0px;font:11px Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">dst_lon@units = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"degrees_east"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- dimension units</span></p><p style="margin:0px;font:11px Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures">;-- set ESMF resources</span></p><p style="margin:0px;font:11px Menlo"><span style="font-variant-ligatures:no-common-ligatures">Opt = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">True</span></p><p style="margin:0px;font:11px Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">Opt@InterpMethod = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"patch"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- interpolation method</span></p><p style="margin:0px;font:11px Menlo;color:rgb(195,55,32)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">Opt@SrcFileName = </span><span style="font-variant-ligatures:no-common-ligatures">"ECHAM5_SCRIP_bilinear.nc"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">;-- new source file name</span></p><p style="margin:0px;font:11px Menlo;color:rgb(195,55,32)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">Opt@WgtFileName = </span><span style="font-variant-ligatures:no-common-ligatures">"ECHAM5toWorldCurvilinear_bilinear.nc"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">;-- weights file</span></p><p style="margin:0px;font:11px Menlo"><span style="font-variant-ligatures:no-common-ligatures">Opt@ForceOverwrite = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">True</span><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">;-- force overwrite</span></p><p style="margin:0px;font:11px Menlo;color:rgb(195,55,32)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"><span> </span>Opt@DstFileName = </span><span style="font-variant-ligatures:no-common-ligatures">"WorldRectilinear_SCRIP_bilinear.nc"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">;-- destination file</span></p><p style="margin:0px;font:11px Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">Opt@DstGridType = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">"rectilinear"</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures">;-- Destination grid</span></p><p style="margin:0px;font:11px Menlo"><span style="font-variant-ligatures:no-common-ligatures">Opt@DstGridLon = dst_lon</span></p><p style="margin:0px;font:11px Menlo"><span style="font-variant-ligatures:no-common-ligatures">Opt@DstGridLat = dst_lat</span></p><p style="margin:0px;font:11px Menlo"><span style="font-variant-ligatures:no-common-ligatures">newgrid = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)">ESMF_regrid</span><span style="font-variant-ligatures:no-common-ligatures">(T1,Opt)</span></p><p style="margin:0px;font:11px Menlo;color:rgb(83,48,225)"><span style="font-variant-ligatures:no-common-ligatures">;newgrid<span>  </span>= f2fsh_Wrap(T1,(/190,384/))</span></p><p style="margin:0px;font:11px Menlo;color:rgb(52,187,199)"><span style="font-variant-ligatures:no-common-ligatures">printVarSummary</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> (newgrid)</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(83,48,225)">























</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)"><span style="font-variant-ligatures:no-common-ligatures">printMinMax</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">(newgrid,</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">0</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">)</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(213,59,211)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"><br></span></p></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div>