<div dir="ltr"><div class="gmail_default" style="font-size:small">Hello:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have been using ESMF_regrid to regrid an unstructured MPAS mesh to a latitude-longitude grid, including to regrid variable-resolution meshes (i.e. the coarse mesh has a resolution of about 30 km and the refined mesh has a resolution of about 6 km). Using the same script to regrid a variable-resolution mesh which has a resolution varying between 15 and 3 km, I get the following SIGSEGV error:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ESMF_regrid_gen_weights: number of processors used: 1</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>--------------------------------------------------</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ESMF_regrid_gen_weights: the following command is about to be executed on the system:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>'ESMF_RegridWeightGen --ignore_degenerate --src_loc corner<span class="gmail-Apple-converted-space"> </span>--source <a href="http://source.grid_onCells.6488066.CONUS.to_era_interim.nc">source.grid_onCells.6488066.CONUS.to_era_interim.nc</a> --destination <a href="http://destination.grid_onCells.6488066.CONUS.to_era_interim.nc">destination.grid_onCells.6488066.CONUS.to_era_interim.nc</a> --weight <a href="http://weights.grid_onCells.6488066.CONUS.to_era_interim.nc">weights.grid_onCells.6488066.CONUS.to_era_interim.nc</a> --src_type ESMF -i'</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>--------------------------------------------------</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">forrtl: severe (174): SIGSEGV, segmentation fault occurred</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Image<span class="gmail-Apple-converted-space"> </span>PC<span class="gmail-Apple-converted-space"> </span>Routine<span class="gmail-Apple-converted-space"> </span>Line<span class="gmail-Apple-converted-space"> </span>Source<span class="gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">ESMF_RegridWeight<span class="gmail-Apple-converted-space"> </span>0000000000428A7D<span class="gmail-Apple-converted-space"> </span>Unknown <span class="gmail-Apple-converted-space"> </span>Unknown<span class="gmail-Apple-converted-space"> </span>Unknown</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">libpthread.so.0<span class="gmail-Apple-converted-space"> </span>00007FD44D49FB00<span class="gmail-Apple-converted-space"> </span>Unknown <span class="gmail-Apple-converted-space"> </span>Unknown<span class="gmail-Apple-converted-space"> </span>Unknown</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">libesmf.so <span class="gmail-Apple-converted-space"> </span>00007FD44FEA6900<span class="gmail-Apple-converted-space"> </span>netcdf_mp_nf90_ge <span class="gmail-Apple-converted-space"> </span>Unknown<span class="gmail-Apple-converted-space"> </span>Unknown</span></p></div><div><br></div><div><br></div><div><div class="gmail_default" style="font-size:small">Since the same ncl script works for a lower resolution mesh, is it possible that ESMF_regrid does not handle a high resolution mesh?</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">Laura</div><div class="gmail_default" style="font-size:small"><br></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Laura D. Fowler </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Mesoscale and Microscale Meteorology Division (MMM) </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">National Center for Atmospheric Research<br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">P.O. Box 3000, Boulder CO 80307-3000</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">e-mail: <a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">phone: 303-497-1628</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><br></div></div></div></div>