[ncl-talk] Sub: Regrid error..

dale zuri dalezuri at gmail.com
Mon Nov 6 14:59:49 MST 2017


Hi NCL community,
Could someone help me understand segmentation fault error?

Thanks
DZ
begin
;;;;;;;;;;;;;;;;;ERA;;;;;;;;;;;;;;;;;;;;;;;;;;;
  iz = addfile("psa_mask_cfsv2.nc","r")
P1=iz->mask
  ds = addfile("nlwrs.sfc.gauss.1948.nc","r")
  p = ds->nlwrs
  printVarSummary(p)
;****************************************************
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;--Set up regridding options
    Opt                   = True

;---"bilinear" is the default. "patch" and "conserve" are other options.
;    Opt at InterpMethod      = "neareststod"        ;;---Change (maybe)


    Opt at SrcGridLat        = P1&lat       ; source grid
    Opt at SrcGridLon        =P1&lon
 Opt at SrcGridType    = "0.93deg"
  Opt at DstGridLat        = p&lat           ; destination grid
    Opt at DstGridLon        =p&lon
    Opt at DstRegional       = True              ;;--Change (maybe)

    Opt at ForceOverwrite    = True
    Opt at PrintTimings      = True
    Opt at Debug             = True


    P = ESMF_regrid(p,Opt)     ; Do the regridding

end

ERROR I get:

(0)    ESMF_regrid_with_weights: retrieving interpolation weights ...
(0)    ESMF_regrid_with_weights: calling sparse_matrix_mult to apply
weights...
Segmentation fault (core dumped)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171106/5ab2f48d/attachment.html>


More information about the ncl-talk mailing list