<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Sarah</div><div><br></div><div><span style="color:rgb(255,0,0)"><b>The Bad:</b></span><br></div><div>I think there is an issue with the ESMF regridding. I do not understand it. I may have to open a JIRA ticket.</div><div><br></div><div><span style="color:rgb(0,0,255)"><b>The Good:</b></span></div><div>I used<b> <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_Wrap.shtml">linint2_Wrap</a> </b>to create the high resolution netCDF4_Classic file. For a 21600 x 43200 grid, linint2_Wrap is VERY slow. However, The values are likely the same or very close to ESMF bilinear regridding. <br></div><div><br></div><div><b>/glade/work/shea/TEST/SARAH/LININT2/<a href="http://LININT2_HTOPO.USGS-huy3-S1D_21_30sec.nc">LININT2_HTOPO.USGS-huy3-S1D_21_30sec.nc</a></b><br></div><div><br></div><div>More later</div><div>D<br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 20, 2018 at 8:37 AM Sarah Bradley - CITG <<a href="mailto:S.L.Bradley-1@tudelft.nl">S.L.Bradley-1@tudelft.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div style="word-wrap:break-word;line-break:after-white-space">Hello
<div><br>
</div>
<div>I am trying to map a 10min global file to a 30 sec grid using the ESMF mapping software</div>
<div><br>
</div>
<div>I have attached my ncl script</div>
<div><br>
</div>
<div>The error message I receive is: </div>
<div><br>
</div>
<div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>Copyright (C) 1995-2017 - All Rights Reserved</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span> University Corporation for Atmospheric Research</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span> NCAR Command Language Version 6.4.0</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span> The use of this software is governed by a License Agreement.</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>(0)<span class="m_4896950166228486361x_Apple-tab-span" style="white-space:pre-wrap">
</span>=====> CPU Elapsed Time: rectilinear_to_SCRIP: 1.408 seconds <=====</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>ncendef: ncid 196608: NetCDF: One or more variable sizes violate format constraints</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>fatal:NetCDF: Operation not allowed in define mode: error attempting to write variable (grid_dims) to file (<a href="http://destination_grid_file.nc" target="_blank">destination_grid_file.nc</a>)</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1711 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255);min-height:19px">
<span></span><br>
</div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1847 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255);min-height:19px">
<span></span><br>
</div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 3910 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255);min-height:19px">
<span></span><br>
</div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 4051 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</span></div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255);min-height:19px">
<span></span><br>
</div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)">
<span>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 90 in file remap_10min-30sec_ESMF.ncl</span></div>
</div>
<div><span><br>
</span></div>
<div><span>I found that as the 30sec file was large, I needed to specify this in the script.</span></div>
<div><span><br>
</span></div>
<div><span>I hope you can help,</span></div>
<div><span><br>
</span></div>
<div>Sarah Bradley </div>
<div><br>
</div>
<div></div>
</div>
<div style="word-wrap:break-word;line-break:after-white-space">
<div></div>
</div>
</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><br>
</blockquote></div>