<div>Dear. </div><div> </div><div>I want to convert my unstructured file to 1x1 grid file. ( My model output is similar with the CAM-SE.)</div><div> Ex) T (time, lev, ncol) -&gt; T (time,lev,lat,lon)</div><div>Since I have a missing value in the vertical levels, I will do interpolate horizontal first, and vertical. </div><div> </div><div>As a test, I tried to run the &#39;ESMF_unstruct_to_0.25deg.ncl&#39; </div><div> </div><div>In my thinking, I have to change the missing value. </div><div>And it has a problem to generate the weighting. </div><div>Could you help this problems? </div><div> </div><div>I attached my script and bottoms are my errros. </div><div>------ </div><div> </div><div>(0)     write_grid_description: source lat dims = (86400)<br>(0)     write_grid_description: source lon dims = (86400)<br>(0)     write_grid_description: source grid type is &#39;unstructured&#39;<br>(0)     unstructured_to_ESMF: triangulating the data ... this can be slow<br>(0)     min/max ElementVertices = 0/86399<br>(0)     unstructured_to_ESMF: total number of elements created: 172796</div><div> </div><div>GCTAREA: The three input points must be distinct.</div><div>GCTAREA: The three input points must be distinct.</div><div>GCTAREA: The three input points must be distinct.</div><div>... </div><div><br>(0) unstructured_to_ESMF: Element Area: min:-1.60316e-13 max:1e+30<br>(0) write_grid_description: destination grid type is &#39;1deg&#39;<br>(0) curvilinear_to_SCRIP: calculating grid corners...<br>(0) curvilinear_to_SCRIP: no lat values are at the poles, so<br>(0)        calculating grid corners using<br>(0)        calc_SCRIP_corners_noboundaries...<br>(0) calc_SCRIP_corners_noboundaries<br>(0)      min/max original lat: -89/89<br>(0)      min/max original lon: 0/359<br>(0) calc_SCRIP_corners_noboundaries<br>(0)      min/max Extlat2d: -90/90<br>(0)      min/max Extlon2d: -1/360<br>(0) calc_SCRIP_corners_noboundaries<br>(0)      min/max ExtGridCenter_lat: -89.5/89.5<br>(0)      min/max ExtGridCenter_lon: -0.5/359.5<br>(0) ESMF_regrid_gen_weights: number of processors used: 1<br>(0) --------------------------------------------------<br>(0) ESMF_regrid_gen_weights: the following command is about to be executed on the system:<br>(0) &#39;ESMF_RegridWeightGen --source <a href="http://source_grid_file.nc">source_grid_file.nc</a> --destination <a href="http://destination_grid_file.nc">destination_grid_file.nc</a> --weight <a href="http://unstruct_to_rect.nc">unstruct_to_rect.nc</a> --method bilinear --src_type ESMF -i --64bit_offset&#39;<br>(0) --------------------------------------------------<br>sh: ESMF_RegridWeightGen: command not found<br>(0) ESMF_regrid_gen_weights: output from &#39;ESMF_RegridWeightGen&#39;:<br>(0)      missing<br>(0) --------------------------------------------------</div><div>fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function<br>fatal:[&quot;Execute.c&quot;:8128]:Execute: Error occurred at or near line 2291 in file /app/compilers/gcc/4.7.1/applib1/NCARG/6.1.2/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</div><div>fatal:[&quot;Execute.c&quot;:8128]:Execute: Error occurred at or near line 3166 in file /app/compilers/gcc/4.7.1/applib1/NCARG/6.1.2/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</div><div>fatal:[&quot;Execute.c&quot;:8128]:Execute: Error occurred at or near line 76 in file ESMF_unstruct_to_0.25deg.ncl</div><div> </div><div> </div><div> Thanks,</div><div><br clear="all"> </div><div><br>-- <br></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br> </div></div></div></div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br> </div></div></div></div>