<div dir="ltr"><div><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2rgrid_Wrap.shtml"><b>http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2rgrid_Wrap.shtml</b></a></div><div><br></div><div>and <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/rcm2rgrid.shtml"><b>rcm2rgrid</b></a> require that the destination (rectilinear) grid have the coordinates  (lat[*] and lon[*])  in <b>ascending order</b>.</div><div><br></div><div>You rectilinear grid looks like it is in descending order:  <b>latitude: [49.5..-19.5]</b></div><div><b><br></b></div><div><b>f = addfile("<a href="http://EIN5.soilT.0-7cm.JJASmean.1982-2016.remap.nc" target="_blank">EIN5.soilT.0-7cm.JJASmean.1982-2016.remap.nc</a>","r")</b></div><div><b>x = f->SOIL</b></div><div><b>printVarSummary(x)</b></div><div><b>print("========")<br></b></div><div><b><br></b></div><div><b>x = x(::-1,:)    <br></b></div><div><b>printVarSummary(x)</b></div><div><div><b>print("========")</b></div></div><div><pre>  xgrd  = <strong>rcm2rgrid</strong>(lat2d,lon2d,<span style="color:rgb(0,0,255)"><b>x,x&lat,x&lon</b></span>,0)</pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 23, 2020 at 9:32 AM Dr. Suman Maity via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Barry</div><div>Thanks for your prompt reply. As you mentioned, here are the details:</div><div> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>(0)    ============Before Interpolation===========<br>Variable: t<br>Type: float<br>Total Size: 265960 bytes<br>            66490 values<br>Number of Dimensions: 2<br>Dimensions and sizes: [218] x [305]<br>Coordinates: <br>Number Of Attributes: 6<br>  _FillValue :  1e+36<br>  time :        287808<br>  levgrnd :    0.007100635417193535<br>  long_name :    soil temperature (vegetated landunits only)<br>  units : K<br>  cell_method :     time: mean<br>(0) ============After Interpolation===========<br>Variable: xgrd<br>Type: float<br>Total Size: 52080 bytes<br>            13020 values<br>Number of Dimensions: 2<br>Dimensions and sizes:        [latitude | 93] x [longitude | 140]<br>Coordinates: <br>            latitude: [49.5..-19.5]<br>            longitude: [20.25..124.5]<br>Number Of Attributes: 7<br>  _FillValue :    1e+36<br>  time :        287808<br>  levgrnd :    0.007100635417193535<br>  long_name :    soil temperature (vegetated landunits only)<br>  units : K<br>  cell_method :     time: mean<br>  ncl :    rcm2rgrid used for interpolation<br>[suman@localhost ght]$</div><div>Please reply if you need further information. I am unable to share the data as ncl community allow only 2 MB.</div><div>Thanking you once again.</div><div><br></div><div>Best</div><div>Suman</div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div>++++++++++++++++++++++++++++++++++++++++++</div><div><font size="2">Dr. Suman Maity</font></div><div><font size="2">Research Associate</font></div><div><font size="2">School of Atmospheric Science</font></div><div><font size="2">Sun Yat-sen University, Zhuhai campus,Tangjiawan Town<br></font></div><div><font size="2"> Zhuhai, Guangdong, Postcode-<span>519082,</span>China.</font></div><div><font size="2">Phone:+86-13543861045 (China), +91-9732636778 (India)<br></font></div><div><font size="2">skype: reach2suman</font></div><div><font size="2"><a href="https://www.researchgate.net/profile/Suman_Maity" target="_blank">https://www.researchgate.net/profile/Suman_Maity</a></font></div><span>++++++++++++++++++++++++++++++++++++++++++</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 23, 2020 at 8:48 PM Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello Dr. Suman Maity:<div><br></div><div>It would be helpful if you could attach printouts from your interpolation, as well as printVarSummary output of variables you are using and/or calculating during the interpolation.</div><div><br></div><div>Barry</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 23, 2020 at 5:58 PM Dr. Suman Maity via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<div>Dear All</div><div>I am facing an issue from "rcm2rgrid" which is mentioned below:</div><div>I have two netcdf file "<a href="http://temp_seltime.nc" target="_blank">temp_seltime.nc</a>" and "<a href="http://EIN5.soilT.0-7cm.JJASmean.1982-2016.remap.nc" target="_blank">EIN5.soilT.0-7cm.JJASmean.1982-2016.remap.nc</a>" and I want to interpolate "<a href="http://temp_seltime.nc" target="_blank">temp_seltime.nc</a>" to the lon/lat of 
"<a href="http://EIN5.soilT.0-7cm.JJASmean.1982-2016.remap.nc" target="_blank">EIN5.soilT.0-7cm.JJASmean.1982-2016.remap.nc</a>" for evaluation. Now "
<a href="http://temp_seltime.nc" target="_blank">temp_seltime.nc</a>"
 is an curviliear data with lat and lon information in 2D and the lat2D 
and lon2D contains some missing points. On the otherhand, 
"<a href="http://EIN5.soilT.0-7cm.JJASmean.1982-2016.remap.nc" target="_blank">EIN5.soilT.0-7cm.JJASmean.1982-2016.remap.nc</a>"
 is a normal netdf file (rectilinear grid).  Although interpolation 
doesn't through any error but the resultant plot is blank. I couldn't 
understand where I did the mistake? Please scripts and plots 
as attached.<div>Any sort of suggestion/comments are highly appreciable.</div><div>Best</div><div>Suman</div></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div>++++++++++++++++++++++++++++++++++++++++++</div><div><font size="2">Dr. Suman Maity</font></div><div><font size="2">Research Associate</font></div><div><font size="2">School of Atmospheric Science</font></div><div><font size="2">Sun Yat-sen University, Zhuhai campus,Tangjiawan Town<br></font></div><div><font size="2"> Zhuhai, Guangdong, Postcode-<span>519082,</span>China.</font></div><div><font size="2">Phone:+86-13543861045 (China), +91-9732636778 (India)<br></font></div><div><font size="2">skype: reach2suman</font></div><div><font size="2"><a href="https://www.researchgate.net/profile/Suman_Maity" target="_blank">https://www.researchgate.net/profile/Suman_Maity</a></font></div><span>++++++++++++++++++++++++++++++++++++++++++</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div>
</blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>