<div dir="ltr"><div>Dear sir I am trying to interpolate Reanalysis-II data to TRMM data in order to find correlation; </div><div><br></div><div>NCL Version 6.3.0</div><div>OS: UBUNTU 15.10</div><div><br></div><div>ncl_filedum <a href="http://uwnd.nc/" target="_blank">uwnd.nc</a></div><div><br></div><div><i>float lat ( lat )<br> units : degrees_north<br> actual_range : ( 14.2855, -14.2855 )<br> long_name : Latitude<br> standard_name : latitude<br> axis : Y<br> coordinate_defines : point</i></div><div><i><br></i></div><div><i> float lon ( lon )<br> units : degrees_east<br> long_name : Longitude<br> actual_range : ( 90, 123.75 )<br> standard_name : longitude<br> axis : X<br> coordinate_defines : point</i></div><div><i><br></i></div><div><i> double time ( time )<br> units : hours since 1800-1-1 00:00:0.0<br> long_name : Time<br> actual_range : ( 1753152, 1823256 )<br> delta_t : 0000-00-01 00:00:00<br> standard_name : time</i><br></div><div><br></div><div><br></div><div>Thereafter I use the following code :</div><div><br></div><div> a=addfile("/home/cee2/SV10.nc","r")</div><div><br></div><div>y=a->lat<br> u10=a<-uwnd<br> u11=u10(:,0,:,:)<br></div><div>lat2d=a->lat<br> lon2d=a->lon<br> <br> ; Global TRMM grid .... Change for the Reanalysis region <br> nlat = 400<br> mlon = 1440<br> lat = ispan(0,nlat-1,1)*0.25 - 49.875<br> lon = ispan(0,mlon-1,1)*0.25 - 179.875</div><div><br></div><div><br clear="all">lat!0 = "lat"<br> lat@units = "degrees_north"</div><div><br></div><div>; lon = fspan(-179.875, 179.875, nlon-1)<br> lon!0 = "lon"<br> lon@units = "degrees_east"</div><div><br></div><div>; regrid (bilinear)<br> wks = gsn_open_wks("png","resize") <br> rtrmm = rcm2rgrid_Wrap(lat2d,lon2d,u11,lat,lon,0)</div><div><br></div><div><b>However I get the following error :</b></div><div><br><u>fatal:Number of dimensions in parameter (0) of (rcm2rgrid_Wrap) is (1), (2) dimensions were expected<br>fatal:["Execute.c":8573]:Execute: Error occurred at or near line 24</u><br clear="all"><br>-- <br></div><div class="gmail_signature"><div dir="ltr"><font size="2" style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><span>With regards</span><span></span></font><font size="2" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0)"><span><br></span></span></font><font size="2" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0)"><span>Saurabh Kumar singh</span><span></span>
</span></font><br style="color:rgb(51,204,0)"><br><font size="1" style="color:rgb(102,102,102)"> <b><i><span lang="EN-GB" style="font-family:Webdings">P</span></i></b><b><i><span lang="EN-GB" style="font-family:Tahoma,sans-serif"> : </span></i></b><b><i><span lang="EN-GB" style="font-family:Arial,sans-serif"> </span></i></b><b><i><span lang="EN-GB" style="font-family:Tahoma,sans-serif">Please consider the environment before printing this e-mail</span></i></b> </font><br style="color:rgb(102,102,102)"><br><br><br></div></div>
</div>