[ncl-talk] error ESMF_regrid

Vanúcia Schumacher vanucia-schumacher at hotmail.com
Mon May 15 10:57:00 MDT 2017


Hi NCL users,

I am trying to interpolate a data to a resolution of 1x1, but it is returning the following error:

Thank you any collaboration

(0) get_src_grid_info: source lat dims = (120,120)
(0) get_src_grid_info: source lon dims = (120,120)
(0) get_src_grid_info: source grid type is 'curvilinear'
(0) curvilinear_to_SCRIP: calculating grid corners...
(0) curvilinear_to_SCRIP: no lat values are at the poles, so
(0)       calculating grid corners using
(0)       calc_SCRIP_corners_noboundaries...
(0) calc_SCRIP_corners_noboundaries
(0)     min/max original lat: 24.6335/89.8972
(0)     min/max original lon: -179.998/179.975
(0) calc_SCRIP_corners_noboundaries
(0)     min/max Extlat2d: 23.76/89.8972
(0)     min/max Extlon2d: -179.998/179.975
(0) calc_SCRIP_corners_noboundaries
(0)     min/max ExtGridCenter_lat: 24.1982/89.2938
(0)     min/max ExtGridCenter_lon: -179.399/179.417
(0) get_dst_grid_info: destination lat dims = (360)
(0) get_dst_grid_info: destination lon dims = (360)
(0) get_dst_grid_info: Error: the lat/lon arrays are both 1D and the same length.
(0)   This could be a rectilinear or unstructured grid. Please set 'grid_type'
(0)   to 'rectilinear' or 'unstructured'.



Variable: varSrc0
Type: float
Total Size: 323481600 bytes
            80870400 values
Number of Dimensions: 3
Dimensions and sizes: [Time | 156] x [XLAT | 720] x [XLONG | 720]
Coordinates:
            Time: [868188..981394.5]
Number Of Attributes: 6
  FieldType : 104
  MemoryOrder : XY
  description : LATENT HEAT FLUX AT THE SURFACE
  units : W m-2
  stagger :
  coordinates : XLONG XLAT

Opt                = True
Opt at SrcGridLat     = latSrc
Opt at SrcGridLon     = lonSrc
Opt at DstGridLat     = latDst
Opt at DstGridLon     = lonDst
Opt at SrcRegional    = True ; because the source grid (ASR)  is a regional grid
Opt at DstRegional    = False ; if regriddin to global; set to True if smoothing ASR
Opt at InterpMethod   = "bilinear" ; this is the default method
Opt at NoPETLog       = True
Opt at RemoveSrcFile  = True
Opt at RemoveDstFile  = True
Opt at RemoveWgtFile  = True
Opt at Debug          = True ; set this to False to make it less verbose
Opt at CopyVarCoords  = True ; if True, the lat-lon data will be attached as
Opt at ForceOverwrite = True


; Regridding function

varDst0 = ESMF_regrid(varSrc0,Opt)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170515/47105602/attachment.html 


More information about the ncl-talk mailing list