<html><head><meta http-equiv="Content-Type" content="text/html charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi, all<div class=""><br class=""></div><div class="">&nbsp; &nbsp; &nbsp;I want to regrid some curvilinear data using the function "ESMF_regrid¡± , the corresponding codes were listed as below (while the&nbsp;</div><div class=""><br class=""></div><div class="">whole scripts was also attached with this mail) .</div><div class=""><br class=""></div><div class="">&nbsp; 125 &nbsp; &nbsp;printVarSummary(thetao)</div><div class="">&nbsp; 126 &nbsp; &nbsp;thetao_regrid = ESMF_regrid(thetao,Opt)</div><div class="">&nbsp; 127 &nbsp; &nbsp;printVarSummary(thetao_regrid) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( the scripts was derived from example of&nbsp;<a href="file:///Users/linx/Downloads/NCL_web/data/20140504112024/esmf_regrid_6.ncl" style="margin: 0pt; padding: 0pt; text-decoration: none; color: rgb(133, 45, 133); font-family: verdana, sans-serif; background-image: none; background-attachment: scroll; background-color: rgb(205, 232, 251); font-size: 13.200000762939453px; background-position: 0% 0%; background-repeat: repeat repeat;" class="">ESMF_regrid_6.ncl</a><span style="font-family: verdana, sans-serif; font-size: 13.200000762939453px; background-color: rgb(255, 231, 198);" class="">&nbsp;)</span></div><div class=""><br class=""></div><div class="">&nbsp;&nbsp;</div><div class="">&nbsp; &nbsp; &nbsp;However, something wrong were reported as below:</div><div class=""><br class=""></div><div class=""><div class="">Variable: thetao</div><div class="">Type: float</div><div class="">Total Size: 808704000 bytes</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 202176000 values</div><div class="">Number of Dimensions: 3</div><div class="">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[time | 1872] x [j | 300] x [i | 360]</div><div class="">Coordinates:&nbsp;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time: [675348.5..732295.5]</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; j: [0..299]</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i: [0..359]</div><div class="">Number Of Attributes: 14</div><div class="">&nbsp; lon2d :<span class="Apple-tab-span" style="white-space:pre">        </span>&lt;ARRAY of 108000 elements&gt;</div><div class="">&nbsp; lat2d :<span class="Apple-tab-span" style="white-space:pre">        </span>&lt;ARRAY of 108000 elements&gt;</div><div class="">&nbsp; standard_name :<span class="Apple-tab-span" style="white-space:pre">        </span>sea_ice_area_fraction</div><div class="">&nbsp; long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>Sea Ice Area Fraction</div><div class="">&nbsp; comment :<span class="Apple-tab-span" style="white-space:pre">        </span>fraction of grid cell covered by sea ice.</div><div class="">&nbsp; units :<span class="Apple-tab-span" style="white-space:pre">        </span>%</div><div class="">&nbsp; original_units :<span class="Apple-tab-span" style="white-space:pre">        </span>1</div><div class="">&nbsp; history :<span class="Apple-tab-span" style="white-space:pre">        </span>2012-01-17T03:16:49Z altered by CMOR: Converted units from '1' to '%'. 2012-01-17T03:16:49Z altered by CMOR: replaced missing value flag (1e+30) with standard missing value (1e+20).</div><div class="">&nbsp; cell_methods :<span class="Apple-tab-span" style="white-space:pre">        </span>time: mean</div><div class="">&nbsp; cell_measures :<span class="Apple-tab-span" style="white-space:pre">        </span>area: areacello</div><div class="">&nbsp; missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</div><div class="">&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</div><div class="">&nbsp; associated_files :<span class="Apple-tab-span" style="white-space:pre">        </span>baseURL: <a href="http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation" class="">http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation</a> gridspecFile: gridspec_seaIce_fx_ACCESS1-0_historical_r0i0p0.nc areacello: areacello_fx_ACCESS1-0_historical_r0i0p0.nc</div><div class="">&nbsp; coordinates :<span class="Apple-tab-span" style="white-space:pre">        </span>lat lon</div></div><div class=""><br class=""></div><div class="">&nbsp;fatal:Eq: Dimension size, for dimension number 0, of operands does not match, can't continue</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">fatal:["Execute.c":8575]:Execute: Error occurred at or near line 1614 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">fatal:["Execute.c":8575]:Execute: Error occurred at or near line 3853 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">fatal:["Execute.c":8575]:Execute: Error occurred at or near line 3983 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">fatal:["Execute.c":8575]:Execute: Error occurred at or near line 126 in file /Users/linx/Data/CMIP5_SIC/sic/esmf_regrid_6_sic.ncl</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">&nbsp; &nbsp; &nbsp;According the introduction of ¡°ESMF_regrid¡±, &nbsp;the ¡°thetao" can be any dimensionality. So &nbsp;I can not find out where is the problem.&nbsp;</div><div class=""><br class=""></div><div class="">Anyone can show me &nbsp;a hand? &nbsp;Thanks!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Lin&nbsp;</div><div class=""><br class=""></div><div class=""></div></body></html>