<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Mary,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">No problem. I tried a smaller domain and it works now. Apparently the domain was just too big for the memory. I tried sending the files but it was too big and my response was kicked by admin there.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks for taking a look at it.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Cheers,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Jeff</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 6:02 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></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 class="gmail_default" style="font-size:small">Jeff,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I won't get to this before I leave for the day, but to save time, I would think that inside the "do m=0,11" loop, you could set the last argument of resize_grid to True for the first iteration, and then to False for the other 11 iterations.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This will probably not fix the original problem, but I wanted to point it out for future use.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 3:06 PM, Jeff Auger <span dir="ltr"><<a href="mailto:jauger83@gmail.com" target="_blank">jauger83@gmail.com</a>></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 class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello Mary,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I attached a compressed folder including the ncl script and input file. The script is set up to produce the weights file first then once produced, change the "True" to "False" on line 206 and rerun. The goal is to regrid CCSM4 to PRISM resolution, 800m. Quite a jump, but not sure that would be the issue... I had to close the domain around the CONUS to cut down on computation time and file size. Again, not sure if that would be a problem as well. But perhaps useful information as you look it over.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Jeff</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 4:51 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></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 class="gmail_default" style="font-size:small">Hi Jeff,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This is indeed a bit obscure. This error is not coming from within NCL itself, but from the ESMF_RegridWeightGen application that NCL calls.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm afraid there's probably something fundamentally wrong with the lat/lon grid that you are either regridding from, or regridding to. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">We will need see your script, and know the details of the type of lat/lon grids you are working with as a start. If this is not a big file, then it would be even better if you could provide the full script and data so we can run it here.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, May 20, 2016 at 1:40 PM, Jeff Auger <span dir="ltr"><<a href="mailto:jauger83@gmail.com" target="_blank">jauger83@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I have run into a problem trying to produce a weights file.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><p style="margin:0px;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>ESMF_regrid_gen_weights: 'ESMF_RegridWeightGen' was not successful.</span></p></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The PET file reads:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">20160520 150737.592 INFO PET0 Running with ESMF Version 6.3.0rp1</div><div class="gmail_default">20160520 151940.816 ERROR PET0 ESMF_IOScrip.F90:1322 ESMF_OutputScripWeightFile netCDF Status Return Error</div><div class="gmail_default">20160520 151940.817 ERROR PET0 ESMF_RegridWeightGen.F90:1395 ESMF_RegridWeightGenFile Failure - Internal subroutine call returned Error</div><div><br></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I have looked at the ESMF source code but could not find what the error means within the code.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Does anyone know how to find/fix the error here?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Jeff</div></div>
<br></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>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>