<div dir="ltr"><div><div><div><div><div>Hi NCL community,<br></div>Could someone help me understand segmentation fault error? <br><br></div>Thanks<br></div>DZ<br>begin<br>;;;;;;;;;;;;;;;;;ERA;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>  iz = addfile("<a href="http://psa_mask_cfsv2.nc">psa_mask_cfsv2.nc</a>","r")<br>P1=iz->mask<br>  ds = addfile("<a href="http://nlwrs.sfc.gauss.1948.nc">nlwrs.sfc.gauss.1948.nc</a>","r")<br>  p = ds->nlwrs<br>  printVarSummary(p)<br>;****************************************************<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>;--Set up regridding options<br>    Opt                   = True<br><br>;---"bilinear" is the default. "patch" and "conserve" are other options.<br>;    Opt@InterpMethod      = "neareststod"        ;;---Change (maybe)<br><br><br>    Opt@SrcGridLat        = P1&lat       ; source grid<br>    Opt@SrcGridLon        =P1&lon<br> Opt@SrcGridType    = "0.93deg"<br>  Opt@DstGridLat        = p&lat           ; destination grid<br>    Opt@DstGridLon        =p&lon<br>    Opt@DstRegional       = True              ;;--Change (maybe)<br> <br>    Opt@ForceOverwrite    = True<br>    Opt@PrintTimings      = True<br>    Opt@Debug             = True<br><br><br>    P = ESMF_regrid(p,Opt)     ; Do the regridding<br><br></div>end<br><br></div>ERROR I get: <br><br>(0)    ESMF_regrid_with_weights: retrieving interpolation weights ...<br>(0)    ESMF_regrid_with_weights: calling sparse_matrix_mult to apply weights...<br>Segmentation fault (core dumped)<br></div>