[ncl-talk] ESMF_Regrid question
Barry Lynn
barry.h.lynn at gmail.com
Wed Sep 21 00:46:41 MDT 2016
Hi:
I am trying to regrid WRF.nc output to rectilinear coordinates.
The code stops partway through. It is strange because the code is already
curvilinear, but the regrid program seems confused because my array sizes
are equal (the code is attached below)
Working on time: 2016-01-23_12:00:00
(0) get_src_grid_info: source lat dims = (624,624)
(0) get_src_grid_info: source lon dims = (624,624)
(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: 26.0474/49.7817
(0) min/max original lon: -94.1364/-58.8636
(0) calc_SCRIP_corners_noboundaries
(0) min/max Extlat2d: 26.0071/49.8189
(0) min/max Extlon2d: -94.2034/-58.7966
(0) calc_SCRIP_corners_noboundaries
(0) min/max ExtGridCenter_lat: 26.0272/49.8003
(0) min/max ExtGridCenter_lon: -94.1699/-58.8301
(0) get_dst_grid_info: destination lat dims = (624)
(0) get_dst_grid_info: destination lon dims = (624)
(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. P*lease set
'grid_type'*
*(0) to 'rectilinear' or 'unstructured'.*
Lastly, must we really have two exact versions of the same file "a" and
"src_file?" The file "a" is the one usually processed by ncl. In a program
I received, they were named the same, but I am not sure of the implications
of this.
The name to use for the NetCDF file that will contain the needed grid
description of the destination grid. *Do NOT set this to the original file
that contains your data! This is the name of the *new* destination
description file that will get written.*
*Thank you!*
--
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581
C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160921/46b10565/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: excerpt.ncl
Type: application/octet-stream
Size: 6788 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160921/46b10565/attachment.obj
More information about the ncl-talk
mailing list