<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Dennis
<div class=""><br class="">
</div>
<div class="">Great that you have found the source of the problem. I had thought about using linint2_wrap; but as many other modules in the CESM model seem to use ESMF I was sticking with that.</div>
<div class=""><br class="">
</div>
<div class="">Thanks, I will wait for more news.</div>
<div class=""><br class="">
</div>
<div class="">Sarah <br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 24 Sep 2018, at 06:31, Dennis Shea <<a href="mailto:shea@ucar.edu" class="">shea@ucar.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div class="">Hi Sarah</div>
<div class=""><br class="">
</div>
<div class=""><span style="color:rgb(255,0,0)" class=""><b class="">The Bad:</b></span><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class=""><span style="color:rgb(0,0,255)" class=""><b class="">The Good:</b></span></div>
<div class="">I used<b class=""> <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_Wrap.shtml" class="">
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 class="">
</div>
<div class=""><br class="">
</div>
<div class=""><b class="">/glade/work/shea/TEST/SARAH/LININT2/<a href="http://linint2_htopo.usgs-huy3-s1d_21_30sec.nc/" class="">LININT2_HTOPO.USGS-huy3-S1D_21_30sec.nc</a></b><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">More later</div>
<div class="">D<br class="">
</div>
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Thu, Sep 20, 2018 at 8:37 AM Sarah Bradley - CITG <<a href="mailto:S.L.Bradley-1@tudelft.nl" class="">S.L.Bradley-1@tudelft.nl</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
<div style="word-wrap:break-word;line-break:after-white-space" class="">Hello
<div class=""><br class="">
</div>
<div class="">I am trying to map a 10min global file to a 30 sec grid using the ESMF mapping software</div>
<div class=""><br class="">
</div>
<div class="">I have attached my ncl script</div>
<div class=""><br class="">
</div>
<div class="">The error message I receive is: </div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)" class="">
<span class="">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)" class="">
<span class=""> 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)" class="">
<span class=""> 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)" class="">
<span class=""> 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)" class="">
<span class=""> See <a href="http://www.ncl.ucar.edu/" target="_blank" class="">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)" class="">
<span class="">(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)" class="">
<span class="">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)" class="">
<span class="">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" class="">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)" class="">
<span class="">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" class="">
<span class=""></span><br class="">
</div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)" class="">
<span class="">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" class="">
<span class=""></span><br class="">
</div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)" class="">
<span class="">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" class="">
<span class=""></span><br class="">
</div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)" class="">
<span class="">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" class="">
<span class=""></span><br class="">
</div>
<div style="margin:0px;font-size:16px;line-height:normal;font-family:Courier;background-color:rgb(255,255,255)" class="">
<span class="">fatal:["Execute.c":8640]:Execute: Error occurred at or near line 90 in file remap_10min-30sec_ESMF.ncl</span></div>
</div>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">I found that as the 30sec file was large, I needed to specify this in the script.</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">I hope you can help,</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class="">Sarah Bradley </div>
<div class=""><br class="">
</div>
<div class=""></div>
</div>
<div style="word-wrap:break-word;line-break:after-white-space" class="">
<div class=""></div>
</div>
</div>
_______________________________________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" target="_blank" class="">ncl-talk@ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class="">
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>