<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Katelyn,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You are using an older version of NCL (and hence ESMF_RegridWeightGen) that doesn&#39;t allow you to write NetCDF4 files, which is required in your case in order to handle the large variable size.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you can upgrade to NCL V6.2.1 or V6.3.0, then the ESMF regridding package allows you to write NetCDF4 by adding this option:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">







<p class=""><span class="">opt@NetCDFType = &quot;netcdf4&quot;</span></p><p class="">--Mary</p><p class=""><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 3:44 PM, Katelyn Watson <span dir="ltr">&lt;<a href="mailto:katelynwatson@u.boisestate.edu" target="_blank">katelynwatson@u.boisestate.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have a couple of NCL scripts I have been using to regrid data and am having trouble with a new dataset, because the intermediate files appear to be too big to write.  I was able to subset and run the scripts, but I would prefer not to.  I found some mention of this issue back in the ncl-talk archives (<a href="https://www.ncl.ucar.edu/Support/talk_archives/2014/1840.html" target="_blank">https://www.ncl.ucar.edu/Support/talk_archives/2014/1840.html</a>) and was curious if there were updates since then.  </div><div><br></div><div>I have tried including the line below, but still got the same error.  I would include the script and files, but the files are not particularly small.</div><div><br></div><div>setfileoption(&quot;nc&quot;,&quot;format&quot;,&quot;NetCDF4&quot;) <br></div><div><br></div><div>Thanks,</div><div>Katelyn</div><div><br></div><div>Output and error message:</div><div><div> Copyright (C) 1995-2014 - All Rights Reserved</div><div> University Corporation for Atmospheric Research</div><div> NCAR Command Language Version 6.2.0</div><div> The use of this software is governed by a License Agreement.</div><div> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</div><div>(0)<span style="white-space:pre-wrap">        </span>ESMF_regrid_gen_weights: number of processors used: 1</div><div>(0)<span style="white-space:pre-wrap">        </span>--------------------------------------------------</div><div>(0)<span style="white-space:pre-wrap">        </span>ESMF_regrid_gen_weights: the following command is about to be executed on the system:</div><div>(0)<span style="white-space:pre-wrap">        </span>&#39;ESMF_RegridWeightGen --source <a href="http://Daymet.SCRIP_grid_description.nc" target="_blank">Daymet.SCRIP_grid_description.nc</a> --destination <a href="http://WRF.SCRIP_grid_description.nc" target="_blank">WRF.SCRIP_grid_description.nc</a> --weight <a href="http://Daymet_to_WRF.bilinear.WgtFile.nc" target="_blank">Daymet_to_WRF.bilinear.WgtFile.nc</a> --method bilinear --src_regional --dst_regional -i&#39;</div><div>(0)<span style="white-space:pre-wrap">        </span>--------------------------------------------------</div><div>(0)<span style="white-space:pre-wrap">        </span>ESMF_regrid_gen_weights: output from &#39;ESMF_RegridWeightGen&#39;:</div><div>(0)<span style="white-space:pre-wrap">        </span>      Starting weight generation with these inputs: </div><div>(1)<span style="white-space:pre-wrap">        </span>        Source File: <a href="http://Daymet.SCRIP_grid_description.nc" target="_blank">Daymet.SCRIP_grid_description.nc</a></div><div>(2)<span style="white-space:pre-wrap">        </span>        Destination File: <a href="http://WRF.SCRIP_grid_description.nc" target="_blank">WRF.SCRIP_grid_description.nc</a></div><div>(3)<span style="white-space:pre-wrap">        </span>        Weight File: <a href="http://Daymet_to_WRF.bilinear.WgtFile.nc" target="_blank">Daymet_to_WRF.bilinear.WgtFile.nc</a></div><div>(4)<span style="white-space:pre-wrap">        </span>        Source File is in SCRIP format</div><div>(5)<span style="white-space:pre-wrap">        </span>        Source Grid is a regional grid</div><div>(6)<span style="white-space:pre-wrap">        </span>        Source Grid is a logically rectangular grid</div><div>(7)<span style="white-space:pre-wrap">        </span>        Destination File is in SCRIP format</div><div>(8)<span style="white-space:pre-wrap">        </span>        Destination Grid is a regional grid</div><div>(9)<span style="white-space:pre-wrap">        </span>        Destination Grid is a logically rectangular grid</div><div>(10)<span style="white-space:pre-wrap">        </span>        Regrid Method: bilinear</div><div>(11)<span style="white-space:pre-wrap">        </span>        Pole option: NONE</div><div>(12)<span style="white-space:pre-wrap">        </span>        Ignore unmapped destination points</div><div>(13)<span style="white-space:pre-wrap">        </span>     </div><div>(14)<span style="white-space:pre-wrap">        </span>     NetCDF Error: <a href="http://Daymet_to_WRF.bilinear.WgtFile.nc" target="_blank">Daymet_to_WRF.bilinear.WgtFile.nc</a> : NetCDF: One or more variable sizes violate format constraints</div><div>(15)<span style="white-space:pre-wrap">        </span>      ERROR: Problem on processor            0 . Please see the PET*.RegridWeightGen.Log files for a traceback.</div><div>(0)<span style="white-space:pre-wrap">        </span>--------------------------------------------------</div><div>(0)<span style="white-space:pre-wrap">        </span>ESMF_regrid_gen_weights: &#39;ESMF_RegridWeightGen&#39; was not successful.</div></div><span class="HOEnZb"><font color="#888888"><div><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Katelyn Watson<br>PhD Candidate - Geosciences<br>Boise State University<br><span><a href="mailto:katelynwatson@u.boisestate.edu" target="_blank">katelynwatson@u.boisestate.edu</a></span><br></div></div></div>
</div></font></span></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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>
<br></blockquote></div><br></div>