[ncl-talk] Regridding reananlysis 2 data error (NetCDF sub sectional data)
Saurabh Singh
saurabhsingh123op at gmail.com
Wed Apr 27 12:28:54 MDT 2016
Dear sir I am trying to interpolate Reanalysis-II data to TRMM data in
order to find correlation;
NCL Version 6.3.0
OS: UBUNTU 15.10
ncl_filedum uwnd.nc
*float lat ( lat ) units : degrees_north
actual_range : ( 14.2855, -14.2855 ) long_name :
Latitude standard_name : latitude axis : Y
coordinate_defines : point*
* float lon ( lon ) units : degrees_east
long_name : Longitude actual_range : ( 90, 123.75 )
standard_name : longitude axis : X
coordinate_defines : point*
* double time ( time ) units : hours since 1800-1-1
00:00:0.0 long_name : Time actual_range : ( 1753152,
1823256 ) delta_t : 0000-00-01 00:00:00 standard_name
: time*
Thereafter I use the following code :
a=addfile("/home/cee2/SV10.nc","r")
y=a->lat
u10=a<-uwnd
u11=u10(:,0,:,:)
lat2d=a->lat
lon2d=a->lon
; Global TRMM grid .... Change for the WRF region
nlat = 400
mlon = 1440
lat = ispan(0,nlat-1,1)*0.25 - 49.875
lon = ispan(0,mlon-1,1)*0.25 - 179.875
lat!0 = "lat"
lat at units = "degrees_north"
; lon = fspan(-179.875, 179.875, nlon-1)
lon!0 = "lon"
lon at units = "degrees_east"
; regrid (bilinear)
wks = gsn_open_wks("png","resize")
rtrmm = rcm2rgrid_Wrap(lat2d,lon2d,full,lat,lon,0)
*However I get the following error :*
*fatal:Number of dimensions in parameter (0) of (rcm2rgrid_Wrap) is (1),
(2) dimensions were expectedfatal:["Execute.c":8573]:Execute: Error
occurred at or near line 24*
--
With regards
Saurabh Kumar singh
*P** : * *Please consider the environment before printing this e-mail*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160428/d1959390/attachment.html
More information about the ncl-talk
mailing list