<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Rick
<div class=""><br class="">
</div>
<div class="">Thank for the suggestions: However I have tried both of this choices and “Largefileformat” in the setfileoption and I still receive the same error message</div>
<div class=""><br class="">
</div>
<div class="">Sarah <br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 20 Sep 2018, at 18:17, Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" class="">brownrig@ucar.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div class="">Hi Sarah,</div>
<div class=""><br class="">
</div>
<div class="">I'm not expert at this, but it sounds like you might be writing a variable larger than 2GB?  This FAQ from Unidata specifically mentions the error message you are getting:</div>
<div class=""><br class="">
</div>
<div class="">    <a href="https://www.unidata.ucar.edu/software/netcdf/faq-lfs.html" class="">
https://www.unidata.ucar.edu/software/netcdf/faq-lfs.html</a></div>
<div class=""><br class="">
</div>
<div class="">I see you are using "NetCDF4Classic" in your setfileoption calls, and I *think* that has the 2GB limit that NetCDF3 has -- it may be the case you need to use either "NetCDF4" or "<i class="">64BitOffset</i>" instead to write large variables.</div>
<div class=""><br class="">
</div>
<div class="">Hope that helps...</div>
<div class="">Rick<br class="">
</div>
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Thu, Sep 20, 2018 at 8:37 AM, Sarah Bradley - CITG <span dir="ltr" class="">
<<a href="mailto:S.L.Bradley-1@tudelft.nl" target="_blank" class="">S.L.Bradley-1@tudelft.nl</a>></span> wrote:<br class="">
<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> <wbr class="">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_2300714720052394082x_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]:<wbr class="">Execute: Error occurred at or near line 1711 in file $NCARG_ROOT/lib/ncarg/<wbr class="">nclscripts/esmf/ESMF_<wbr class="">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]:<wbr class="">Execute: Error occurred at or near line 1847 in file $NCARG_ROOT/lib/ncarg/<wbr class="">nclscripts/esmf/ESMF_<wbr class="">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]:<wbr class="">Execute: Error occurred at or near line 3910 in file $NCARG_ROOT/lib/ncarg/<wbr class="">nclscripts/esmf/ESMF_<wbr class="">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]:<wbr class="">Execute: Error occurred at or near line 4051 in file $NCARG_ROOT/lib/ncarg/<wbr class="">nclscripts/esmf/ESMF_<wbr class="">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]:<wbr class="">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="">
______________________________<wbr class="">_________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" 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/<wbr class="">mailman/listinfo/ncl-talk</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>